newrelic 10.3.0 → 10.3.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/NEWS.md CHANGED
@@ -1,13 +1,26 @@
1
- ### v10.3.0 (2023-06-13)
2
-
3
- #### Features
4
-
5
- * Added Interactive Application Security Testing(IAST) mode of security agent when `config.security.agent.enabled` is true. ([#1664](https://github.com/newrelic/node-newrelic/pull/1664)) ([3e926e5](https://github.com/newrelic/node-newrelic/commit/3e926e59ab5feba4b2759d8a108c424b237b5eda))
6
-
7
- **NOTE**: The security agent IAST mode is in public preview and should only be used in non-production environments.
8
-
9
- * To enable the security agent set `config.security.agent.enabled` and `config.security.enabled` to true.
10
-
1
+ ### v10.3.1 (2023-06-22)
2
+
3
+ #### Security
4
+
5
+ * **deps:** Updated semver to v7.5.2, also in native-metrics and test utils ([#1685](https://github.com/newrelic/node-newrelic/pull/1685)) ([e207a6b](https://github.com/newrelic/node-newrelic/commit/e207a6b3a5cdd3d927f212f73d66e9aad52c5910))
6
+
7
+ #### Miscellaneous Chores
8
+
9
+ * Added test for getRedisParams ([#1670](https://github.com/newrelic/node-newrelic/pull/1670)) ([e9f8556](https://github.com/newrelic/node-newrelic/commit/e9f8556750a88314f0faeb993364fe2d67adc231))
10
+ * temporarily limit prisma tests to non-breaking version ([#1680](https://github.com/newrelic/node-newrelic/pull/1680)) ([76d3ade](https://github.com/newrelic/node-newrelic/commit/76d3adea11b077a506aeeb6af49391620b0fb1a5))
11
+ * **testing:** convert query-test-aggregator tests to tap style ([#1676](https://github.com/newrelic/node-newrelic/pull/1676)) ([d2e45ad](https://github.com/newrelic/node-newrelic/commit/d2e45ada751e9ae9cdca8b617834230d7d91f7b2))
12
+ * **testing:** Converted error-event-aggregator.test.js to tap ([#1683](https://github.com/newrelic/node-newrelic/pull/1683)) ([9f1d66f](https://github.com/newrelic/node-newrelic/commit/9f1d66f9df88512f353f01d16c1e6c93173dc88f))
13
+
14
+ ### v10.3.0 (2023-06-13)
15
+
16
+ #### Features
17
+
18
+ * Added Interactive Application Security Testing(IAST) mode of security agent when `config.security.agent.enabled` is true. ([#1664](https://github.com/newrelic/node-newrelic/pull/1664)) ([3e926e5](https://github.com/newrelic/node-newrelic/commit/3e926e59ab5feba4b2759d8a108c424b237b5eda))
19
+
20
+ **NOTE**: The security agent IAST mode is in public preview and should only be used in non-production environments.
21
+
22
+ * To enable the security agent set `config.security.agent.enabled` and `config.security.enabled` to true.
23
+
11
24
  ### v10.2.0 (2023-06-06)
12
25
 
13
26
  #### Features
@@ -1395,7 +1395,7 @@ IN THE SOFTWARE.
1395
1395
 
1396
1396
  ### semver
1397
1397
 
1398
- This product includes source derived from [semver](https://github.com/npm/node-semver) ([v5.7.1](https://github.com/npm/node-semver/tree/v5.7.1)), distributed under the [ISC License](https://github.com/npm/node-semver/blob/v5.7.1/LICENSE):
1398
+ This product includes source derived from [semver](https://github.com/npm/node-semver) ([v7.5.2](https://github.com/npm/node-semver/tree/v7.5.2)), distributed under the [ISC License](https://github.com/npm/node-semver/blob/v7.5.2/LICENSE):
1399
1399
 
1400
1400
  ```
1401
1401
  The ISC License
@@ -1884,7 +1884,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
1884
1884
 
1885
1885
  ### @newrelic/test-utilities
1886
1886
 
1887
- This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v7.3.1](https://github.com/newrelic/node-test-utilities/tree/v7.3.1)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v7.3.1/LICENSE):
1887
+ This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v7.3.2](https://github.com/newrelic/node-test-utilities/tree/v7.3.2)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v7.3.2/LICENSE):
1888
1888
 
1889
1889
  ```
1890
1890
  Apache License
@@ -9556,7 +9556,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9556
9556
 
9557
9557
  ### @newrelic/native-metrics
9558
9558
 
9559
- This product includes source derived from [@newrelic/native-metrics](https://github.com/newrelic/node-native-metrics) ([v9.0.0](https://github.com/newrelic/node-native-metrics/tree/v9.0.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-native-metrics/blob/v9.0.0/LICENSE):
9559
+ This product includes source derived from [@newrelic/native-metrics](https://github.com/newrelic/node-native-metrics) ([v9.0.1](https://github.com/newrelic/node-native-metrics/tree/v9.0.1)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-native-metrics/blob/v9.0.1/LICENSE):
9560
9560
 
9561
9561
  ```
9562
9562
  Apache License
@@ -67,6 +67,8 @@ function getRedisParams(clientOpts) {
67
67
  return {
68
68
  host: clientOpts?.socket?.host || 'localhost',
69
69
  port_path_or_id: clientOpts?.socket?.path || clientOpts?.socket?.port || '6379',
70
- database_name: clientOpts.database || 0
70
+ database_name: clientOpts?.database || 0
71
71
  }
72
72
  }
73
+
74
+ module.exports.getRedisParams = getRedisParams
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newrelic",
3
- "version": "10.3.0",
3
+ "version": "10.3.1",
4
4
  "author": "New Relic Node.js agent team <nodejs@newrelic.com>",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [
@@ -195,18 +195,18 @@
195
195
  "json-bigint": "^1.0.0",
196
196
  "json-stringify-safe": "^5.0.0",
197
197
  "readable-stream": "^3.6.1",
198
- "semver": "^5.3.0",
198
+ "semver": "^7.5.2",
199
199
  "winston-transport": "^4.5.0"
200
200
  },
201
201
  "optionalDependencies": {
202
202
  "@contrast/fn-inspect": "^3.3.0",
203
- "@newrelic/native-metrics": "^9.0.0"
203
+ "@newrelic/native-metrics": "^9.0.1"
204
204
  },
205
205
  "devDependencies": {
206
206
  "@newrelic/eslint-config": "^0.3.0",
207
207
  "@newrelic/newrelic-oss-cli": "^0.1.2",
208
208
  "@newrelic/proxy": "^2.0.0",
209
- "@newrelic/test-utilities": "^7.3.0",
209
+ "@newrelic/test-utilities": "^7.3.2",
210
210
  "@octokit/rest": "^18.0.15",
211
211
  "@slack/bolt": "^3.7.0",
212
212
  "ajv": "^6.12.6",