You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node.js v14 includes npm 6.14.15 which writes package-lock.json with lockfileVersion@1 format.
Node.js v16 includes npm 8.1.2 which writes package-lock.json with lockfileVersion@2 format.
Changing versions is noisy. Node.js v14 is still in LTS but now in maintenance mode.
I am leaning towards switching to lockfileVersion@2 for Commander v9 so more convenient to develop Commander with Node.js v16 installed?
Installing using old lock file and new npm:
my-fork % n lts
installed : v16.13.1 (with npm 8.1.2)
my-fork % npm install
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
changed 1 package, and audited 696 packages in 10s
94 packages are looking for funding
run `npm fund` for details
7 moderate severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
Installing using new lock file and old npm:
my-fork % n 14
installed : v14.18.2 (with npm 6.14.15)
my-fork % npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
updated 1 package and audited 696 packages in 3.862s
94 packages are looking for funding
run `npm fund` for details
found 18 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
The text was updated successfully, but these errors were encountered:
Node.js v14 includes npm 6.14.15 which writes
package-lock.json
withlockfileVersion@1
format.Node.js v16 includes npm 8.1.2 which writes
package-lock.json
withlockfileVersion@2
format.Changing versions is noisy. Node.js v14 is still in LTS but now in maintenance mode.
I am leaning towards switching to
lockfileVersion@2
for Commander v9 so more convenient to develop Commander with Node.js v16 installed?Installing using old lock file and new npm:
Installing using new lock file and old npm:
The text was updated successfully, but these errors were encountered: