pass all settings through to pacote.packument, fixes #2060 · npm/cli@0ea134e (original) (raw)

Commit 0ea134e

Browse files

nlfisaacs

nlf

authored and

isaacs

committed

pass all settings through to pacote.packument, fixes #2060

PR-URL: #2587Credit: @nlf Close: #2587Reviewed-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‎

Lines changed: 1 addition & 0 deletions

Original file line number Diff line number Diff line change
@@ -108,6 +108,7 @@ async function outdated_ (tree, deps, opts) {
108 108
109 109 async function getPackument (spec) {
110 110 const packument = await pacote.packument(spec, {
111 + ...npm.flatOptions,
111 112 fullMetadata: npm.flatOptions.long,
112 113 preferOnline: true,
113 114 })

0 commit comments

Comments

(0)