Commit 2695e1f 1 parent 962a12e commit 2695e1f Copy full SHA for 2695e1f
File tree 1 file changed +3
-6
lines changed
docs/lib/content/configuring-npm
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,9 @@ the npm registry. Lockfiles generated by npm v7 will contain
112
112
* No version provided: an "ancient" shrinkwrap file from a version of npm
113
113
prior to npm v5.
114
114
* ` 1 ` : The lockfile version used by npm v5 and v6.
115
- * ` 2 ` : The lockfile version used by npm v7, which is backwards compatible
116
- to v1 lockfiles.
117
- * ` 3 ` : The lockfile version used by npm v7, _ without_ backwards
118
- compatibility affordances. This is used for the hidden lockfile at
119
- ` node_modules/.package-lock.json ` , and will likely be used in a future
120
- version of npm, once support for npm v6 is no longer relevant.
115
+ * ` 2 ` : The lockfile version used by npm v7 and v8. Backwards compatible to v1
116
+ lockfiles.
117
+ * ` 3 ` : The lockfile version used by npm v9. Backwards compatible to npm v7.
121
118
122
119
npm will always attempt to get whatever data it can out of a lockfile, even
123
120
if it is not a version that it was designed to support.
You can’t perform that action at this time.
0 commit comments