GeezerVison is showing github.com — refactor: Bump npm from 11.18.0 to 11.20.0, brace-expansion from 1.1.12 to 1.1.21, brace-expansion from 5.0.5 to 5.0.12 and js-yaml from 4.1.0 to 4.3.2 by mtrezza · Pull Request #616 · parse-community/parse-server-push-adapter
Conversation
Issue
Resolves 13 of the open Dependabot security alerts, all in the development dependency tree:
ip-address (bundled in npm): 228 GHSA-mwp4-54f8-5fhr (high, fixed in 10.3.1), 222 GHSA-4xrf-jv44-h6hh (medium, fixed in 10.2.2), 221 GHSA-22jq-vg5j-6vgg (medium, fixed in 10.2.1)
undici (bundled in npm): 231 GHSA-v3r7-h72x-cjcm, 230 GHSA-8xcm-r25x-g524, 229 GHSA-m8rv-5g2x-5cg5 (all medium, fixed in 6.28.0)
brace-expansion: 212 and 209 GHSA-3jxr-9vmj-r5cp (high, fixed in 1.1.16 and 5.0.7)
js-yaml 4.x: 237 GHSA-2883-xcg3-v3hh (high, fixed in 4.3.2), 232 GHSA-5p4m-2wfm-xmqj (high, fixed in 4.3.1), 210 GHSA-52cp-r559-cp3m (high, fixed in 4.3.0), 203 GHSA-h67p-54hq-rp68 (medium, fixed in 4.2.0), 80 GHSA-mh29-5h37-fv8m (medium, fixed in 4.1.1)
Not addressed here: the js-yaml 3.x alerts remain, because js-yaml 3.14.1 is pinned exactly by codecov 3.8.3, which is the latest (deprecated) release. The runtime uuid and @tootallnate/once alerts are also out of scope.
Approach
Lock-file-only update via npm update npm brace-expansion js-yaml. npm bundles its own dependencies, so the bundled ip-address and undici can only change by changing the npm version. All affected packages are development-only; the production dependency tree is unchanged.
node_modules/npm (required as npm ^11.6.2 by @semantic-release/npm 13.1.5): 11.18.0 → 11.20.0, bundled ip-address 10.2.0 → 10.5.0, undici 6.27.0 → 6.28.0, brace-expansion 5.0.7 → 5.0.9, tar 7.5.19 → 7.5.22, plus the npm workspace packages (@npmcli/arborist, @npmcli/config, libnpm*)
node_modules/brace-expansion (required as ^1.1.7 by minimatch 3.1.5 under codecov): 1.1.12 → 1.1.21
brace-expansion under @eslint/config-array, eslint, test-exclude (5.0.5) and glob (5.0.2), each required as ^5.0.2 or ^5.0.5 by minimatch 10.x: → 5.0.12
node_modules/cosmiconfig/node_modules/js-yaml (required as ^4.1.0 by cosmiconfig 9.0.0 under semantic-release): 4.1.0 → 4.3.2
Changes
- npm 11.19.0:
install-scripts warning log title; pack honors min-release-age-exclude; owner uses the scoped registry for user lookup
- npm 11.19.1: Bundles
undici 6.28.0, ip-address 10.5.0, brace-expansion 5.0.9 and tar 7.5.22 (deps: update vulnerable transitive dependencies npm/cli#9872, deps: [email protected] npm/cli#9842); explicit pack targets are exempt from allow-directory
- npm 11.20.0: Support for stage-only granular access tokens and
npm stage status output; provenance-file takes precedence over OIDC auto-generated provenance; further bug fixes (fix: provenance-file takes precedence over OIDC auto-generated provenance npm/cli#9947, fix(config): avoid exporting persistent allow-scripts npm/cli#9937, fix(arborist): reject uninstall args that carry a version npm/cli#9930, fix(arborist): match allowScripts keys for local paths npm/cli#9929, fix: keep dry-run output valid json npm/cli#9928, fix: don't print the funding message for global installs npm/cli#9927)
- brace-expansion 1.1.13 – 1.1.21: Backported DoS fixes for zero-step sequences (GHSA-f886-m6hf-6m8v), consecutive non-expanding
{} groups (GHSA-3jxr-9vmj-r5cp), unbounded expansion length (GHSA-mh99-v99m-4gvg) and unbounded intermediate arrays (GHSA-rgw5-rvv9-x895), plus an opt-in max option (Add opt-in { max } mitigation to v1 legacy line juliangruber/brace-expansion#103) and further security fixes
- brace-expansion 5.0.3 – 5.0.12: Fixed handling of brackets (5.0.4), DoS fixes (GHSA-f886-m6hf-6m8v, GHSA-jxxr-4gwj-5jf2, GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895) and further security fixes; removed Node.js 18 from
engines (5.0.8, Remove Node.js 18 support juliangruber/brace-expansion#110)
- js-yaml 4.1.1: Fixed prototype pollution in the merge (
<<) operator
- js-yaml 4.2.0: Added
maxDepth (100) loader option, fixed quadratic complexity in merge, stopped resolving numbers with underscores as numeric scalars (Parsing numbers according to YAML 1.2 nodeca/js-yaml#627), and several parser fixes
- js-yaml 4.3.0 – 4.3.2: Added
maxTotalMergeKeys (10000) loader option, removed quadratic complexity from !!omap duplicate key detection, hard-limited merge sequence size to 100 and counted empty mappings toward maxTotalMergeKeys
Breaking Changes
None. All bumps are patch or minor releases. npm 11.20.0 has the same engines.node range as 11.18.0 (^20.17.0 || >=22.9.0) and is only used by @semantic-release/npm in the release workflow (Node.js 24). brace-expansion 5.0.8+ requires Node.js 20 || >=22, which matches this package's engines.node (20 || 22 || 24) and the CI matrix. The js-yaml 4.x copy is only used by cosmiconfig to load the semantic-release config, which is .releaserc.js, so the changed number resolution in 4.2.0 does not apply.
Code Changes Required
None — the upgrade is a drop-in replacement.
Tasks
No tasks apply; this PR only updates the lock file.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…12 to 1.1.21, brace-expansion from 5.0.5 to 5.0.12 and js-yaml from 4.1.0 to 4.3.2
|
🚀 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
- Keep pull requests small. Large PRs will be rejected. Break complex features into smaller, incremental PRs.
- Use Test Driven Development. Write failing tests before implementing functionality. Ensure tests pass.
- Group code into logical blocks. Add a short comment before each block to explain its purpose.
- We offer conceptual guidance. Coding is up to you. PRs must be merge-ready for human review.
- Our review focuses on concept, not quality. PRs with code issues will be rejected. Use an AI agent.
- Human review time is precious. Avoid review ping-pong. Inspect and test your AI-generated code.
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
- Ask an admin to enable usage-based reviews
Open in CodeRabbit
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.
Next included review available in 33 minutes.
Check out review usage here.
View limit details
Limit details: You’ve used the included review currently available. Your 65 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.
The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.
Learn how review limits work.
Review configuration:
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Essentials
Run ID: 97e07c0d-4634-4292-876a-b663cf4cada1
📥 Commits
Reviewing files that changed from the base of the PR and between 3eb1cf7 and 9c78ef3.
📒 Files selected for processing (1)
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.18%. Comparing base (3eb1cf7) to head (9c78ef3).
Additional details and impacted files
@@ Coverage Diff @@
## master #616 +/- ##
=======================================
Coverage 99.18% 99.18%
=======================================
Files 11 11
Lines 1841 1841
=======================================
Hits 1826 1826
Misses 15 15
☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
🎉 This change has been released in version 8.5.6
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|