diff options
author | nlf <quitlahok@gmail.com> | 2021-02-01 20:07:50 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2021-02-01 22:59:12 +0300 |
commit | 0ea134e4190f322138299c51672eab5387ec41bb (patch) | |
tree | 262601fc0b41a0ae376ed28a8301e47356a84078 /lib | |
parent | e276397809aceb01cc468e02a83bc6f2265376d9 (diff) |
pass all settings through to pacote.packument, fixes #2060nlf/fix-proxy-outdated
PR-URL: https://github.com/npm/cli/pull/2587
Credit: @nlf
Close: #2587
Reviewed-by: @ruyadorno
Diffstat (limited to 'lib')
-rw-r--r-- | lib/outdated.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/outdated.js b/lib/outdated.js index b5f0f3b5b..f9a3fed8c 100644 --- a/lib/outdated.js +++ b/lib/outdated.js @@ -108,6 +108,7 @@ async function outdated_ (tree, deps, opts) { async function getPackument (spec) { const packument = await pacote.packument(spec, { + ...npm.flatOptions, fullMetadata: npm.flatOptions.long, preferOnline: true, }) |