@contrast/config 1.28.0 → 1.28.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/options.js +2 -2
  2. package/package.json +3 -3
package/lib/options.js CHANGED
@@ -650,8 +650,8 @@ Example - \`label1, label2, label3\``,
650
650
  desc: "override the reported server version (if different from 'version' field in the application's package.json)",
651
651
  },
652
652
  ].map((opt) => Object.assign(opt, {
653
- env: `CONTRAST__${opt.name.toUpperCase().replace(/\./g, '__')
654
- .replace(/-/g, '_')}`
653
+ env: `CONTRAST__${opt.name.toUpperCase().replaceAll('.', '__')
654
+ .replaceAll('-', '_')}`
655
655
  }));
656
656
 
657
657
  module.exports = options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/config",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
4
4
  "description": "An API for discovering Contrast agent configuration data",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
@@ -11,13 +11,13 @@
11
11
  "types": "lib/index.d.ts",
12
12
  "engines": {
13
13
  "npm": ">=6.13.7 <7 || >= 8.3.1",
14
- "node": ">= 14.18.0"
14
+ "node": ">= 16.9.1"
15
15
  },
16
16
  "scripts": {
17
17
  "test": "../scripts/test.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@contrast/common": "1.21.0",
20
+ "@contrast/common": "1.21.1",
21
21
  "yaml": "^2.2.2"
22
22
  }
23
23
  }