Skip to content

Commit

Permalink
pass all settings through to pacote.packument, fixes #2060
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Feb 1, 2021
1 parent 7b1a539 commit 1a1ba15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/outdated.js
Expand Up @@ -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,
})
Expand Down

0 comments on commit 1a1ba15

Please sign in to comment.