Skip to content

Commit

Permalink
fix: fetch full packument so that libc can be assessed
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
styfle and ljharb committed Jan 23, 2024
1 parent 2b7eaad commit 8382fb3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions workspaces/arborist/lib/arborist/build-ideal-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -1208,8 +1208,12 @@ This is a one-time fix-up, please be patient...
} else {
const cleanRawSpec = cleanUrl(spec.rawSpec)
log.silly('fetch manifest', spec.raw.replace(spec.rawSpec, cleanRawSpec))
const p = pacote.manifest(spec, options)
.then(mani => {
const o = {
...options,
fullMetadata: true,
}
const p = pacote.manifest(spec, o)
.then(({ license, ...mani }) => {
this.#manifests.set(spec.raw, mani)
return mani
})
Expand Down

0 comments on commit 8382fb3

Please sign in to comment.