Skip to content

build(deps-dev): bump prettier from 3.3.3 to 3.8.3#444

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/prettier-3.8.3
Open

build(deps-dev): bump prettier from 3.3.3 to 3.8.3#444
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/prettier-3.8.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Bumps prettier from 3.3.3 to 3.8.3.

Changelog

Sourced from prettier's changelog.

3.8.3

diff

SCSS: Prevent trailing comma in if() function (#18471 by @​kovsu)

// Input
$value: if(sass(false): 1; else: -1);
// Prettier 3.8.2
$value: if(
sass(false): 1; else: -1,
);
// Prettier 3.8.3
$value: if(sass(false): 1; else: -1);

3.8.2

diff

Angular: Support Angular v21.2 (#18722, #19034 by @​fisker)

Exhaustive typechecking with @default never;

<!-- Input -->
@switch (foo) {
  @case (1) {}
  @default never;
}
<!-- Prettier 3.8.1 -->
SyntaxError: Incomplete block "default never". If you meant to write the @ character, you should use the "&#64;" HTML entity instead. (3:3)
<!-- Prettier 3.8.2 -->
@​switch (foo) {
@​case (1) {}
@​default never;
}

arrow function and instanceof expressions.

</tr></table> 

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for prettier since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 27, 2026
@ManiruzzamanAkash ManiruzzamanAkash force-pushed the dependabot/npm_and_yarn/dev/prettier-3.8.3 branch from d14375b to d31f29f Compare May 14, 2026 03:53
Comment thread .storybook/main.ts
@@ -1,70 +1,70 @@
import type { StorybookConfig } from '@storybook/react-vite';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What: Consider using stable imports instead of dynamic imports.

Why: Dynamic imports can potentially lead to additional overhead in terms of parsing and loading the module when the function is called. This use may also introduce variability in the loading performance if the imported module is large or depends on external resources.

How: If possible, use static imports at the top of your file for modules that are known at compile time, which can improve performance and reduce complexity.

Comment thread .storybook/main.ts
addons: [
'@storybook/addon-onboarding',
'@storybook/addon-links',
'@storybook/addon-essentials',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What: Validate the handling of the 'dts' plugin removal.

Why: Removing a plugin without understanding its dependencies or implications might lead to unexpected behavior during builds. If the 'dts' plugin is needed for TypeScript functionality but not in this config, make sure this is indeed the case, or else document the reason for its removal.

How: Test the resulting configuration to ensure that TypeScript definitions are still being generated as expected, or keep the plugin if it's used in other environments or configurations.

Comment thread .storybook/main.ts
'src/utilities'
),
'@/components': path.resolve(
__dirname,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What: Check if the logic in the aliasing process needs more validation or error handling.

Why: Mapping aliases to file paths may throw errors if the paths are incorrect or missing. This could lead to runtime errors that are hard to debug.

How: Consider adding checks to ensure that the resolved paths actually exist, and log an error or throw an exception if they do not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants