diff --git a/workspaces/arborist/lib/arborist/build-ideal-tree.js b/workspaces/arborist/lib/arborist/build-ideal-tree.js index d04ddf27b6965..7137dabfa5854 100644 --- a/workspaces/arborist/lib/arborist/build-ideal-tree.js +++ b/workspaces/arborist/lib/arborist/build-ideal-tree.js @@ -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 })