Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Updated @newrelic/security-agent to v2.3.0 #2918

Merged
merged 12 commits into from
Feb 3, 2025
14 changes: 7 additions & 7 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ This product includes source derived from [@grpc/proto-loader](https://github.co

### @newrelic/security-agent

This product includes source derived from [@newrelic/security-agent](https://github.com/newrelic/csec-node-agent) ([v2.2.0](https://github.com/newrelic/csec-node-agent/tree/v2.2.0)), distributed under the [UNKNOWN License](https://github.com/newrelic/csec-node-agent/blob/v2.2.0/LICENSE):
This product includes source derived from [@newrelic/security-agent](https://github.com/newrelic/csec-node-agent) ([v2.3.0](https://github.com/newrelic/csec-node-agent/tree/v2.3.0)), distributed under the [UNKNOWN License](https://github.com/newrelic/csec-node-agent/blob/v2.3.0/LICENSE):

```
## New Relic Software License v1.0
Expand Down Expand Up @@ -2035,7 +2035,7 @@ IN THE SOFTWARE.

### require-in-the-middle

This product includes source derived from [require-in-the-middle](https://github.com/elastic/require-in-the-middle) ([v7.4.0](https://github.com/elastic/require-in-the-middle/tree/v7.4.0)), distributed under the [MIT License](https://github.com/elastic/require-in-the-middle/blob/v7.4.0/LICENSE):
This product includes source derived from [require-in-the-middle](https://github.com/elastic/require-in-the-middle) ([v7.5.0](https://github.com/elastic/require-in-the-middle/tree/v7.5.0)), distributed under the [MIT License](https://github.com/elastic/require-in-the-middle/blob/v7.5.0/LICENSE):

```
The MIT License (MIT)
Expand Down Expand Up @@ -2065,7 +2065,7 @@ SOFTWARE.

### semver

This product includes source derived from [semver](https://github.com/npm/node-semver) ([v7.6.3](https://github.com/npm/node-semver/tree/v7.6.3)), distributed under the [ISC License](https://github.com/npm/node-semver/blob/v7.6.3/LICENSE):
This product includes source derived from [semver](https://github.com/npm/node-semver) ([v7.7.0](https://github.com/npm/node-semver/tree/v7.7.0)), distributed under the [ISC License](https://github.com/npm/node-semver/blob/v7.7.0/LICENSE):

```
The ISC License
Expand Down Expand Up @@ -2121,7 +2121,7 @@ SOFTWARE.

### @aws-sdk/client-s3

This product includes source derived from [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3) ([v3.726.1](https://github.com/aws/aws-sdk-js-v3/tree/v3.726.1)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js-v3/blob/v3.726.1/LICENSE):
This product includes source derived from [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3) ([v3.740.0](https://github.com/aws/aws-sdk-js-v3/tree/v3.740.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js-v3/blob/v3.740.0/LICENSE):

```
Apache License
Expand Down Expand Up @@ -2330,7 +2330,7 @@ This product includes source derived from [@aws-sdk/client-s3](https://github.co

### @aws-sdk/s3-request-presigner

This product includes source derived from [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3) ([v3.726.1](https://github.com/aws/aws-sdk-js-v3/tree/v3.726.1)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js-v3/blob/v3.726.1/LICENSE):
This product includes source derived from [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3) ([v3.740.0](https://github.com/aws/aws-sdk-js-v3/tree/v3.740.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js-v3/blob/v3.740.0/LICENSE):

```
Apache License
Expand Down Expand Up @@ -4158,7 +4158,7 @@ SOFTWARE.

### eslint-plugin-jsdoc

This product includes source derived from [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) ([v50.6.1](https://github.com/gajus/eslint-plugin-jsdoc/tree/v50.6.1)), distributed under the [BSD-3-Clause License](https://github.com/gajus/eslint-plugin-jsdoc/blob/v50.6.1/LICENSE):
This product includes source derived from [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) ([v50.6.3](https://github.com/gajus/eslint-plugin-jsdoc/tree/v50.6.3)), distributed under the [BSD-3-Clause License](https://github.com/gajus/eslint-plugin-jsdoc/blob/v50.6.3/LICENSE):

```
Copyright (c) 2018, Gajus Kuizinas (http://gajus.com/)
Expand Down Expand Up @@ -4190,7 +4190,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

### eslint

This product includes source derived from [eslint](https://github.com/eslint/eslint) ([v9.18.0](https://github.com/eslint/eslint/tree/v9.18.0)), distributed under the [MIT License](https://github.com/eslint/eslint/blob/v9.18.0/LICENSE):
This product includes source derived from [eslint](https://github.com/eslint/eslint) ([v9.19.0](https://github.com/eslint/eslint/tree/v9.19.0)), distributed under the [MIT License](https://github.com/eslint/eslint/blob/v9.19.0/LICENSE):

```
Copyright OpenJS Foundation and other contributors, <www.openjsf.org>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"dependencies": {
"@grpc/grpc-js": "^1.12.2",
"@grpc/proto-loader": "^0.7.5",
"@newrelic/security-agent": "^2.2.0",
"@newrelic/security-agent": "^2.3.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/core": "^1.30.0",
"@opentelemetry/resources": "^1.30.1",
Expand Down
4 changes: 2 additions & 2 deletions test/versioned/express/ignoring.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ test('ignoring an Express route', async function (t) {
let expectedMetrics = 3
if (helper.isSecurityAgentEnabled(agent) === true) {
if (isExpress5 === true) {
expectedMetrics = 13
expectedMetrics = 14
} else {
expectedMetrics = 11
expectedMetrics = 12
}
}
plan.equal(
Expand Down
2 changes: 1 addition & 1 deletion test/versioned/hapi/ignoring.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test('ignoring a Hapi route', async (t) => {

const metrics = agent.metrics._metrics.unscoped
// loading k2 adds instrumentation metrics for packages it instruments
const expectedMetrics = helper.isSecurityAgentEnabled(agent) ? 11 : 3
const expectedMetrics = helper.isSecurityAgentEnabled(agent) ? 12 : 3
plan.equal(
Object.keys(metrics).length,
expectedMetrics,
Expand Down
60 changes: 30 additions & 30 deletions third_party_manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lastUpdated": "Fri Jan 24 2025 16:28:36 GMT-0500 (Eastern Standard Time)",
"lastUpdated": "Mon Feb 03 2025 15:53:41 GMT+0530 (India Standard Time)",
"projectName": "New Relic Node Agent",
"projectUrl": "https://github.com/newrelic/node-newrelic",
"includeOptDeps": true,
Expand Down Expand Up @@ -68,15 +68,15 @@
"licenseTextSource": "file",
"publisher": "Google Inc."
},
"@newrelic/security-agent@2.2.0": {
"@newrelic/security-agent@2.3.0": {
"name": "@newrelic/security-agent",
"version": "2.2.0",
"range": "^2.2.0",
"version": "2.3.0",
"range": "^2.3.0",
"licenses": "UNKNOWN",
"repoUrl": "https://github.com/newrelic/csec-node-agent",
"versionedRepoUrl": "https://github.com/newrelic/csec-node-agent/tree/v2.2.0",
"versionedRepoUrl": "https://github.com/newrelic/csec-node-agent/tree/v2.3.0",
"licenseFile": "node_modules/@newrelic/security-agent/LICENSE",
"licenseUrl": "https://github.com/newrelic/csec-node-agent/blob/v2.2.0/LICENSE",
"licenseUrl": "https://github.com/newrelic/csec-node-agent/blob/v2.3.0/LICENSE",
"licenseTextSource": "file",
"publisher": "newrelic"
},
Expand Down Expand Up @@ -245,29 +245,29 @@
"licenseUrl": "https://github.com/nodejs/readable-stream/blob/v3.6.2/LICENSE",
"licenseTextSource": "file"
},
"require-in-the-middle@7.4.0": {
"require-in-the-middle@7.5.0": {
"name": "require-in-the-middle",
"version": "7.4.0",
"version": "7.5.0",
"range": "^7.4.0",
"licenses": "MIT",
"repoUrl": "https://github.com/elastic/require-in-the-middle",
"versionedRepoUrl": "https://github.com/elastic/require-in-the-middle/tree/v7.4.0",
"versionedRepoUrl": "https://github.com/elastic/require-in-the-middle/tree/v7.5.0",
"licenseFile": "node_modules/require-in-the-middle/LICENSE",
"licenseUrl": "https://github.com/elastic/require-in-the-middle/blob/v7.4.0/LICENSE",
"licenseUrl": "https://github.com/elastic/require-in-the-middle/blob/v7.5.0/LICENSE",
"licenseTextSource": "file",
"publisher": "Thomas Watson Steen",
"email": "[email protected]",
"url": "https://twitter.com/wa7son"
},
"semver@7.6.3": {
"semver@7.7.0": {
"name": "semver",
"version": "7.6.3",
"version": "7.7.0",
"range": "^7.5.2",
"licenses": "ISC",
"repoUrl": "https://github.com/npm/node-semver",
"versionedRepoUrl": "https://github.com/npm/node-semver/tree/v7.6.3",
"versionedRepoUrl": "https://github.com/npm/node-semver/tree/v7.7.0",
"licenseFile": "node_modules/semver/LICENSE",
"licenseUrl": "https://github.com/npm/node-semver/blob/v7.6.3/LICENSE",
"licenseUrl": "https://github.com/npm/node-semver/blob/v7.7.0/LICENSE",
"licenseTextSource": "file",
"publisher": "GitHub Inc."
},
Expand All @@ -286,28 +286,28 @@
}
},
"devDependencies": {
"@aws-sdk/client-s3@3.726.1": {
"@aws-sdk/client-s3@3.740.0": {
"name": "@aws-sdk/client-s3",
"version": "3.726.1",
"version": "3.740.0",
"range": "^3.556.0",
"licenses": "Apache-2.0",
"repoUrl": "https://github.com/aws/aws-sdk-js-v3",
"versionedRepoUrl": "https://github.com/aws/aws-sdk-js-v3/tree/v3.726.1",
"versionedRepoUrl": "https://github.com/aws/aws-sdk-js-v3/tree/v3.740.0",
"licenseFile": "node_modules/@aws-sdk/client-s3/LICENSE",
"licenseUrl": "https://github.com/aws/aws-sdk-js-v3/blob/v3.726.1/LICENSE",
"licenseUrl": "https://github.com/aws/aws-sdk-js-v3/blob/v3.740.0/LICENSE",
"licenseTextSource": "file",
"publisher": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
},
"@aws-sdk/s3-request-presigner@3.726.1": {
"@aws-sdk/s3-request-presigner@3.740.0": {
"name": "@aws-sdk/s3-request-presigner",
"version": "3.726.1",
"version": "3.740.0",
"range": "^3.556.0",
"licenses": "Apache-2.0",
"repoUrl": "https://github.com/aws/aws-sdk-js-v3",
"versionedRepoUrl": "https://github.com/aws/aws-sdk-js-v3/tree/v3.726.1",
"versionedRepoUrl": "https://github.com/aws/aws-sdk-js-v3/tree/v3.740.0",
"licenseFile": "node_modules/@aws-sdk/s3-request-presigner/LICENSE",
"licenseUrl": "https://github.com/aws/aws-sdk-js-v3/blob/v3.726.1/LICENSE",
"licenseUrl": "https://github.com/aws/aws-sdk-js-v3/blob/v3.740.0/LICENSE",
"licenseTextSource": "file",
"publisher": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
Expand Down Expand Up @@ -553,29 +553,29 @@
"email": "[email protected]",
"url": "https://github.com/stevemao"
},
"[email protected].1": {
"[email protected].3": {
"name": "eslint-plugin-jsdoc",
"version": "50.6.1",
"version": "50.6.3",
"range": "^50.6.1",
"licenses": "BSD-3-Clause",
"repoUrl": "https://github.com/gajus/eslint-plugin-jsdoc",
"versionedRepoUrl": "https://github.com/gajus/eslint-plugin-jsdoc/tree/v50.6.1",
"versionedRepoUrl": "https://github.com/gajus/eslint-plugin-jsdoc/tree/v50.6.3",
"licenseFile": "node_modules/eslint-plugin-jsdoc/LICENSE",
"licenseUrl": "https://github.com/gajus/eslint-plugin-jsdoc/blob/v50.6.1/LICENSE",
"licenseUrl": "https://github.com/gajus/eslint-plugin-jsdoc/blob/v50.6.3/LICENSE",
"licenseTextSource": "file",
"publisher": "Gajus Kuizinas",
"email": "[email protected]",
"url": "http://gajus.com"
},
"eslint@9.18.0": {
"eslint@9.19.0": {
"name": "eslint",
"version": "9.18.0",
"version": "9.19.0",
"range": "^9.17.0",
"licenses": "MIT",
"repoUrl": "https://github.com/eslint/eslint",
"versionedRepoUrl": "https://github.com/eslint/eslint/tree/v9.18.0",
"versionedRepoUrl": "https://github.com/eslint/eslint/tree/v9.19.0",
"licenseFile": "node_modules/eslint/LICENSE",
"licenseUrl": "https://github.com/eslint/eslint/blob/v9.18.0/LICENSE",
"licenseUrl": "https://github.com/eslint/eslint/blob/v9.19.0/LICENSE",
"licenseTextSource": "file",
"publisher": "Nicholas C. Zakas",
"email": "[email protected]"
Expand Down
Loading