Skip to content

Commit 8382fb3

Browse files
styfleljharb
andauthored
fix: fetch full packument so that libc can be assessed
Co-authored-by: Jordan Harband <[email protected]>
1 parent 2b7eaad commit 8382fb3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

workspaces/arborist/lib/arborist/build-ideal-tree.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,8 +1208,12 @@ This is a one-time fix-up, please be patient...
12081208
} else {
12091209
const cleanRawSpec = cleanUrl(spec.rawSpec)
12101210
log.silly('fetch manifest', spec.raw.replace(spec.rawSpec, cleanRawSpec))
1211-
const p = pacote.manifest(spec, options)
1212-
.then(mani => {
1211+
const o = {
1212+
...options,
1213+
fullMetadata: true,
1214+
}
1215+
const p = pacote.manifest(spec, o)
1216+
.then(({ license, ...mani }) => {
12131217
this.#manifests.set(spec.raw, mani)
12141218
return mani
12151219
})

0 commit comments

Comments
 (0)