@newrelic/security-agent 2.1.0 → 2.1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### v2.1.1 (2024-11-07)
2
+ #### Bug fixes
3
+ * Fix for assignment to logger constant
4
+
1
5
  ### v2.1.0 (2024-11-05)
2
6
  #### Features
3
7
  * IAST support for CI/CD
package/README.md CHANGED
@@ -42,7 +42,7 @@ The `@newrelic/security-agent` must be explicitly enabled in order to perform IA
42
42
  The [Developer docs](http://newrelic.github.io/node-newrelic/) for writing instrumentation will be of help. We particularly recommend the [tutorials](https://newrelic.github.io/node-newrelic/tutorial-Instrumentation-Basics.html) and the [shim API](https://newrelic.github.io/node-newrelic/Shim.html) documentation.
43
43
 
44
44
  ### Supported Node.js Versions
45
- - Node version 16.x, 18.x and 20.x
45
+ - Node version 18.x, 20.x and 22.x
46
46
 
47
47
  ### Supported Modules
48
48
 
@@ -15,7 +15,7 @@ const NODE_JS_LITERAL = 'Node.js:';
15
15
  let NODE_SERVER;
16
16
  let instance;
17
17
  const logs = require('./logging');
18
- const logger = logs.getLogger();
18
+ let logger = logs.getLogger();
19
19
  const API = require('../../../nr-security-api');
20
20
  const NRAgent = API.getNRAgent();
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/security-agent",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "New Relic Security Agent for Node.js",
5
5
  "main": "index.js",
6
6
  "jsonVersion": "1.2.9",