Skip to content

Update npm to 11.21.2 - #6084

Merged
knolleary merged 1 commit into
node-red:mainfrom
bitshape:claude/npm-11.21.2
Nov 13, 2026
Merged

knolleary merged 1 commit into
node-red:mainfrom
bitshape:claude/npm-11.21.2

Conversation

@bitshape

Copy link
Copy Markdown
Contributor
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Node-RED pins npm to 11.21.1 in the root package.json and in @node-red/registry, which runs this bundled npm (installer.js, externalModules.js) to install palette and external modules. npm 11.21.1 bundles copies of ip-address and undici with known advisories. npm 11.21.2 (released 2026-11-04) bundles fixed versions:

Bundled package 11.21.1 11.21.2 Advisories fixed
ip-address 10.7.2 10.7.5 GHSA-rxp7-6hxx-x8q5
undici 6.29.0 6.29.1 GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm, GHSA-9fm3-97px-rjf6

Changes:

  • package.json and packages/node_modules/@node-red/registry/package.json: npm 11.21.1 → 11.21.2.
  • package-lock.json: regenerated with npm 11 (npm install --package-lock-only). Only the npm entry and its bundled packages change.

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

Testing, in Docker (node:22-bookworm and node:24-bookworm), on a fresh copy of the branch:

  • npm ci succeeds. The installed node_modules/npm is 11.21.2, bundling ip-address 10.7.5 and undici 6.29.1.
  • test/unit/@node-red/registry/**/*_spec.js: 157 passing, 13 pending, on both Node versions.
  • Installing a palette module (node-red-contrib-moment) with node_modules/npm/bin/npm-cli.js works.
  • Full npm run test after npm ci on Node 24: 3116 passing, 58 pending, 0 failing.

No new tests are added, because this is a dependency-only change.

AI disclosure: I used an AI coding assistant (Claude Code) to find this, make the change, run the tests in Docker and draft this description. I reviewed the diff and the results myself.

npm 11.21.1 bundles ip-address 10.7.2 and undici 6.29.0. npm 11.21.2
bundles ip-address 10.7.5 and undici 6.29.1, which fix GHSA-rxp7-6hxx-x8q5
(ip-address) and GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm and
GHSA-9fm3-97px-rjf6 (undici). The registry uses this bundled npm to install
palette modules.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: bitshape / name: Anton Dubyna (92824ab)

@knolleary

Copy link
Copy Markdown
Member

/easycla

@knolleary
knolleary merged commit e4f7fc5 into node-red:main Nov 13, 2026
3 checks passed
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.

2 participants