@contrast/config 1.24.0 → 1.26.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/options.js +14 -0
  2. package/package.json +2 -2
package/lib/options.js CHANGED
@@ -406,6 +406,20 @@ Example - \`/opt/Contrast/contrast.log\` creates a log in the \`/opt/Contrast\`
406
406
  default: process.cwd(),
407
407
  desc: "Set the directory containing the application's `package.json` file.",
408
408
  },
409
+ {
410
+ // SEE NODE-2886
411
+ name: 'agent.node.cmd_ignore_list',
412
+ arg: '<commands>',
413
+ default: '',
414
+ fn: (arg) => arg.split(',').filter((v)=> v),
415
+ desc: 'comma-separated list of commands that will not startup the agent if agent is required; npm* will ignore all npm executables but not your application\'s scripts'
416
+ },
417
+ {
418
+ // SEE NODE-2886
419
+ name: 'agent.node.exclusive_entrypoint',
420
+ arg: '<entrypoint.js>',
421
+ desc: 'an entrypoint for an application that, when specified, will prevent the agent instrumenting on anything else'
422
+ },
409
423
  {
410
424
  // NOTE: not in common config.
411
425
  name: 'agent.node.enable_rewrite',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/config",
3
- "version": "1.24.0",
3
+ "version": "1.26.0",
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)",
@@ -17,7 +17,7 @@
17
17
  "test": "../scripts/test.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@contrast/common": "1.17.0",
20
+ "@contrast/common": "1.19.0",
21
21
  "yaml": "^2.2.2"
22
22
  }
23
23
  }