aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/pacote/lib/util/opt-check.js
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2017-12-07 14:05:23 -0800
committerMyles Borins <mylesborins@google.com>2018-01-19 11:32:08 -0500
commitd3b1c971bcf0177b17c649c3aeca1a94cbc3fff5 (patch)
tree321928c015be00cdbe11715297d2d2fc45802263 /deps/npm/node_modules/pacote/lib/util/opt-check.js
parentbfe41fe88e7421f441067a79fb7512cf5935a2bb (diff)
downloadandroid-node-v8-d3b1c971bcf0177b17c649c3aeca1a94cbc3fff5.tar.gz
android-node-v8-d3b1c971bcf0177b17c649c3aeca1a94cbc3fff5.tar.bz2
android-node-v8-d3b1c971bcf0177b17c649c3aeca1a94cbc3fff5.zip
deps: upgrade npm to 5.6.0
PR-URL: https://github.com/nodejs/node/pull/17777 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/pacote/lib/util/opt-check.js')
-rw-r--r--deps/npm/node_modules/pacote/lib/util/opt-check.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/npm/node_modules/pacote/lib/util/opt-check.js b/deps/npm/node_modules/pacote/lib/util/opt-check.js
index a2692836a3..711f46c91a 100644
--- a/deps/npm/node_modules/pacote/lib/util/opt-check.js
+++ b/deps/npm/node_modules/pacote/lib/util/opt-check.js
@@ -43,6 +43,9 @@ function PacoteOptions (opts) {
this.projectScope = opts.projectScope
this.fullMetadata = opts.fullMetadata
this.alwaysAuth = opts.alwaysAuth
+ this.includeDeprecated = opts.includeDeprecated == null
+ ? true
+ : opts.includeDeprecated
this.dirPacker = opts.dirPacker || null