diff options
author | Kat Marchán <kzm@zkat.tech> | 2019-01-29 14:43:00 -0800 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2019-05-16 14:57:00 -0400 |
commit | d2413d630ccc6e75d956e44c28d2952a438c71a2 (patch) | |
tree | 115e9f3a144480b00b5d6d6df905ea85aa9bf84e /deps/npm/node_modules/npm-pick-manifest/README.md | |
parent | e880904d22e8858bed2e5d33d21a08ca0e273d64 (diff) | |
download | node-new-d2413d630ccc6e75d956e44c28d2952a438c71a2.tar.gz |
deps: upgrade npm to 6.7.0
PR-URL: https://github.com/nodejs/node/pull/25804
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/npm-pick-manifest/README.md')
-rw-r--r-- | deps/npm/node_modules/npm-pick-manifest/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/npm/node_modules/npm-pick-manifest/README.md b/deps/npm/node_modules/npm-pick-manifest/README.md index 206af2f317..a9a027bfcb 100644 --- a/deps/npm/node_modules/npm-pick-manifest/README.md +++ b/deps/npm/node_modules/npm-pick-manifest/README.md @@ -74,3 +74,11 @@ The function will throw `ETARGET` if there was no matching manifest, and If `opts.defaultTag` is provided, it will be used instead of `latest`. That is, if that tag matches the selector, it will be used, even if a higher available version matches the range. + +If `opts.enjoyBy` is provided, it should be something that can be passed to `new +Date(x)`, such as a `Date` object or a timestamp string. It will be used to +filter the selected versions such that only versions less than or equal to +`enjoyBy` are considered. + +If `opts.includeDeprecated` passed in as true, deprecated versions will be +selected. By default, deprecated versions other than `defaultTag` are ignored. |