Skip to content

Switch package-lock.json to lockfile version 3.#2989

Merged
Alex-Jordan merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:lockfile-version-3
May 27, 2026
Merged

Switch package-lock.json to lockfile version 3.#2989
Alex-Jordan merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:lockfile-version-3

Conversation

@drgrice1
Copy link
Copy Markdown
Member

Lockfile version 3 has been supported since node version 18 (and npm version 7). So there is no need to stay with lockfile version 2 anymore. The only real change it seems is that the dependencies section is removed. This means that the file is about 1500 lines shorter!

Lockfile version 3 has been supported since node version 18 (and npm
version 7).  So there is no need to stay with lockfile version 2
anymore. The only real change it seems is that the `dependencies`
section is removed. This means that the file is about 1500 lines
shorter!
Copy link
Copy Markdown
Contributor

@somiaj somiaj left a comment

Choose a reason for hiding this comment

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

fwiw outside of the warnings node 20 is still working.

@Alex-Jordan Alex-Jordan merged commit d2cf4e2 into openwebwork:WeBWorK-2.21 May 27, 2026
2 checks passed
@drgrice1
Copy link
Copy Markdown
Member Author

Yeah, node 20 supports lockfile version 3 too.

@drgrice1 drgrice1 deleted the lockfile-version-3 branch May 27, 2026 18:47
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.

3 participants