newrelic 10.6.2 → 11.1.0

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,3 +1,69 @@
1
+ ### v11.1.0 (2023-09-07)
2
+
3
+ #### Features
4
+
5
+ * Added instrumentation for fetch. ([#1776](https://github.com/newrelic/node-newrelic/pull/1776)) ([980b4dc](https://github.com/newrelic/node-newrelic/commit/980b4dc31d085cafc45961a157f76cb73768741a))
6
+ * Removed undici feature flag. This will now instrument undici by default. ([#1772](https://github.com/newrelic/node-newrelic/pull/1772)) ([683b254](https://github.com/newrelic/node-newrelic/commit/683b254c1c4686527a37e628f80eed9fcc03cb37))
7
+ * Updated undici instrumentation to create segment on request create instead of after connection and opening socket to more accurately record time it takes to make an undici request. ([#1770](https://github.com/newrelic/node-newrelic/pull/1770)) ([3f494f8](https://github.com/newrelic/node-newrelic/commit/3f494f8ad8dd1350fbe034e9c4a582a40228bc45))
8
+
9
+ #### Performance Improvements
10
+
11
+ * **Trace:** optimise getTotalTimeDurationInMillis function to push to an array instead of concat arrays. ([#1774](https://github.com/newrelic/node-newrelic/pull/1774)) ([6ecde97](https://github.com/newrelic/node-newrelic/commit/6ecde97a5efeef4d816b2e82ba762f2130914658))
12
+ * Thanks @infinity-naveen for your contribution 🎉
13
+
14
+ #### Miscellaneous Chores
15
+
16
+ * Updated Next.js plugin versioned tests to use main now that require-in-the-middle fixes have been merged. ([#1768](https://github.com/newrelic/node-newrelic/pull/1768)) ([6a72d1f](https://github.com/newrelic/node-newrelic/commit/6a72d1fb452ea2655c35d7cd008fa78935821ab8))
17
+ * Upgraded `@newrelic/test-utilities` and removed unused shimmer.patchModule and shimmer.unpatchModule ([#1769](https://github.com/newrelic/node-newrelic/pull/1769)) ([96620ef](https://github.com/newrelic/node-newrelic/commit/96620efa725f0f548b683825cb3cefff270fb252))
18
+
19
+ ### v11.0.0 (2023-08-28)
20
+
21
+ #### ⚠ BREAKING CHANGES
22
+
23
+ * Removed support for Node 14.
24
+ * Replaced ESM loader with import-in-the-middle to fix instrumentation firing for both CommonJS and ESM.
25
+ * You must load both the ESM loader and agent as follows: `node --experimental-loader newrelic/esm-loader.mjs -r newrelic path/to/app.js`.
26
+ * Removed `config.esm.custom_instrumentation_entrypoint` to register ESM instrumentation. You can now just call the `newrelic.instrument*` APIs but you must pass in an object and specify `isEsm: true`. [See example](https://github.com/newrelic/newrelic-node-examples/blob/main/esm-app/custom-instrumentation/parse-json.js).
27
+ * Updated agent to use require-in-the-middle to register CommonJS instrumentation. You can no longer use an onResolved hook to register custom instrumentation.
28
+ * Updated the default context manager to be AsyncLocalContextManager.
29
+ * Renamed `shim.handleCATHeaders` to `shim.handleMqTracingHeaders`.
30
+
31
+ #### Features
32
+
33
+ * Added support for Node 20.
34
+ * Renamed `shim.handleCATHeaders` to `shim.handleMqTracingHeaders` ([#1735](https://github.com/newrelic/node-newrelic/pull/1735)) ([6788f9e](https://github.com/newrelic/node-newrelic/commit/6788f9e9b7ffb92e06b342553135871e5918fe87))
35
+ * If you have calls to `shim.handleCATHeaders`, the signature is identical and a function name change is only necessary.
36
+ * **Note**: The agent will be removing CAT functionality in an upcoming release.
37
+ * Updated the default context manager to be AsyncLocalContextManager ([#1731](https://github.com/newrelic/node-newrelic/pull/1731)) ([25f2bd8](https://github.com/newrelic/node-newrelic/commit/25f2bd8f9502c0e96fbe45ff4f417e426d32eed8))
38
+ * To restore functionality of legacy context manager you can set `config.feature_flag.legacy_context_manager` to `true` or `NEW_RELIC_FEATURE_FLAG_LEGACY_CONTEXT_MANAGER=true
39
+ * Please note this legacy context manager will be removed in future major releases. If you have any issues, please raise with New Relic support or on the [issues](https://github.com/newrelic/node-newrelic/issues) of the agent.
40
+
41
+ #### Bug Fixes
42
+
43
+ * Replaced esm loader with import-in-the-middle to fix instrumentation firing for both commonjs and esm ([#1760](https://github.com/newrelic/node-newrelic/pull/1760)) ([4452354](https://github.com/newrelic/node-newrelic/commit/4452354a567438b3830ef454ed0299df5a12eab4)), closes [1646](https://github.com/newrelic/node-newrelic/issues/1646)
44
+ * **Breaking Change**: Updated ESM loader that now requires to use both a loader and -r.
45
+ * `node --experimental-loader newrelic/esm-loader.mjs -r newrelic path/to/app.js`
46
+ * **Breaking Change**: Removed `config.esm.custom_instrumentation_entrypoint` to register ESM instrumentation.
47
+ * You can now just call the `newrelic.instrument*` APIs but you must pass in an object and specify `isEsm: true`.
48
+ * Updated prisma instrumentation to parse prisma datamodel with internal package ([#1765](https://github.com/newrelic/node-newrelic/pull/1765)) ([48079b3](https://github.com/newrelic/node-newrelic/commit/48079b30332ef44b175443478dbe572fc4031ce7))
49
+
50
+ #### Code Refactoring
51
+
52
+ * Updated agent to use require-in-the-middle to register CommonJS instrumentation ([#1758](https://github.com/newrelic/node-newrelic/pull/1758)) ([d4b4f11](https://github.com/newrelic/node-newrelic/commit/d4b4f1177267dfc2e9e9216afe90180964fff823))
53
+ * Removed onResolved hook. If you're using custom instrumentation with an onResolved hook, you must update to use onRequire
54
+ * You can no longer instrument files that are not within a node_module unless you provide an absolute path to the file when registering the instrumentation.
55
+ * You cannot instrument both the base module and a sub module.
56
+
57
+ #### Miscellaneous Chores
58
+
59
+ * Remove support for Node 14 ([#1756](https://github.com/newrelic/node-newrelic/pull/1756)) ([0ff9912](https://github.com/newrelic/node-newrelic/commit/0ff9912cd581599f22e12bedf7625b974b9332b3))
60
+ * Updated the bundled packages to the latest `@newrelic/superagent`, `@newrelic/aws-sdk`, `@newrelic/koa`, `@newrelic/native-metrics`, and `@newrelic/test-utilities` ([#1766](https://github.com/newrelic/node-newrelic/pull/1766)) ([8f6e15b](https://github.com/newrelic/node-newrelic/commit/8f6e15b89054ee81bfe30a065f4e6c4cacd073b2))
61
+ * Updated the aws-sdk external branch to be main now that the code is in there ([#1761](https://github.com/newrelic/node-newrelic/pull/1761)) ([d34d0fe](https://github.com/newrelic/node-newrelic/commit/d34d0fe3c99dc2dbc40799dace5a2a6ebdc8e19f))
62
+
63
+ #### Tests
64
+
65
+ * update smoke tests versioned matrix in CI to 16, 18, and 20. ([#1762](https://github.com/newrelic/node-newrelic/pull/1762)) ([c82b517](https://github.com/newrelic/node-newrelic/commit/c82b517abbb34b7505ebeafbd9b5be837167ca33))
66
+
1
67
  ### v10.6.2 (2023-08-07)
2
68
 
3
69
  #### Bug Fixes
package/README.md CHANGED
@@ -78,40 +78,28 @@ $ mv newrelic.js newrelic.cjs
78
78
  2. To use the newrelic ESM loader, start your program with node and use the `--experimental-loader` flag and a path to the loader file, like this:
79
79
 
80
80
  ```sh
81
- $ node --experimental-loader newrelic/esm-loader.mjs your-program.js
81
+ $ node --experimental-loader newrelic/esm-loader.mjs -r newrelic your-program.js
82
82
  ```
83
83
 
84
84
  **Note**: Unlike the CommonJS methods listed above, there are no alternatives to running the agent without the `--experimental-loader` flag.
85
85
 
86
86
  ### Custom Instrumentation
87
87
 
88
- The agent supports adding your own custom instrumentation to ES module applications. In order to load custom instrumentation in an ES module app, you'll need to update your `newrelic.cjs` file to include the following:
88
+ The agent supports adding your own custom instrumentation to ES module applications. You can use the instrumentation API methods. The only other difference between CommonJS custom instrumentation and ESM is you must provide a property of `isEsm: true`.
89
89
 
90
90
  ```js
91
- /* File: newrelic.cjs */
92
- 'use strict'
93
- /**
94
- * New Relic agent configuration.
95
- *
96
- * See lib/config/default.js in the agent distribution for a more complete
97
- * description of configuration variables and their potential values.
98
- */
99
- exports.config = {
100
- app_name: ['Your application or service name'],
101
- license_key: 'your new relic license key',
102
- api: {
103
- esm: {
104
- custom_instrumentation_entrypoint: '/path/to/my/instrumentation.js'
105
- }
91
+ import newrelic from 'newrelic'
92
+ newrelic.instrument({ moduleName: 'parse-json', isEsm: true }, function wrap(shim, parseJson, moduleName) {
93
+ shim.wrap(parseJson.default, function wrapParseJson(shim, orig) {
94
+ return function wrappedParseJson() {
95
+ const result = orig.apply(this, arguments)
96
+ result.instrumented = true
97
+ return true
106
98
  }
107
- /* ... rest of configuration .. */
108
- }
99
+ })
100
+ })
109
101
  ```
110
102
 
111
- If you do not use a configuration file, then use the environment variable `NEW_RELIC_API_ESM_CUSTOM_INSTRUMENTATION_ENTRYPOINT` instead.
112
-
113
- By updating the configuration, the agent's ES module loader will ensure that your custom instrumentation is added at module load. This is required in ES module applications due to the immutability of module export bindings: we are unable to apply our instrumentation after loading is complete.
114
-
115
103
  We support the following custom instrumentation API methods in ES module apps:
116
104
 
117
105
  * `newrelic.instrument`
@@ -16,7 +16,6 @@ code, the source code can be found at [https://github.com/newrelic/node-newrelic
16
16
 
17
17
  * [@grpc/grpc-js](#grpcgrpc-js)
18
18
  * [@grpc/proto-loader](#grpcproto-loader)
19
- * [@mrleebo/prisma-ast](#mrleeboprisma-ast)
20
19
  * [@newrelic/aws-sdk](#newrelicaws-sdk)
21
20
  * [@newrelic/koa](#newrelickoa)
22
21
  * [@newrelic/security-agent](#newrelicsecurity-agent)
@@ -24,9 +23,11 @@ code, the source code can be found at [https://github.com/newrelic/node-newrelic
24
23
  * [@tyriar/fibonacci-heap](#tyriarfibonacci-heap)
25
24
  * [concat-stream](#concat-stream)
26
25
  * [https-proxy-agent](#https-proxy-agent)
26
+ * [import-in-the-middle](#import-in-the-middle)
27
27
  * [json-bigint](#json-bigint)
28
28
  * [json-stringify-safe](#json-stringify-safe)
29
29
  * [readable-stream](#readable-stream)
30
+ * [require-in-the-middle](#require-in-the-middle)
30
31
  * [semver](#semver)
31
32
  * [winston-transport](#winston-transport)
32
33
 
@@ -73,13 +74,13 @@ code, the source code can be found at [https://github.com/newrelic/node-newrelic
73
74
  * [sinon](#sinon)
74
75
  * [tap](#tap)
75
76
  * [temp](#temp)
76
- * [testdouble](#testdouble)
77
77
  * [when](#when)
78
78
 
79
79
  **[optionalDependencies](#optionalDependencies)**
80
80
 
81
81
  * [@contrast/fn-inspect](#contrastfn-inspect)
82
82
  * [@newrelic/native-metrics](#newrelicnative-metrics)
83
+ * [@prisma/prisma-fmt-wasm](#prismaprisma-fmt-wasm)
83
84
 
84
85
  **[Additional Licenses](#additional-licenses)**
85
86
 
@@ -506,37 +507,9 @@ This product includes source derived from [@grpc/proto-loader](https://github.co
506
507
 
507
508
  ```
508
509
 
509
- ### @mrleebo/prisma-ast
510
-
511
- This product includes source derived from [@mrleebo/prisma-ast](https://github.com/MrLeebo/prisma-ast) ([v0.5.2](https://github.com/MrLeebo/prisma-ast/tree/v0.5.2)), distributed under the [MIT License](https://github.com/MrLeebo/prisma-ast/blob/v0.5.2/LICENSE):
512
-
513
- ```
514
- MIT License
515
-
516
- Copyright (c) 2021 Jeremy Liberman
517
-
518
- Permission is hereby granted, free of charge, to any person obtaining a copy
519
- of this software and associated documentation files (the "Software"), to deal
520
- in the Software without restriction, including without limitation the rights
521
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
522
- copies of the Software, and to permit persons to whom the Software is
523
- furnished to do so, subject to the following conditions:
524
-
525
- The above copyright notice and this permission notice shall be included in all
526
- copies or substantial portions of the Software.
527
-
528
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
529
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
530
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
531
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
532
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
533
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
534
- SOFTWARE.
535
- ```
536
-
537
510
  ### @newrelic/aws-sdk
538
511
 
539
- This product includes source derived from [@newrelic/aws-sdk](https://github.com/newrelic/node-newrelic-aws-sdk) ([v6.0.0](https://github.com/newrelic/node-newrelic-aws-sdk/tree/v6.0.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic-aws-sdk/blob/v6.0.0/LICENSE):
512
+ This product includes source derived from [@newrelic/aws-sdk](https://github.com/newrelic/node-newrelic-aws-sdk) ([v7.0.0](https://github.com/newrelic/node-newrelic-aws-sdk/tree/v7.0.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic-aws-sdk/blob/v7.0.0/LICENSE):
540
513
 
541
514
  ```
542
515
  Apache License
@@ -744,7 +717,7 @@ This product includes source derived from [@newrelic/aws-sdk](https://github.com
744
717
 
745
718
  ### @newrelic/koa
746
719
 
747
- This product includes source derived from [@newrelic/koa](https://github.com/newrelic/node-newrelic-koa) ([v7.2.0](https://github.com/newrelic/node-newrelic-koa/tree/v7.2.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic-koa/blob/v7.2.0/LICENSE):
720
+ This product includes source derived from [@newrelic/koa](https://github.com/newrelic/node-newrelic-koa) ([v8.0.0](https://github.com/newrelic/node-newrelic-koa/tree/v8.0.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic-koa/blob/v8.0.0/LICENSE):
748
721
 
749
722
  ```
750
723
  Apache License
@@ -1004,7 +977,7 @@ This license terminates when the Pre-Release Software stops being provided by Ne
1004
977
 
1005
978
  ### @newrelic/superagent
1006
979
 
1007
- This product includes source derived from [@newrelic/superagent](https://github.com/newrelic/node-newrelic-superagent) ([v6.0.0](https://github.com/newrelic/node-newrelic-superagent/tree/v6.0.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic-superagent/blob/v6.0.0/LICENSE):
980
+ This product includes source derived from [@newrelic/superagent](https://github.com/newrelic/node-newrelic-superagent) ([v7.0.0](https://github.com/newrelic/node-newrelic-superagent/tree/v7.0.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-newrelic-superagent/blob/v7.0.0/LICENSE):
1008
981
 
1009
982
  ```
1010
983
  Apache License
@@ -1287,6 +1260,27 @@ The above copyright notice and this permission notice shall be included in all c
1287
1260
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1288
1261
  ```
1289
1262
 
1263
+ ### import-in-the-middle
1264
+
1265
+ This product includes source derived from [import-in-the-middle](https://github.com/DataDog/import-in-the-middle) ([v1.4.2](https://github.com/DataDog/import-in-the-middle/tree/v1.4.2)), distributed under the [Apache-2.0 License](https://github.com/DataDog/import-in-the-middle/blob/v1.4.2/LICENSE):
1266
+
1267
+ ```
1268
+ Copyright 2021 Datadog, Inc.
1269
+
1270
+ Licensed under the Apache License, Version 2.0 (the "License");
1271
+ you may not use this file except in compliance with the License.
1272
+ You may obtain a copy of the License at
1273
+
1274
+ http://www.apache.org/licenses/LICENSE-2.0
1275
+
1276
+ Unless required by applicable law or agreed to in writing, software
1277
+ distributed under the License is distributed on an "AS IS" BASIS,
1278
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1279
+ See the License for the specific language governing permissions and
1280
+ limitations under the License.
1281
+
1282
+ ```
1283
+
1290
1284
  ### json-bigint
1291
1285
 
1292
1286
  This product includes source derived from [json-bigint](https://github.com/sidorares/json-bigint) ([v1.0.0](https://github.com/sidorares/json-bigint/tree/v1.0.0)), distributed under the [MIT License](https://github.com/sidorares/json-bigint/blob/v1.0.0/LICENSE):
@@ -1393,6 +1387,36 @@ IN THE SOFTWARE.
1393
1387
 
1394
1388
  ```
1395
1389
 
1390
+ ### require-in-the-middle
1391
+
1392
+ This product includes source derived from [require-in-the-middle](https://github.com/elastic/require-in-the-middle) ([v7.2.0](https://github.com/elastic/require-in-the-middle/tree/v7.2.0)), distributed under the [MIT License](https://github.com/elastic/require-in-the-middle/blob/v7.2.0/LICENSE):
1393
+
1394
+ ```
1395
+ The MIT License (MIT)
1396
+
1397
+ Copyright (c) 2016-2019, Thomas Watson Steen
1398
+ Copyright (c) 2019-2023, Elasticsearch B.V.
1399
+
1400
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1401
+ of this software and associated documentation files (the "Software"), to deal
1402
+ in the Software without restriction, including without limitation the rights
1403
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1404
+ copies of the Software, and to permit persons to whom the Software is
1405
+ furnished to do so, subject to the following conditions:
1406
+
1407
+ The above copyright notice and this permission notice shall be included in all
1408
+ copies or substantial portions of the Software.
1409
+
1410
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1411
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1412
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1413
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1414
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1415
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1416
+ SOFTWARE.
1417
+
1418
+ ```
1419
+
1396
1420
  ### semver
1397
1421
 
1398
1422
  This product includes source derived from [semver](https://github.com/npm/node-semver) ([v7.5.4](https://github.com/npm/node-semver/tree/v7.5.4)), distributed under the [ISC License](https://github.com/npm/node-semver/blob/v7.5.4/LICENSE):
@@ -1868,7 +1892,7 @@ This product includes source derived from [@newrelic/newrelic-oss-cli](https://g
1868
1892
 
1869
1893
  ### @newrelic/test-utilities
1870
1894
 
1871
- 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):
1895
+ This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v8.1.0](https://github.com/newrelic/node-test-utilities/tree/v8.1.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v8.1.0/LICENSE):
1872
1896
 
1873
1897
  ```
1874
1898
  Apache License
@@ -2194,7 +2218,7 @@ THE SOFTWARE.
2194
2218
 
2195
2219
  ### c8
2196
2220
 
2197
- This product includes source derived from [c8](https://github.com/bcoe/c8) ([v7.14.0](https://github.com/bcoe/c8/tree/v7.14.0)), distributed under the [ISC License](https://github.com/bcoe/c8/blob/v7.14.0/LICENSE.txt):
2221
+ This product includes source derived from [c8](https://github.com/bcoe/c8) ([v8.0.1](https://github.com/bcoe/c8/tree/v8.0.1)), distributed under the [ISC License](https://github.com/bcoe/c8/blob/v8.0.1/LICENSE.txt):
2198
2222
 
2199
2223
  ```
2200
2224
  Copyright (c) 2017, Contributors
@@ -9465,35 +9489,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9465
9489
 
9466
9490
  ```
9467
9491
 
9468
- ### testdouble
9469
-
9470
- This product includes source derived from [testdouble](https://github.com/testdouble/testdouble.js) ([v3.17.2](https://github.com/testdouble/testdouble.js/tree/v3.17.2)), distributed under the [MIT License](https://github.com/testdouble/testdouble.js/blob/v3.17.2/LICENSE.txt):
9471
-
9472
- ```
9473
- The MIT License (MIT)
9474
-
9475
- Copyright (c) 2015 Test Double, LLC.
9476
-
9477
- Permission is hereby granted, free of charge, to any person obtaining a copy
9478
- of this software and associated documentation files (the "Software"), to deal
9479
- in the Software without restriction, including without limitation the rights
9480
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9481
- copies of the Software, and to permit persons to whom the Software is
9482
- furnished to do so, subject to the following conditions:
9483
-
9484
- The above copyright notice and this permission notice shall be included in all
9485
- copies or substantial portions of the Software.
9486
-
9487
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9488
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
9489
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
9490
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9491
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
9492
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
9493
- SOFTWARE.
9494
-
9495
- ```
9496
-
9497
9492
  ### when
9498
9493
 
9499
9494
  This product includes source derived from [when](https://github.com/cujojs/when) ([v3.7.8](https://github.com/cujojs/when/tree/v3.7.8)), distributed under the [MIT License](https://github.com/cujojs/when/blob/v3.7.8/LICENSE.txt):
@@ -9556,7 +9551,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9556
9551
 
9557
9552
  ### @newrelic/native-metrics
9558
9553
 
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):
9554
+ This product includes source derived from [@newrelic/native-metrics](https://github.com/newrelic/node-native-metrics) ([v10.0.0](https://github.com/newrelic/node-native-metrics/tree/v10.0.0)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-native-metrics/blob/v10.0.0/LICENSE):
9560
9555
 
9561
9556
  ```
9562
9557
  Apache License
@@ -9763,6 +9758,86 @@ This product includes source derived from [@newrelic/native-metrics](https://git
9763
9758
 
9764
9759
  ```
9765
9760
 
9761
+ ### @prisma/prisma-fmt-wasm
9762
+
9763
+ This product includes source derived from [@prisma/prisma-fmt-wasm](https://github.com/prisma/prisma-engines) ([v4.17.0-16.27eb2449f178cd9fe1a4b892d732cc4795f75085](https://github.com/prisma/prisma-engines/tree/v4.17.0-16.27eb2449f178cd9fe1a4b892d732cc4795f75085)), distributed under the [Apache-2.0 License](https://github.com/prisma/prisma-engines/blob/v4.17.0-16.27eb2449f178cd9fe1a4b892d732cc4795f75085/README.md):
9764
+
9765
+ ```
9766
+ Apache License
9767
+ Version 2.0, January 2004
9768
+ http://www.apache.org/licenses/
9769
+
9770
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9771
+
9772
+ 1. Definitions.
9773
+
9774
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
9775
+
9776
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
9777
+
9778
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
9779
+
9780
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
9781
+
9782
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
9783
+
9784
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
9785
+
9786
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
9787
+
9788
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
9789
+
9790
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
9791
+
9792
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
9793
+
9794
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
9795
+
9796
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
9797
+
9798
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
9799
+
9800
+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
9801
+
9802
+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
9803
+
9804
+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
9805
+
9806
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
9807
+
9808
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
9809
+
9810
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
9811
+
9812
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
9813
+
9814
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
9815
+
9816
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9817
+
9818
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
9819
+
9820
+ END OF TERMS AND CONDITIONS
9821
+
9822
+ APPENDIX: How to apply the Apache License to your work.
9823
+
9824
+ To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
9825
+
9826
+ Copyright [yyyy] [name of copyright owner]
9827
+
9828
+ Licensed under the Apache License, Version 2.0 (the "License");
9829
+ you may not use this file except in compliance with the License.
9830
+ You may obtain a copy of the License at
9831
+
9832
+ http://www.apache.org/licenses/LICENSE-2.0
9833
+
9834
+ Unless required by applicable law or agreed to in writing, software
9835
+ distributed under the License is distributed on an "AS IS" BASIS,
9836
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9837
+ See the License for the specific language governing permissions and
9838
+ limitations under the License.
9839
+ ```
9840
+
9766
9841
  ## Additional Licenses
9767
9842
 
9768
9843
  ### Symantec