@npmcli/arborist 6.2.6 → 6.2.8
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.
- package/lib/arborist/index.js +1 -0
- package/lib/arborist/load-actual.js +1 -1
- package/lib/arborist/reify.js +1 -2
- package/lib/node.js +1 -1
- package/package.json +3 -3
package/lib/arborist/index.js
CHANGED
|
@@ -71,6 +71,7 @@ class Arborist extends Base {
|
|
|
71
71
|
this.options = {
|
|
72
72
|
nodeVersion: process.version,
|
|
73
73
|
...options,
|
|
74
|
+
Arborist: this.constructor,
|
|
74
75
|
path: options.path || '.',
|
|
75
76
|
cache: options.cache || `${homedir()}/.npm/_cacache`,
|
|
76
77
|
packumentCache: options.packumentCache || new Map(),
|
|
@@ -4,7 +4,7 @@ const { relative, dirname, resolve, join, normalize } = require('path')
|
|
|
4
4
|
|
|
5
5
|
const rpj = require('read-package-json-fast')
|
|
6
6
|
const { readdirScoped } = require('@npmcli/fs')
|
|
7
|
-
const walkUp = require('walk-up-path')
|
|
7
|
+
const { walkUp } = require('walk-up-path')
|
|
8
8
|
const ancestorPath = require('common-ancestor-path')
|
|
9
9
|
const treeCheck = require('../tree-check.js')
|
|
10
10
|
|
package/lib/arborist/reify.js
CHANGED
|
@@ -6,7 +6,7 @@ const { subset, intersects } = require('semver')
|
|
|
6
6
|
const npa = require('npm-package-arg')
|
|
7
7
|
const semver = require('semver')
|
|
8
8
|
const debug = require('../debug.js')
|
|
9
|
-
const walkUp = require('walk-up-path')
|
|
9
|
+
const { walkUp } = require('walk-up-path')
|
|
10
10
|
const log = require('proc-log')
|
|
11
11
|
const hgi = require('hosted-git-info')
|
|
12
12
|
const rpj = require('read-package-json-fast')
|
|
@@ -702,7 +702,6 @@ module.exports = cls => class Reifier extends cls {
|
|
|
702
702
|
})
|
|
703
703
|
await pacote.extract(res, node.path, {
|
|
704
704
|
...this.options,
|
|
705
|
-
Arborist: this.constructor,
|
|
706
705
|
resolved: node.resolved,
|
|
707
706
|
integrity: node.integrity,
|
|
708
707
|
})
|
package/lib/node.js
CHANGED
|
@@ -39,7 +39,7 @@ const npa = require('npm-package-arg')
|
|
|
39
39
|
const debug = require('./debug.js')
|
|
40
40
|
const gatherDepSet = require('./gather-dep-set.js')
|
|
41
41
|
const treeCheck = require('./tree-check.js')
|
|
42
|
-
const walkUp = require('walk-up-path')
|
|
42
|
+
const { walkUp } = require('walk-up-path')
|
|
43
43
|
|
|
44
44
|
const { resolve, relative, dirname, basename } = require('path')
|
|
45
45
|
const util = require('util')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npmcli/arborist",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.8",
|
|
4
4
|
"description": "Manage node_modules trees",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@isaacs/string-locale-compare": "^1.1.0",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"parse-conflict-json": "^3.0.0",
|
|
31
31
|
"proc-log": "^3.0.0",
|
|
32
32
|
"promise-all-reject-late": "^1.0.0",
|
|
33
|
-
"promise-call-limit": "^1.0.
|
|
33
|
+
"promise-call-limit": "^1.0.2",
|
|
34
34
|
"read-package-json-fast": "^3.0.2",
|
|
35
35
|
"semver": "^7.3.7",
|
|
36
36
|
"ssri": "^10.0.1",
|
|
37
37
|
"treeverse": "^3.0.0",
|
|
38
|
-
"walk-up-path": "^
|
|
38
|
+
"walk-up-path": "^3.0.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@npmcli/eslint-config": "^4.0.0",
|