diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 1b5a30d..3b5b1b8 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -608,7 +608,7 @@ THE SOFTWARE. ### aws-sdk -This product includes source derived from [aws-sdk](https://github.com/aws/aws-sdk-js) ([v2.1564.0](https://github.com/aws/aws-sdk-js/tree/v2.1564.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js/blob/v2.1564.0/LICENSE.txt): +This product includes source derived from [aws-sdk](https://github.com/aws/aws-sdk-js) ([v2.1566.0](https://github.com/aws/aws-sdk-js/tree/v2.1566.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js/blob/v2.1566.0/LICENSE.txt): ``` @@ -1230,7 +1230,7 @@ This product includes source derived from [lockfile-lint](https://github.com/lir ### nock -This product includes source derived from [nock](https://github.com/nock/nock) ([v13.5.3](https://github.com/nock/nock/tree/v13.5.3)), distributed under the [MIT License](https://github.com/nock/nock/blob/v13.5.3/LICENSE): +This product includes source derived from [nock](https://github.com/nock/nock) ([v13.5.4](https://github.com/nock/nock/tree/v13.5.4)), distributed under the [MIT License](https://github.com/nock/nock/blob/v13.5.4/LICENSE): ``` MIT License diff --git a/package.json b/package.json index 4a38cb7..78f2636 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "eslint .", "lint:fix": "eslint . --fix", "lint:lockfile": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https --validate-integrity", - "unit": "c8 -o ./coverage/unit tap --expose-gc --jobs=1 --no-coverage tests/unit/*.tap.js", + "unit": "c8 -o ./coverage/unit tap --comment --expose-gc --jobs=1 --no-coverage tests/unit/*.tap.js", "integration": "c8 -o ./coverage/integration tap --timeout 360000 --jobs=1 --no-coverage tests/integration/*.tap.js", "native": "node tests/native/*.js", "test": "npm run unit && npm run integration", diff --git a/tests/unit/loop-metrics.tap.js b/tests/unit/loop-metrics.tap.js index 6b4f246..852348c 100644 --- a/tests/unit/loop-metrics.tap.js +++ b/tests/unit/loop-metrics.tap.js @@ -64,6 +64,9 @@ tap.test('Loop Metrics', function (t) { const usage = metric.usage const meanTime = usage.total / usage.count + t.comment( + `{ min: ${usage.min}, max: ${usage.max}, meanTime: ${meanTime}, total: ${usage.total} }` + ) t.ok( usage.total * MICRO_TO_MILLIS > SPIN_TIME - CPU_EPSILON, 'should have total greater than spin time' diff --git a/third_party_manifest.json b/third_party_manifest.json index def47c4..1ea1106 100644 --- a/third_party_manifest.json +++ b/third_party_manifest.json @@ -1,5 +1,5 @@ { - "lastUpdated": "Thu Feb 22 2024 15:10:33 GMT-0500 (Eastern Standard Time)", + "lastUpdated": "Tue Feb 27 2024 10:00:42 GMT-0500 (Eastern Standard Time)", "projectName": "Native Metrics for New Relic Node Agent", "projectUrl": "https://github.com/newrelic/node-native-metrics", "includeOptDeps": false, @@ -107,15 +107,15 @@ "licenseTextSource": "file", "publisher": "Caolan McMahon" }, - "aws-sdk@2.1564.0": { + "aws-sdk@2.1566.0": { "name": "aws-sdk", - "version": "2.1564.0", + "version": "2.1566.0", "range": "^2.266.1", "licenses": "Apache-2.0", "repoUrl": "https://github.com/aws/aws-sdk-js", - "versionedRepoUrl": "https://github.com/aws/aws-sdk-js/tree/v2.1564.0", + "versionedRepoUrl": "https://github.com/aws/aws-sdk-js/tree/v2.1566.0", "licenseFile": "node_modules/aws-sdk/LICENSE.txt", - "licenseUrl": "https://github.com/aws/aws-sdk-js/blob/v2.1564.0/LICENSE.txt", + "licenseUrl": "https://github.com/aws/aws-sdk-js/blob/v2.1566.0/LICENSE.txt", "licenseTextSource": "file", "publisher": "Amazon Web Services", "url": "https://aws.amazon.com/" @@ -234,15 +234,15 @@ "email": "liran.tal@gmail.com", "url": "https://github.com/lirantal" }, - "nock@13.5.3": { + "nock@13.5.4": { "name": "nock", - "version": "13.5.3", + "version": "13.5.4", "range": "^13.1.1", "licenses": "MIT", "repoUrl": "https://github.com/nock/nock", - "versionedRepoUrl": "https://github.com/nock/nock/tree/v13.5.3", + "versionedRepoUrl": "https://github.com/nock/nock/tree/v13.5.4", "licenseFile": "node_modules/nock/LICENSE", - "licenseUrl": "https://github.com/nock/nock/blob/v13.5.3/LICENSE", + "licenseUrl": "https://github.com/nock/nock/blob/v13.5.4/LICENSE", "licenseTextSource": "file", "publisher": "Pedro Teixeira", "email": "pedro.teixeira@gmail.com"