Make WordPress Core

Opened 10 months ago

Last modified 9 months ago

#52951 new enhancement

Update package lock file to v2 format

Reported by: desrosj Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:


Version 7 of NPM was released on February 2, 2021.

This version includes significant performance improvements, and several new features.

One main feature included in NPM 7 is a new v2 format for package-lock.json files. Running npm install using NPM 7 will result in the lock file being upgraded to the v2 format. Since the v2 format is backwards compatible, the lock file should be updated to use this new format.

More information on the features and changes in v7.x: https://github.blog/2020-10-13-presenting-v7-0-0-of-the-npm-cli/.
More information on the breaking changes in v7.x: https://blog.npmjs.org/post/626173315965468672/npm-v7-series-beta-release-and-semver-major.

Change History (3)

This ticket was mentioned in PR #1146 on WordPress/wordpress-develop by desrosj.

10 months ago

  • Keywords has-patch added

This is backwards compatible with NPM version 6.x.

Trac ticket: https://core.trac.wordpress.org/ticket/52951

#2 @prbot
10 months ago

desrosj commented on PR #1146:

Bleh that is a bummer. @tellthemachines Let's wait and update both Gutenberg and Core at the same time when that bug is fixed. Though we don't have any packages pulled from GitHub in Core, it would be better to have consistency, IMO!

#3 @desrosj
9 months ago

  • Milestone changed from 5.8 to Future Release

Going to move this to Future Release for now.

Note: See TracTickets for help on using tickets.