Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pass all settings through to pacote.packument, fixes #2060
PR-URL: #2587
Credit: @nlf
Close: #2587
Reviewed-by: @ruyadorno
  • Loading branch information
nlf authored and isaacs committed Feb 1, 2021
1 parent e276397 commit 0ea134e
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 0ea134e

Please sign in to comment.