Skip to content

build(deps): bump prettier from 3.6.2 to 3.7.1#506

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/prettier-3.7.1
Closed

build(deps): bump prettier from 3.6.2 to 3.7.1#506
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/prettier-3.7.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 27, 2025

Bumps prettier from 3.6.2 to 3.7.1.

Release notes

Sourced from prettier's releases.

3.7.1

🔗 Changelog

3.7.0

diff

🔗 Release note

Changelog

Sourced from prettier's changelog.

3.7.1

diff

API: Fix performance regression in doc printer (#18342 by @​fisker)

Prettier 3.7.0 can be very slow when formatting big files, the regression has been fixed.

3.7.0

diff

🔗 Release Notes

Commits
  • 47c40b3 Release 3.7.1
  • 99df071 Release @prettier/plugin-hermes & @prettier/plugin-oxc v0.1.1
  • d147f67 Fix performance regression in doc printer (#18342)
  • 1fe6a12 Git blame ignore 3.7.0
  • 3a098e3 Bump Prettier dependency to 3.7.0
  • c4905e5 Clean changelog_unreleased
  • 43236e2 Add blog post for v3.7 (#18323)
  • 8147ddd Release 3.7.0
  • 8a59916 Release @​prettier/plugin-hermes & @​prettier/plugin-oxc v0.1.0
  • b77751e chore(deps): update dependency @​angular/compiler to v21.0.1 (#18334)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [prettier](https://github.com/prettier/prettier) from 3.6.2 to 3.7.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.6.2...3.7.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 27, 2025
@dependabot dependabot bot requested a review from a team as a code owner November 27, 2025 17:01
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 27, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

@dependabot merge

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 27, 2025

Beginning January 27, 2026, Dependabot will no longer support the @dependabot merge command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 27, 2025

Sorry, only users with push access can use that command.

Copy link

@codacy-production codacy-production bot left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Dependency bump of Prettier from 3.6.2 to 3.7.1. Codacy flagged a security pattern for variant package versioning in package.json (^3.6.2^3.7.1). No other Codacy issues or test/coverage deltas reported. The changelog indicates a performance regression fix in the doc printer; prioritize verifying formatting-related CI and any repository tooling that depends on Prettier’s binary/API.

About this PR

Run formatting and linting CI jobs (and any pre-commit hooks) against the new Prettier to detect formatting diffs or integration issues early — the change could affect large files tooling due to the doc printer fix.
High risk | High confidence

This upgrade addresses a performance regression in Prettier’s doc printer (good), but the package.json uses a caret range (^3.7.1) which can allow minor/patch drift. Consider pinning to an exact version or relying on lockfile + CI to control updates for reproducible builds.
Medium risk | High confidence

Low confidence findings

If you publish or use Prettier programmatically (e.g., CI scripts invoking Prettier API), run end-to-end checks on representative large files to ensure the performance regression is resolved in your environment.
Medium risk | Medium confidence


💡 Codacy uses AI. Check for mistakes.

"postcss-styled-syntax": "^0.7.1",
"postcss-syntax": "^0.36.2",
"prettier": "^3.6.2",
"prettier": "^3.7.1",

Choose a reason for hiding this comment

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

[Suggestion] Codacy found a security pattern: dependency specified with a variant version. In package.json the Prettier entry was changed to "prettier": "^3.7.1". Prefer pinning ("3.7.1") or ensuring lockfile is authoritative to avoid accidental upgrades/hijack risks.

Medium risk | Medium confidence


See Issue in Codacy

Comment on lines +1864 to +1866
"version": "3.7.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.1.tgz",
"integrity": "sha512-RWKXE4qB3u5Z6yz7omJkjWwmTfLdcbv44jUVHC5NpfXwFGzvpQM798FGv/6WNK879tc+Cn0AAyherCl1KjbyZQ==",

Choose a reason for hiding this comment

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

[Suggestion] package-lock.json updated to reference Prettier 3.7.1 with integrity metadata — ensure CI uses lockfile (npm ci) so the exact version and integrity are enforced rather than relying on the caret in package.json.

Low risk | Low confidence

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 1, 2025

Superseded by #508.

@dependabot dependabot bot closed this Dec 1, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prettier-3.7.1 branch December 1, 2025 18:29
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