Skip to content

Commit 0ea134e

Browse files
nlfisaacs
authored andcommitted
pass all settings through to pacote.packument, fixes #2060
PR-URL: #2587 Credit: @nlf Close: #2587 Reviewed-by: @ruyadorno
1 parent e276397 commit 0ea134e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/outdated.js

+1
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ async function outdated_ (tree, deps, opts) {
108108

109109
async function getPackument (spec) {
110110
const packument = await pacote.packument(spec, {
111+
...npm.flatOptions,
111112
fullMetadata: npm.flatOptions.long,
112113
preferOnline: true,
113114
})

0 commit comments

Comments
 (0)