Skip to content

Upgrade package-lock.json to version 2#660

Merged
lydell merged 5 commits intomasterfrom
upgrade-package-lock
Feb 25, 2026
Merged

Upgrade package-lock.json to version 2#660
lydell merged 5 commits intomasterfrom
upgrade-package-lock

Conversation

@lydell
Copy link
Collaborator

@lydell lydell commented Feb 25, 2026

Our package-lock.json file is at version 1. Modern npm versions auto-upgrade it to version 3 whenever making a change to it. This PR first tried upgrading to version 3, without making any other changes, allowing us to make changes to package-lock.json without installing an ancient npm version first. However, that failed on older Node.js in GitHub Actions. Then I tried upgrading to version 2 instead. Then CI passes. And npm won’t try to auto-upgrade from version 2 to 3.

@lydell lydell changed the title Upgrade package-lock.json to version 3 Upgrade package-lock.json to version 2 Feb 25, 2026
@lydell lydell merged commit a3f6b00 into master Feb 25, 2026
23 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.

1 participant