Repository navigation
refactor: Bump npm from 11.20.0 to 11.21.1 - #3497
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
Pull Request
Issue
Resolves the security advisories of the dependencies bundled in
npm11.20.0 for the development dependency tree (release tooling):brace-expansion5.0.9: GHSA-q2hr-2g5m-vwhr (medium, fixed in 5.0.12; https://github.com/parse-community/parse-dashboard/security/dependabot/460)ip-address10.5.0: GHSA-j6r3-76f7-8jcv (medium, fixed in 10.7.1; https://github.com/parse-community/parse-dashboard/security/dependabot/463), GHSA-rpw4-54j3-4h4q (medium, fixed in 10.5.1; https://github.com/parse-community/parse-dashboard/security/dependabot/454) and GHSA-2vr4-cq9g-pvrc (medium, fixed in 10.5.1; https://github.com/parse-community/parse-dashboard/security/dependabot/453)postcss-selector-parser7.1.4: GHSA-rj75-hqrm-r3gf (medium, fixed in 7.1.6; https://github.com/parse-community/parse-dashboard/security/dependabot/472)undici6.28.0: GHSA-r53p-7pc4-xj5r (low, fixed in 6.28.1; https://github.com/parse-community/parse-dashboard/security/dependabot/457)Approach
npmis required asnpm ^11.6.2by@semantic-release/npm13.1.4, and asnpm ^10.5.0by@semantic-release/npm11.0.3 inside@saithodev/semantic-release-backmerge4.0.1. The scoped override added in #3477 resolves the latter to exactly 11.20.0, so both share onenpmcopy. Because the override pins that exact version,npm update npmalone keeps 11.20.0. Following the approach of #3477, this bumps the override to 11.21.1, so both continue to share onenpm11.21.1 copy:node_modules/npm: 11.20.0 → 11.21.1, with the bundledbrace-expansion5.0.12,ip-address10.7.2,postcss-selector-parser7.1.6 andundici6.29.0node_modules/npmand its bundled dependencies.Releases will publish with
npm11.21.1. The release workflow's@semantic-release/npm13.1.4 runsnpm whoami,npm publish,npm dist-tagandnpm versionthrough the rootnode_modules/.bin/npm.Changes
npm dist-tagsupports OIDC authentication (feat(dist-tag): support OIDC authentication npm/cli#10056);@npmcli/config10.14.0allowScriptskeys withinstall-strategy=linked(fix: write registry allowScripts keys under install-strategy=linked npm/cli#10059); bundled dependency updates (brace-expansion5.0.12,ip-address10.7.2,postcss-selector-parser7.1.6,undici6.29.0,http-cache-semantics4.3.0,@npmcli/arborist9.9.3)Breaking Changes
None. The OIDC token exchange in
npm publishandnpm dist-tagonly runs when an OIDC ID token is available; the release workflow does not grantid-token: write, so both continue to authenticate withNPM_TOKEN.npm11.21.1 supports Node^20.17.0 || >=22.9.0, which includes the release workflow's Node 24.Code Changes Required
None. The change is limited to the
overridesentry inpackage.jsonand the lock file.Tasks
No tasks apply; this PR only changes development dependency resolution.
Summary by CodeRabbit