summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/pacote/lib/util/opt-check.js
diff options
context:
space:
mode:
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