@contrast/config 1.30.0 → 1.30.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/lib/options.js +2 -8
- package/package.json +1 -1
package/lib/options.js
CHANGED
|
@@ -176,12 +176,11 @@ const options = [
|
|
|
176
176
|
desc: 'Set to limit the length of Error stack traces to a specified number. Larger limits will improve accuracy but increase memory usage.',
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
// NOTE: not in common config.
|
|
180
179
|
name: 'agent.stack_trace_filters',
|
|
181
180
|
arg: '<list,of,filters>',
|
|
182
181
|
default: 'agent-,@contrast,node-agent',
|
|
183
182
|
fn: split,
|
|
184
|
-
desc: '
|
|
183
|
+
desc: 'Comma-separated list of patterns to ignore within stack traces.',
|
|
185
184
|
},
|
|
186
185
|
// agent.diagnostics
|
|
187
186
|
{
|
|
@@ -420,7 +419,6 @@ Example - \`/opt/Contrast/contrast.log\` creates a log in the \`/opt/Contrast\`
|
|
|
420
419
|
desc: 'an entrypoint for an application that, when specified, will prevent the agent instrumenting on anything else'
|
|
421
420
|
},
|
|
422
421
|
{
|
|
423
|
-
// NOTE: not in common config.
|
|
424
422
|
name: 'agent.node.rewrite.enable',
|
|
425
423
|
arg: '[false]',
|
|
426
424
|
default: true,
|
|
@@ -428,7 +426,6 @@ Example - \`/opt/Contrast/contrast.log\` creates a log in the \`/opt/Contrast\`
|
|
|
428
426
|
desc: 'Set to `false` to disable source code rewriting. Not recommended.',
|
|
429
427
|
},
|
|
430
428
|
{
|
|
431
|
-
// NOTE: not in common config.
|
|
432
429
|
name: 'agent.node.rewrite.cache.enable',
|
|
433
430
|
arg: '[false]',
|
|
434
431
|
default: true,
|
|
@@ -436,7 +433,6 @@ Example - \`/opt/Contrast/contrast.log\` creates a log in the \`/opt/Contrast\`
|
|
|
436
433
|
desc: 'Set to `false` to disable caching rewritten source code files.',
|
|
437
434
|
},
|
|
438
435
|
{
|
|
439
|
-
// NOTE: not in common config.
|
|
440
436
|
name: 'agent.node.rewrite.cache.path',
|
|
441
437
|
arg: '<path>',
|
|
442
438
|
default: '.contrast',
|
|
@@ -444,13 +440,11 @@ Example - \`/opt/Contrast/contrast.log\` creates a log in the \`/opt/Contrast\`
|
|
|
444
440
|
desc: "Set the directory in which to cache rewritten source code files. Defaults to `.contrast/` in the application's current working directory.",
|
|
445
441
|
},
|
|
446
442
|
{
|
|
447
|
-
// NOTE: not in common config.
|
|
448
443
|
name: 'agent.node.source_maps.enable',
|
|
449
444
|
arg: '[false]',
|
|
450
445
|
default: true,
|
|
451
446
|
fn: castBoolean,
|
|
452
|
-
|
|
453
|
-
desc: 'Set to `false` to disable source map generation.',
|
|
447
|
+
desc: 'Set to `false` to disable source map generation when rewriting.',
|
|
454
448
|
},
|
|
455
449
|
// agent.node.library_usage.reporting
|
|
456
450
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrast/config",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.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)",
|