Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0235eb

Browse files
watildeiarna
authored andcommitted
docs: add from field back into git dependencies
An update of the spec doc follows a change that the "from" field was returned. Refs: npm/npm#20384 PR-URL: npm/npm#20407 Credit: @watilde Reviewed-By: @zkat
1 parent fb7efac commit e0235eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/spec/package-lock.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ transitive dependency of a non-optional dependency of the top level.
107107
All optional dependencies should be included even if they're uninstallable
108108
on the current platform.
109109

110-
#### from *(deprecated)*
110+
#### from
111111

112112
This is a record of what specifier was used to originally install this
113-
package. This should not be included in new `package-lock.json` files.
113+
package. This should be used only for git dependencies.
114114

115115
#### requires
116116

0 commit comments

Comments
 (0)