Skip to content

Commit

Permalink
docs: add from field back into git dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
watilde authored and iarna committed May 5, 2018
1 parent fb7efac commit e0235eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/spec/package-lock.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ transitive dependency of a non-optional dependency of the top level.
All optional dependencies should be included even if they're uninstallable
on the current platform.

#### from *(deprecated)*
#### from

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

#### requires

Expand Down

0 comments on commit e0235eb

Please sign in to comment.