n1ru4l / envelop

Envelop is a lightweight library allowing developers to easily develop, share, collaborate and extend their GraphQL execution layer. Envelop is the missing GraphQL plugin system.
https://envelop.dev
MIT License
787 stars 127 forks source link

chore(deps): update dependency @newrelic/test-utilities to v9 #2271

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@newrelic/test-utilities 6.5.5 -> 9.1.0 age adoption passing confidence

Release Notes

newrelic/node-test-utilities (@​newrelic/test-utilities) ### [`v9.1.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v910-2024-08-19) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v9.0.0...v9.1.0) ##### Features - Added a --matrix-count parameter to versioned tests ([#​230](https://redirect.github.com/newrelic/node-test-utilities/pull/230)) ([72d8c7d](https://redirect.github.com/newrelic/node-test-utilities/commit/72d8c7dbc87a51978a9a635b608443da9518c957)) ### [`v9.0.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v900-2024-07-31) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.7.0...v9.0.0) ##### ⚠ BREAKING CHANGES - Dropped support for Node.js 16 ##### Features - Dropped support for Node.js 16 ([#​228](https://redirect.github.com/newrelic/node-test-utilities/pull/228)) ([e776e55](https://redirect.github.com/newrelic/node-test-utilities/commit/e776e555b960083bec1e6ea482a27c469f164076)) ##### Code refactoring - Reduced dependency on async library ([#​219](https://redirect.github.com/newrelic/node-test-utilities/pull/219)) ([582efe6](https://redirect.github.com/newrelic/node-test-utilities/commit/582efe6c58c339d8235dfa165c50230209a42d02)) - Removed install queue from versioned runner. It will install before running a given test and rely on the jobs limit ([#​221](https://redirect.github.com/newrelic/node-test-utilities/pull/221)) ([d9c6d1b](https://redirect.github.com/newrelic/node-test-utilities/commit/d9c6d1b24e6e58c03a0359545003420685f85793)) ##### Continuous integration - Fixed test script to run all unit tests ([#​218](https://redirect.github.com/newrelic/node-test-utilities/pull/218)) ([61336d4](https://redirect.github.com/newrelic/node-test-utilities/commit/61336d448d1aba16db0bb4bc6fabdd7d080598db)) ### [`v8.7.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v870-2024-06-28) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.6.0...v8.7.0) ##### Features - Added support for Node 22 ##### Code refactoring - Removed --all flag from versioned runner as all runs will be using this since we no longer support Node.js versions that do not ship with npm7 ([#​216](https://redirect.github.com/newrelic/node-test-utilities/pull/216)) ([0db82d8](https://redirect.github.com/newrelic/node-test-utilities/commit/0db82d88dfe189a4c9ca954fb34121fc2de2d702)) ##### Miscellaneous chores - Updated minimum version of some dev dependencies. ([#​209](https://redirect.github.com/newrelic/node-test-utilities/pull/209)) ([e032b3e](https://redirect.github.com/newrelic/node-test-utilities/commit/e032b3ea543cb331623fcf10d891428f7906c2ee))([#​210](https://redirect.github.com/newrelic/node-test-utilities/pull/210)) ([a6b631f](https://redirect.github.com/newrelic/node-test-utilities/commit/a6b631fc9d9e4c08573304febfe9b68d262f1198))([#​212](https://redirect.github.com/newrelic/node-test-utilities/pull/212)) ([40fae94](https://redirect.github.com/newrelic/node-test-utilities/commit/40fae941e0f40852f6b0f0e89e2865580fcec2df)) ##### Continuous integration - Added Node 22 to CI ([#​204](https://redirect.github.com/newrelic/node-test-utilities/pull/204)) ([e24fdbc](https://redirect.github.com/newrelic/node-test-utilities/commit/e24fdbca95cfb9f7ab75cd77a34a7028d893b631)) ### [`v8.6.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v860-2024-06-03) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.5.0...v8.6.0) ##### Miscellaneous chores - Updated mock agent to exclusively rely on InstrumentationTracker ([#​203](https://redirect.github.com/newrelic/node-test-utilities/pull/203)) ([0e4d810](https://redirect.github.com/newrelic/node-test-utilities/commit/0e4d810210ab2c1e228756d29165791fdd1e4374)) ### [`v8.5.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v850-2024-04-15) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.4.0...v8.5.0) ##### Features - Added a quiet mode printer to versioned-tests ([#​201](https://redirect.github.com/newrelic/node-test-utilities/pull/201)) ([9477251](https://redirect.github.com/newrelic/node-test-utilities/commit/94772519120473980ad264f9da7b99651cca2faf)) ##### Continuous integration - Removed `use_new_release` input from prepare release workflow ([#​200](https://redirect.github.com/newrelic/node-test-utilities/pull/200)) ([0f40f8b](https://redirect.github.com/newrelic/node-test-utilities/commit/0f40f8befbf82aea5fd31fcfa57a6464f3bff393)) - removed changelog.json file ([#​198](https://redirect.github.com/newrelic/node-test-utilities/pull/198)) ([3a32b2b](https://redirect.github.com/newrelic/node-test-utilities/commit/3a32b2b0b0a5df723f631f43470d6e48deb8cbde)) ### [`v8.4.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v840-2024-04-02) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.3.0...v8.4.0) ##### Miscellaneous chores - Added instrumentation tracking to support newrelic [issue 2033](https://redirect.github.com/newrelic/node-newrelic/issues/2033) ([#​195](https://redirect.github.com/newrelic/node-test-utilities/pull/195)) ([730e747](https://redirect.github.com/newrelic/node-test-utilities/commit/730e747dffb99c0fa9156566eee03b5cc0a06466)) - Fixed typo in workflow variable ([#​196](https://redirect.github.com/newrelic/node-test-utilities/pull/196)) ([6535efa](https://redirect.github.com/newrelic/node-test-utilities/commit/6535efa80c1d7fb89a08517c70c5dc414601cfb1)) ##### Continuous integration - Updated repo to use conventional commits for releases ([#​194](https://redirect.github.com/newrelic/node-test-utilities/pull/194)) ([4254669](https://redirect.github.com/newrelic/node-test-utilities/commit/4254669539d2cd7af617f5ea58ae5757db66c3b9)) ### [`v8.3.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v830-2024-03-06) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.2.0...v8.3.0) - Added new Amazon Titan LLM responses to support `token_count` work. ### [`v8.2.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v820-2024-02-01) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.1.0...v8.2.0) - Adds a new module that provides a mock server for AWS Bedrock. - Bumps [follow-redirects](https://redirect.github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - Bumps [axios](https://redirect.github.com/axios/axios) to 1.6.0 and updates ancestor dependency [newrelic](https://redirect.github.com/newrelic/node-newrelic). These dependencies need to be updated together. - Updates `axios` from 0.21.4 to 1.6.0 - Updates `newrelic` from 11.0.0 to 11.5.0 - Bumps and [@​babel/traverse](https://redirect.github.com/babel/babel/tree/HEAD/packages/babel-traverse). These dependencies needed to be updated together. - Updates `@babel/traverse` from 7.22.8 to 7.23.2 - Updates `@babel/traverse` from 7.21.3 to 7.23.2 ### [`v8.1.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v810-2023-08-29) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v8.0.0...v8.1.0) - Updated the TestAgent to call `shimmer.registerHooks` and `shimmer.removeHooks` to set up instrumentation and remove it. ### [`v8.0.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v800-2023-08-28) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.3.2...v8.0.0) - **BREAKING CHANGE**: Removed support for Node 14. - Added support for Node 20. - Gated usage of loader in versioned tests by NR_LOADER environment variable - Updated vulnerable dependencies: - word-wrap from 1.2.3 to 1.2.4. - protobufjs from 7.2.2 to 7.2.4. - fast-xml-parser from 4.2.4 to 4.2.5 - [@​aws-sdk/client-lambda](https://redirect.github.com/aws-sdk/client-lambda) from 3.357.0 to 3.363.0 ### [`v7.3.2`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v732-2023-06-22) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.3.1...v7.3.2) - Updated `semver` to 7.5.2 - Updated `newrelic` dev dependency to 10.3.0 - Updated `@newrelic/eslint-config` to 0.3.0 - Updated `eslint` dev dependency to 8.43.0 - Updated README links to point to new forum link due to repolinter ruleset change ### [`v7.3.1`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v731-2023-05-03) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.3.0...v7.3.1) - Updated `TestAgent.getShim` to require an exported module and pull the shim symbol. ### [`v7.3.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v730-2023-03-23) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.2.1...v7.3.0) - Provided ability to register only core instrumentation or both core and 3rd party instrumentation. `TestAgent.makeFullyInstrumented` will register both. `TestAgent.makeInstrumented` will only register core instrumentation. - Updated README header image to latest OSS office required images ### [`v7.2.1`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v721-2023-01-10) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.2.0...v7.2.1) - Bumps [json5](https://redirect.github.com/json5/json5) from 2.2.1 to 2.2.2. - Streamlined CLM assertions to inherit tap from context. - Bypassed tapper/asserter abstractions so that CLM test failures are exposed. - Added lockfile checks to CI workflow to prevent malicious changes ### [`v7.2.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v720-2022-12-12) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.1.1...v7.2.0) - Added `assertCLMAttrs` testing method to utils, so it can be used to test CLM behavior in external repos ### [`v7.1.1`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v711-2022-09-15) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.1.0...v7.1.1) - Added detection for node version < 18, to supply correct loader flag ### [`v7.1.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v710-2022-09-14) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v7.0.0...v7.1.0) - Added the capacity of running ES module tests with the ESM loader from agent or a path to an ESM loader set as process.env.NR_LOADER. ### [`v7.0.0`](https://redirect.github.com/newrelic/node-test-utilities/blob/HEAD/CHANGELOG.md#v700-2022-07-27) [Compare Source](https://redirect.github.com/newrelic/node-test-utilities/compare/v6.5.5...v7.0.0) - Added support for Node 18. - **BREAKING** Removed support for Node 12. The minimum supported version is now Node v14. For further information on our support policy, see: https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent. - Updated test runner to use max CPUs available to run test folders in parallel when the `--jobs` parameter is not specified. - Bumped [moment](https://redirect.github.com/moment/moment) from 2.29.2 to 2.29.4 in package-lock. - Bumped [protobufjs](https://redirect.github.com/protobufjs/protobuf.js) from 6.11.2 to 6.11.3 in package-lock.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: abe94bf107d854af73e39e5cffc1d9c70ded7dac

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 3 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://ed2073c5.envelop.pages.dev](https://ed2073c5.envelop.pages.dev)
theguild-bot commented 3 months ago

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.............................................: 100.00% ✓ 767122      ✗ 0     
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: 100.00% ✓ 161892      ✗ 0     
     ✓ { mode:envelop-cache-jit }.......................: 100.00% ✓ 340940      ✗ 0     
     ✓ { mode:envelop-just-cache }......................: 100.00% ✓ 163072      ✗ 0     
     ✓ { mode:graphql-js }..............................: 100.00% ✓ 101218      ✗ 0     
     data_received......................................: 2.9 GB  24 MB/s
     data_sent..........................................: 167 MB  1.4 MB/s
     envelop_init.......................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     envelop_total......................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     event_loop_lag.....................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_context....................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_execute....................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_parse......................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_validate...................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_blocked...................................: avg=1.93µs  min=711ns    med=1.81µs  max=2.79ms   p(90)=2.31µs  p(95)=2.6µs  
     http_req_connecting................................: avg=16ns    min=0s       med=0s      max=993.49µs p(90)=0s      p(95)=0s     
     http_req_duration..................................: avg=2.84ms  min=164.82µs med=2.83ms  max=49.12ms  p(90)=5.2ms   p(95)=6.17ms 
       { expected_response:true }.......................: avg=2.84ms  min=164.82µs med=2.83ms  max=49.12ms  p(90)=5.2ms   p(95)=6.17ms 
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=3.43ms  min=482.54µs med=3.07ms  max=21.68ms  p(90)=5.81ms  p(95)=6.31ms 
     ✓ { mode:envelop-cache-jit }.......................: avg=1.45ms  min=164.82µs med=1.21ms  max=17.88ms  p(90)=2.44ms  p(95)=2.59ms 
     ✓ { mode:envelop-just-cache }......................: avg=3.4ms   min=425.03µs med=3.04ms  max=21.78ms  p(90)=5.73ms  p(95)=6.25ms 
     ✓ { mode:graphql-js }..............................: avg=5.66ms  min=888.57µs med=4.86ms  max=49.12ms  p(90)=9.46ms  p(95)=10.23ms
     http_req_failed....................................: 0.00%   ✓ 0           ✗ 383561
     http_req_receiving.................................: avg=34.39µs min=13.16µs  med=30.34µs max=12.01ms  p(90)=44.83µs p(95)=48.37µs
     http_req_sending...................................: avg=13.36µs min=4.35µs   med=10.94µs max=15.45ms  p(90)=20.02µs p(95)=21.21µs
     http_req_tls_handshaking...........................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...................................: avg=2.79ms  min=126.36µs med=2.77ms  max=49ms     p(90)=5.14ms  p(95)=6.12ms 
     http_reqs..........................................: 383561  3196.294308/s
     iteration_duration.................................: avg=3.12ms  min=353.33µs med=3.07ms  max=49.82ms  p(90)=5.47ms  p(95)=6.45ms 
     iterations.........................................: 383561  3196.294308/s
     vus................................................: 10      min=10        max=10  
     vus_max............................................: 20      min=20        max=20