@npmcli/config 4.0.2 → 4.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 +2 -3
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -506,10 +506,9 @@ class Config {
506
506
  }
507
507
 
508
508
  [_checkDeprecated] (key, where, obj, kv) {
509
- // XXX a future npm version will make this a warning.
510
- // An even more future npm version will make this an error.
509
+ // XXX(npm9+) make this throw an error
511
510
  if (this.deprecated[key]) {
512
- log.verbose('config', key, this.deprecated[key])
511
+ log.warn('config', key, this.deprecated[key])
513
512
  }
514
513
  }
515
514
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npmcli/config",
3
- "version": "4.0.2",
3
+ "version": "4.1.0",
4
4
  "files": [
5
5
  "bin/",
6
6
  "lib/"
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@npmcli/eslint-config": "^3.0.1",
34
- "@npmcli/template-oss": "3.2.2",
34
+ "@npmcli/template-oss": "3.3.2",
35
35
  "tap": "^16.0.1"
36
36
  },
37
37
  "dependencies": {
@@ -49,6 +49,6 @@
49
49
  },
50
50
  "templateOSS": {
51
51
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
52
- "version": "3.2.2"
52
+ "version": "3.3.2"
53
53
  }
54
54
  }