libnpmexec 10.1.12 → 10.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +6 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -26,7 +26,12 @@ const manifests = new Map()
26
26
 
27
27
  const getManifest = async (spec, flatOptions) => {
28
28
  if (!manifests.has(spec.raw)) {
29
- const manifest = await pacote.manifest(spec, { ...flatOptions, preferOnline: true, Arborist })
29
+ const manifest = await pacote.manifest(spec, {
30
+ ...flatOptions,
31
+ preferOnline: true,
32
+ Arborist,
33
+ _isRoot: true,
34
+ })
30
35
  manifests.set(spec.raw, manifest)
31
36
  }
32
37
  return manifests.get(spec.raw)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libnpmexec",
3
- "version": "10.1.12",
3
+ "version": "10.2.1",
4
4
  "files": [
5
5
  "bin/",
6
6
  "lib/"
@@ -60,7 +60,7 @@
60
60
  "tap": "^16.3.8"
61
61
  },
62
62
  "dependencies": {
63
- "@npmcli/arborist": "^9.1.10",
63
+ "@npmcli/arborist": "^9.3.0",
64
64
  "@npmcli/package-json": "^7.0.0",
65
65
  "@npmcli/run-script": "^10.0.0",
66
66
  "ci-info": "^4.0.0",