Skip to content

chore(deps-dev): bump npm from 11.6.2 to 11.12.1#29507

Merged
caugner merged 2 commits intomainfrom
bump-npm
Apr 20, 2026
Merged

chore(deps-dev): bump npm from 11.6.2 to 11.12.1#29507
caugner merged 2 commits intomainfrom
bump-npm

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Apr 17, 2026

Summary

Bumps npm from 11.6.2 to 11.12.1, and requires npm 11.8.0 or later, to avoid accidental package-lock.json changes by contributors (npm 11.6.2 and 11.8.0 produce different lock files, due to a bug in npm 11.6.2).

Test results and supporting details

Note: Unlike mdn/content#42778, I'm not bumping the Node version in .nvmrc, because nvm install / nvm use already install the latest version matching the version constraint by default.

Related issues

Triggered by #29474 (comment).

Essentially the same as mdn/content#42778.

Also require npm 11.8.0 or later.
@caugner caugner requested review from a team and mdn-bot as code owners April 17, 2026 19:55
@caugner caugner requested a review from LeoMcA April 17, 2026 19:55
@github-actions github-actions bot added infra Infrastructure issues (npm, GitHub Actions, releases) of this project dependencies Pull requests that update a dependency package or file. labels Apr 17, 2026
@github-actions github-actions bot added the size:s [PR only] 7-24 LoC changed label Apr 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 17, 2026

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Copy link
Copy Markdown
Member

@LeoMcA LeoMcA left a comment

Choose a reason for hiding this comment

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

I'm not bumping the Node version in .nvmrc, because nvm install / nvm use already install the latest version matching the version constraint by default.

I believe nvm use will use an outdated version (matching the version constraint), if nvm install isn't re-run (which is a rare thing for me to do).

@caugner
Copy link
Copy Markdown
Contributor Author

caugner commented Apr 20, 2026

I'm not bumping the Node version in .nvmrc, because nvm install / nvm use already install the latest version matching the version constraint by default.

I believe nvm use will use an outdated version (matching the version constraint), if nvm install isn't re-run (which is a rare thing for me to do).

Good point, I will push a commit that references the latest Node v24 version explicitly.

@caugner caugner merged commit c85467d into main Apr 20, 2026
16 checks passed
@caugner caugner deleted the bump-npm branch April 20, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency package or file. infra Infrastructure issues (npm, GitHub Actions, releases) of this project size:s [PR only] 7-24 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants