Skip to content

Bump npm version from 10.9.3 to 11.6.2 latest#13476

Merged
thavaahariharangit merged 1 commit into
mainfrom
harry/harry/bump-npm-version-to-latest
Nov 5, 2025
Merged

Bump npm version from 10.9.3 to 11.6.2 latest#13476
thavaahariharangit merged 1 commit into
mainfrom
harry/harry/bump-npm-version-to-latest

Conversation

@thavaahariharangit
Copy link
Copy Markdown
Contributor

@thavaahariharangit thavaahariharangit commented Nov 5, 2025

What are you trying to accomplish?

Updating npm version from 10.9.3 to 11.6.2 latest

Anything you want to highlight for special attention from reviewers?

By pre-installing npm@11.6.2 in the Docker build stage, we avoid corepack's automatic attempt to fetch and install the latest npm version when the updater runs.

How will you know you've accomplished your goal?

Previously, corepack would attempt to install npm@latest during updater execution, which could fail due to signature verification issues with private registries. This change ensures the desired npm version is already available in the container, eliminating that runtime dependency.

Ensured all the CI runs succeed.

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

@thavaahariharangit thavaahariharangit requested a review from a team as a code owner November 5, 2025 14:37
@thavaahariharangit thavaahariharangit merged commit 9719e70 into main Nov 5, 2025
88 checks passed
@thavaahariharangit thavaahariharangit deleted the harry/harry/bump-npm-version-to-latest branch November 5, 2025 15:03
Comment thread npm_and_yarn/Dockerfile
# This version should be compatible with the NODEJS_VERSION version declared above. See https://nodejs.org/en/download/releases as well
# With every major release update, also update npm_and_yarn/lib/dependabot/npm_and_yarn/npm_package_manager.rb (Section : Update instructions)
ARG NPM_VERSION=10.9.3
ARG NPM_VERSION=11.6.2
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are we sure that Node 22 supports NPM 11?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also, did you mean to update

NPM_V6 = "6"
NPM_V7 = "7"
NPM_V8 = "8"
NPM_V9 = "9"
NPM_V10 = "10"
as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @yeikel, I am working on this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please keep me posted/tag me if you can. Thank you!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@yeikel #13482 review pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants