Skip to content

Commit

Permalink
pass all settings through to pacote.packument, fixes npm#2060
Browse files Browse the repository at this point in the history
PR-URL: npm#2587
Credit: @nlf
Close: npm#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
Original file line number Diff line number Diff line change
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.