Skip to content

refactor: Bump npm from 11.18.0 to 11.21.1 - #438

Merged
mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:refactor/npm-11.21.1
Oct 27, 2026
Merged

mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:refactor/npm-11.21.1

Conversation

@mtrezza

@mtrezza mtrezza commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Updates npm, a dependency of @semantic-release/npm 13.1.5 (range ^11.6.2), from 11.18.0 to 11.21.1 in package-lock.json. This is a lock-file-only change to release tooling in development scope. npm ships its dependencies bundled inside its tarball, so the vulnerable copies listed below can only change through a newer npm release. 11.21.1 is the newest npm 11.x release.

Security

Bundled packages that change, and the Dependabot alerts each one resolves:

Bundled package Version Alerts resolved
ip-address 10.2.0 → 10.7.2 88 (high, GHSA-mwp4-54f8-5fhr), 80 (medium, GHSA-22jq-vg5j-6vgg), 81 (medium, GHSA-4xrf-jv44-h6hh), 94 (medium, GHSA-2vr4-cq9g-pvrc), 97 (medium, GHSA-rpw4-54j3-4h4q), 110 (medium, GHSA-j6r3-76f7-8jcv); auto-dismissed: 119 (medium, GHSA-h3mg-xc3c-68pw)
http-cache-semantics 4.2.0 → 4.3.0 111 (high, GHSA-ch52-4w7c-c8xp), see note below
undici 6.27.0 → 6.29.0 89 (medium, GHSA-8xcm-r25x-g524), 90 (medium, GHSA-m8rv-5g2x-5cg5), 91 (medium, GHSA-v3r7-h72x-cjcm), 117 (low, GHSA-r53p-7pc4-xj5r); auto-dismissed: 96 (medium, GHSA-3wwx-pv8p-q78v), 107 (high, GHSA-rfgv-xxqx-mfg5)
brace-expansion 5.0.7 → 5.0.12 118 (medium, GHSA-q2hr-2g5m-vwhr); auto-dismissed: 79 (high, GHSA-mh99-v99m-4gvg), 87 (high, GHSA-rgw5-rvv9-x895), 108 (high, GHSA-6j4f-fj2g-mc7p), 109 (high, GHSA-qhr7-859c-m2p7)
tar 7.5.19 → 7.5.22 auto-dismissed: 78 (high, GHSA-r292-9mhp-454m)

Note on http-cache-semantics: GHSA-ch52-4w7c-c8xp lists the affected range as <= 4.2.0 with no patched version, so alert 111 closes only because 4.3.0 is outside that range. 4.3.0 does not change the max-stale handling that the advisory describes. The maintainer disputes the report (kornelski/http-cache-semantics#56, marked as not planned), and the advisory is under dispute (github/advisory-database#10139).

Remaining alerts: npm 11.21.1 still bundles undici 6.29.0 and ip-address 10.7.2, so these alerts still apply after this change:

They need an npm 11.x release that bundles patched copies. npm 12 is outside the ^11.6.2 range of @semantic-release/npm.

Changes

The lock diff is limited to npm and these bundled entries: @npmcli/arborist 9.9.0 → 9.9.3, @npmcli/config 10.12.0 → 10.14.0, brace-expansion 5.0.7 → 5.0.12, http-cache-semantics 4.2.0 → 4.3.0, ip-address 10.2.0 → 10.7.2, libnpmdiff 8.1.11 → 8.1.14, libnpmexec 10.3.1 → 10.3.4, libnpmfund 7.0.25 → 7.0.28, libnpmpack 9.1.11 → 9.1.15, libnpmpublish 11.2.0 → 11.2.1, postcss-selector-parser 7.1.4 → 7.1.6, tar 7.5.19 → 7.5.22, undici 6.27.0 → 6.29.0.

Impact

  • Development scope only: npm ls npm --omit=dev is empty. The dependency path is semantic-release 25.0.3 → @semantic-release/npm 13.1.5 → npm.
  • npm's engines is unchanged (^20.17.0 || >=22.9.0), and the release workflow uses Node 22.
  • The bundled brace-expansion 5.0.12 narrows its engines from 18 || 20 || >=22 to 20 || >=22. This has no effect: npm itself already requires ^20.17.0 || >=22.9.0, the repository has no engines.node, and the release workflow runs Node 22.
  • release.config.js sets @semantic-release/npm to npmPublish: false, so the bundled npm CLI runs only as npm version <version> --userconfig <npmrc> --no-git-tag-version --allow-same-version in the release prepare step. That call produced byte-identical package.json and package-lock.json with npm 11.18.0 and 11.21.1 on this repository. lib/commands/version.js and libnpmversion are unchanged between the two versions.
  • The alerted bundled packages are used by npm's network, proxy, native build, glob and tarball code (make-fetch-happen, socks, node-gyp, minimatch, tar), which npm version does not use.
  • The ci workflow does not install npm dependencies. The lock is installed by release-automated (npm ci) after merge. npm ci --ignore-scripts with this lock succeeds locally, and the installed bundled versions match the lock.

Breaking Changes

None

Code Changes Required

None. The upgrade is a drop-in replacement.

Summary by CodeRabbit

  • Chores
    • Updated the bundled npm version and refreshed its packaged dependencies.
    • The bundled dependency requirements no longer include Node 18.

@parse-github-assistant

Copy link
Copy Markdown

🚀 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.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 03a6805b-baed-415a-9e0a-eae88a1e54f4
Commits

Reviewing files that changed from the base of the PR and between 9b81a48 and ac6c985.

Files selected for processing: 1
  • package-lock.json

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Walkthrough

The lockfile updates npm from 11.18.0 to 11.21.1 and refreshes selected bundled dependencies. The brace-expansion engine range no longer includes Node 18.

Changes: npm dependency update

Layer / File(s) Summary
Update npm and bundled dependencies
package-lock.json
The lockfile updates npm and selected bundled package versions, adjusts declared dependency ranges, and removes Node 18 from the brace-expansion engine range.

Priority: Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Merge Risk: Minimal · up to ac6c9

This change updates the npm version bundled in the release tooling lockfile and introduces no runtime behavior change to the shipped SDK. Two bundled packages still have newer fixes available, but the release path does not appear to supply the inputs needed to trigger them, so no merge-blocking risk remains.

Pre-merge checks: Passed 6
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title begins with the allowed prefix "refactor:" and uses a capitalized first letter in "Bump." It accurately describes the npm version update in the lockfile.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Security Check Passed The pull request changes only package-lock.json and updates the bundled npm package from 11.18.0 to 11.21.1. The changed bundled versions are upgrades, not newly introduced application code or dow…
Engage In Review Feedback Passed No review feedback comments were returned, and the current review produced zero actionable findings. Therefore, there was no feedback for the user to ignore, resolve, implement, or discuss.
Full details: Security Check

Explanation

The pull request changes only package-lock.json and updates the bundled npm package from 11.18.0 to 11.21.1. The changed bundled versions are upgrades, not newly introduced application code or downgraded dependencies. The lockfile marks npm and all changed bundled packages as development dependencies. No changed code pattern introduces a security vulnerability.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.54%. Comparing base (9b81a48) to head (ac6c985).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #438   +/-   ##
=======================================
  Coverage   46.54%   46.54%           
=======================================
  Files         106      106           
  Lines        6196     6196           
  Branches      950      950           
=======================================
  Hits         2884     2884           
  Misses       3004     3004           
  Partials      308      308           

☔ 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.

@mtrezza
mtrezza merged commit e2300d7 into parse-community:master Oct 27, 2026
6 checks passed
@mtrezza
mtrezza deleted the refactor/npm-11.21.1 branch October 27, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant