@npmcli/config 3.0.0 → 3.0.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.
- package/README.md +1 -1
- package/lib/index.js +1 -1
- package/package.json +6 -5
- package/lib/proc-log.js +0 -4
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ const conf = new Config({
|
|
|
80
80
|
cwd: process.cwd(),
|
|
81
81
|
// optional, defaults to emitting 'log' events on process object
|
|
82
82
|
// only silly, verbose, warn, and error are logged by this module
|
|
83
|
-
log: require('
|
|
83
|
+
log: require('proc-log')
|
|
84
84
|
})
|
|
85
85
|
|
|
86
86
|
// returns a promise that fails if config loading fails, and
|
package/lib/index.js
CHANGED
|
@@ -88,7 +88,7 @@ class Config {
|
|
|
88
88
|
// options just to override in tests, mostly
|
|
89
89
|
env = process.env,
|
|
90
90
|
argv = process.argv,
|
|
91
|
-
log = require('
|
|
91
|
+
log = require('proc-log'),
|
|
92
92
|
platform = process.platform,
|
|
93
93
|
execPath = process.execPath,
|
|
94
94
|
cwd = process.cwd(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npmcli/config",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"bin",
|
|
6
6
|
"lib"
|
|
@@ -30,22 +30,23 @@
|
|
|
30
30
|
"coverage-map": "map.js"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@npmcli/template-oss": "^2.
|
|
34
|
-
"tap": "^15.
|
|
33
|
+
"@npmcli/template-oss": "^2.7.1",
|
|
34
|
+
"tap": "^15.1.6"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@npmcli/map-workspaces": "^2.0.0",
|
|
38
38
|
"ini": "^2.0.0",
|
|
39
39
|
"mkdirp-infer-owner": "^2.0.0",
|
|
40
40
|
"nopt": "^5.0.0",
|
|
41
|
+
"proc-log": "^2.0.0",
|
|
41
42
|
"read-package-json-fast": "^2.0.3",
|
|
42
|
-
"semver": "^7.3.
|
|
43
|
+
"semver": "^7.3.5",
|
|
43
44
|
"walk-up-path": "^1.0.0"
|
|
44
45
|
},
|
|
45
46
|
"engines": {
|
|
46
47
|
"node": "^12.13.0 || ^14.15.0 || >=16"
|
|
47
48
|
},
|
|
48
49
|
"templateOSS": {
|
|
49
|
-
"version": "2.
|
|
50
|
+
"version": "2.7.1"
|
|
50
51
|
}
|
|
51
52
|
}
|
package/lib/proc-log.js
DELETED