libnpmpack 9.0.13 → 9.1.0

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 +1 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -12,7 +12,7 @@ async function pack (spec = 'file:.', opts = {}) {
12
12
  // gets spec
13
13
  spec = npa(spec)
14
14
 
15
- const manifest = await pacote.manifest(spec, { ...opts, Arborist })
15
+ const manifest = await pacote.manifest(spec, { ...opts, Arborist, _isRoot: true })
16
16
 
17
17
  const stdio = opts.foregroundScripts ? 'inherit' : 'pipe'
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libnpmpack",
3
- "version": "9.0.13",
3
+ "version": "9.1.0",
4
4
  "description": "Programmatic API for the bits behind npm pack",
5
5
  "author": "GitHub Inc.",
6
6
  "main": "lib/index.js",
@@ -37,7 +37,7 @@
37
37
  "bugs": "https://github.com/npm/libnpmpack/issues",
38
38
  "homepage": "https://npmjs.com/package/libnpmpack",
39
39
  "dependencies": {
40
- "@npmcli/arborist": "^9.1.10",
40
+ "@npmcli/arborist": "^9.2.0",
41
41
  "@npmcli/run-script": "^10.0.0",
42
42
  "npm-package-arg": "^13.0.0",
43
43
  "pacote": "^21.0.2"