@depup/elastic-apm-node 4.15.0-depup.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.
Files changed (154) hide show
  1. package/LICENSE +26 -0
  2. package/NOTICE.md +442 -0
  3. package/README.md +48 -0
  4. package/changes.json +78 -0
  5. package/index.d.ts +398 -0
  6. package/index.js +11 -0
  7. package/lib/InflightEventSet.js +53 -0
  8. package/lib/activation-method.js +119 -0
  9. package/lib/agent.js +941 -0
  10. package/lib/apm-client/apm-client.js +313 -0
  11. package/lib/apm-client/http-apm-client/CHANGELOG.md +271 -0
  12. package/lib/apm-client/http-apm-client/README.md +485 -0
  13. package/lib/apm-client/http-apm-client/central-config.js +41 -0
  14. package/lib/apm-client/http-apm-client/container-info.js +111 -0
  15. package/lib/apm-client/http-apm-client/detect-hostname.js +96 -0
  16. package/lib/apm-client/http-apm-client/index.js +1975 -0
  17. package/lib/apm-client/http-apm-client/logging.js +31 -0
  18. package/lib/apm-client/http-apm-client/ndjson.js +20 -0
  19. package/lib/apm-client/http-apm-client/truncate.js +434 -0
  20. package/lib/apm-client/noop-apm-client.js +73 -0
  21. package/lib/async-hooks-polyfill.js +58 -0
  22. package/lib/cloud-metadata/aws.js +175 -0
  23. package/lib/cloud-metadata/azure.js +123 -0
  24. package/lib/cloud-metadata/callback-coordination.js +159 -0
  25. package/lib/cloud-metadata/gcp.js +133 -0
  26. package/lib/cloud-metadata/index.js +175 -0
  27. package/lib/config/config.js +458 -0
  28. package/lib/config/normalizers.js +701 -0
  29. package/lib/config/schema.js +1007 -0
  30. package/lib/constants.js +35 -0
  31. package/lib/errors.js +303 -0
  32. package/lib/filters/sanitize-field-names.js +69 -0
  33. package/lib/http-request.js +249 -0
  34. package/lib/instrumentation/azure-functions.js +519 -0
  35. package/lib/instrumentation/context.js +56 -0
  36. package/lib/instrumentation/dropped-spans-stats.js +112 -0
  37. package/lib/instrumentation/elasticsearch-shared.js +63 -0
  38. package/lib/instrumentation/express-utils.js +91 -0
  39. package/lib/instrumentation/generic-span.js +322 -0
  40. package/lib/instrumentation/http-shared.js +424 -0
  41. package/lib/instrumentation/ids.js +39 -0
  42. package/lib/instrumentation/index.js +1127 -0
  43. package/lib/instrumentation/modules/@apollo/server.js +30 -0
  44. package/lib/instrumentation/modules/@aws-sdk/client-dynamodb.js +143 -0
  45. package/lib/instrumentation/modules/@aws-sdk/client-s3.js +230 -0
  46. package/lib/instrumentation/modules/@aws-sdk/client-sns.js +197 -0
  47. package/lib/instrumentation/modules/@aws-sdk/client-sqs.js +336 -0
  48. package/lib/instrumentation/modules/@elastic/elasticsearch.js +343 -0
  49. package/lib/instrumentation/modules/@hapi/hapi.js +221 -0
  50. package/lib/instrumentation/modules/@opentelemetry/api.js +86 -0
  51. package/lib/instrumentation/modules/@opentelemetry/sdk-metrics.js +79 -0
  52. package/lib/instrumentation/modules/@redis/client/dist/lib/client/commands-queue.js +178 -0
  53. package/lib/instrumentation/modules/@redis/client/dist/lib/client/index.js +49 -0
  54. package/lib/instrumentation/modules/@smithy/smithy-client.js +198 -0
  55. package/lib/instrumentation/modules/_lambda-handler.js +40 -0
  56. package/lib/instrumentation/modules/apollo-server-core.js +49 -0
  57. package/lib/instrumentation/modules/aws-sdk/dynamodb.js +155 -0
  58. package/lib/instrumentation/modules/aws-sdk/s3.js +184 -0
  59. package/lib/instrumentation/modules/aws-sdk/sns.js +232 -0
  60. package/lib/instrumentation/modules/aws-sdk/sqs.js +361 -0
  61. package/lib/instrumentation/modules/aws-sdk.js +76 -0
  62. package/lib/instrumentation/modules/bluebird.js +93 -0
  63. package/lib/instrumentation/modules/cassandra-driver.js +280 -0
  64. package/lib/instrumentation/modules/elasticsearch.js +191 -0
  65. package/lib/instrumentation/modules/express-graphql.js +66 -0
  66. package/lib/instrumentation/modules/express-queue.js +28 -0
  67. package/lib/instrumentation/modules/express.js +162 -0
  68. package/lib/instrumentation/modules/fastify.js +172 -0
  69. package/lib/instrumentation/modules/finalhandler.js +41 -0
  70. package/lib/instrumentation/modules/generic-pool.js +85 -0
  71. package/lib/instrumentation/modules/graphql.js +256 -0
  72. package/lib/instrumentation/modules/handlebars.js +22 -0
  73. package/lib/instrumentation/modules/http.js +112 -0
  74. package/lib/instrumentation/modules/http2.js +320 -0
  75. package/lib/instrumentation/modules/https.js +68 -0
  76. package/lib/instrumentation/modules/ioredis.js +94 -0
  77. package/lib/instrumentation/modules/jade.js +18 -0
  78. package/lib/instrumentation/modules/kafkajs.js +476 -0
  79. package/lib/instrumentation/modules/knex.js +91 -0
  80. package/lib/instrumentation/modules/koa-router.js +74 -0
  81. package/lib/instrumentation/modules/koa.js +15 -0
  82. package/lib/instrumentation/modules/memcached.js +99 -0
  83. package/lib/instrumentation/modules/mimic-response.js +45 -0
  84. package/lib/instrumentation/modules/mongodb/lib/cmap/connection_pool.js +40 -0
  85. package/lib/instrumentation/modules/mongodb-core.js +206 -0
  86. package/lib/instrumentation/modules/mongodb.js +259 -0
  87. package/lib/instrumentation/modules/mysql.js +200 -0
  88. package/lib/instrumentation/modules/mysql2.js +140 -0
  89. package/lib/instrumentation/modules/pg.js +148 -0
  90. package/lib/instrumentation/modules/pug.js +18 -0
  91. package/lib/instrumentation/modules/redis.js +176 -0
  92. package/lib/instrumentation/modules/restify.js +52 -0
  93. package/lib/instrumentation/modules/tedious.js +159 -0
  94. package/lib/instrumentation/modules/undici.js +270 -0
  95. package/lib/instrumentation/modules/ws.js +59 -0
  96. package/lib/instrumentation/noop-transaction.js +81 -0
  97. package/lib/instrumentation/run-context/AbstractRunContextManager.js +215 -0
  98. package/lib/instrumentation/run-context/AsyncHooksRunContextManager.js +106 -0
  99. package/lib/instrumentation/run-context/AsyncLocalStorageRunContextManager.js +73 -0
  100. package/lib/instrumentation/run-context/BasicRunContextManager.js +82 -0
  101. package/lib/instrumentation/run-context/RunContext.js +151 -0
  102. package/lib/instrumentation/run-context/index.js +23 -0
  103. package/lib/instrumentation/shimmer.js +123 -0
  104. package/lib/instrumentation/span-compression.js +239 -0
  105. package/lib/instrumentation/span.js +621 -0
  106. package/lib/instrumentation/template-shared.js +43 -0
  107. package/lib/instrumentation/timer.js +84 -0
  108. package/lib/instrumentation/transaction.js +571 -0
  109. package/lib/lambda.js +992 -0
  110. package/lib/load-source-map.js +100 -0
  111. package/lib/logging.js +212 -0
  112. package/lib/metrics/index.js +92 -0
  113. package/lib/metrics/platforms/generic/index.js +40 -0
  114. package/lib/metrics/platforms/generic/process-cpu.js +22 -0
  115. package/lib/metrics/platforms/generic/process-top.js +157 -0
  116. package/lib/metrics/platforms/generic/stats.js +34 -0
  117. package/lib/metrics/platforms/generic/system-cpu.js +51 -0
  118. package/lib/metrics/platforms/linux/index.js +19 -0
  119. package/lib/metrics/platforms/linux/stats.js +213 -0
  120. package/lib/metrics/queue.js +90 -0
  121. package/lib/metrics/registry.js +52 -0
  122. package/lib/metrics/reporter.js +119 -0
  123. package/lib/metrics/runtime.js +77 -0
  124. package/lib/middleware/connect.js +16 -0
  125. package/lib/opentelemetry-bridge/OTelBridgeNonRecordingSpan.js +150 -0
  126. package/lib/opentelemetry-bridge/OTelBridgeRunContext.js +124 -0
  127. package/lib/opentelemetry-bridge/OTelContextManager.js +82 -0
  128. package/lib/opentelemetry-bridge/OTelSpan.js +344 -0
  129. package/lib/opentelemetry-bridge/OTelTracer.js +201 -0
  130. package/lib/opentelemetry-bridge/OTelTracerProvider.js +25 -0
  131. package/lib/opentelemetry-bridge/README.md +244 -0
  132. package/lib/opentelemetry-bridge/index.js +15 -0
  133. package/lib/opentelemetry-bridge/oblog.js +23 -0
  134. package/lib/opentelemetry-bridge/opentelemetry-core-mini/README.md +3 -0
  135. package/lib/opentelemetry-bridge/opentelemetry-core-mini/internal/validators.js +52 -0
  136. package/lib/opentelemetry-bridge/opentelemetry-core-mini/trace/TraceState.js +109 -0
  137. package/lib/opentelemetry-bridge/otelutils.js +99 -0
  138. package/lib/opentelemetry-bridge/setup.js +76 -0
  139. package/lib/opentelemetry-metrics/ElasticApmMetricExporter.js +285 -0
  140. package/lib/opentelemetry-metrics/index.js +50 -0
  141. package/lib/parsers.js +225 -0
  142. package/lib/propwrap.js +147 -0
  143. package/lib/stacktraces.js +537 -0
  144. package/lib/symbols.js +15 -0
  145. package/lib/tracecontext/index.js +118 -0
  146. package/lib/tracecontext/traceparent.js +185 -0
  147. package/lib/tracecontext/tracestate.js +388 -0
  148. package/lib/wildcard-matcher.js +52 -0
  149. package/loader.mjs +7 -0
  150. package/package.json +299 -0
  151. package/start.d.ts +8 -0
  152. package/start.js +29 -0
  153. package/types/aws-lambda.d.ts +98 -0
  154. package/types/connect.d.ts +23 -0
package/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2012, Matt Robenolt
4
+ Copyright (c) 2013-2014, Thomas Watson Steen and Elasticsearch B.V.
5
+ Copyright (c) 2015-2023, Elasticsearch B.V.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/NOTICE.md ADDED
@@ -0,0 +1,442 @@
1
+ apm-agent-nodejs
2
+ Copyright 2011-2022 Elasticsearch B.V.
3
+
4
+ # Notice
5
+
6
+ This project contains several dependencies which have been vendored in
7
+ due to a need for minor changes. Where possible changes have been
8
+ contributed back to the original project.
9
+
10
+ ## container-info
11
+
12
+ - **path:** [lib/container-info.js](lib/container-info.js)
13
+ - **author:** Stephen Belanger
14
+ - **project url:** https://github.com/Qard/container-info
15
+ - **original file:** https://github.com/Qard/container-info/blob/master/index.js
16
+ - **license:** MIT License (MIT), http://opensource.org/licenses/MIT
17
+
18
+ ```
19
+ ### Copyright (c) 2018 Stephen Belanger
20
+
21
+ #### Licensed under MIT License
22
+
23
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
26
+
27
+ 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.
28
+ ```
29
+
30
+ ## shimmer
31
+
32
+ - **path:** [lib/instrumentation/shimmer.js](lib/instrumentation/shimmer.js)
33
+ - **author:** Forrest L Norvell
34
+ - **project url:** https://github.com/othiym23/shimmer
35
+ - **original file:** https://github.com/othiym23/shimmer/blob/master/index.js
36
+ - **license:** BSD-2-Clause, http://opensource.org/licenses/BSD-2-Clause
37
+
38
+ ```
39
+ Copyright (c) 2013-2019, Forrest L Norvell
40
+ All rights reserved.
41
+
42
+ Redistribution and use in source and binary forms, with or without
43
+ modification, are permitted provided that the following conditions are met:
44
+
45
+ * Redistributions of source code must retain the above copyright notice, this
46
+ list of conditions and the following disclaimer.
47
+
48
+ * Redistributions in binary form must reproduce the above copyright notice,
49
+ this list of conditions and the following disclaimer in the documentation
50
+ and/or other materials provided with the distribution.
51
+
52
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
53
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
54
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
55
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
56
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
57
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
58
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
59
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
60
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
61
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62
+ ```
63
+
64
+ ## process-top
65
+
66
+ - **path:** [lib/metrics/platforms/generic/process-top.js](lib/metrics/platforms/generic/process-top.js)
67
+ - **author:** Mathias Buus
68
+ - **project url:** https://github.com/mafintosh/process-top
69
+ - **original file:** https://github.com/mafintosh/process-top/blob/master/index.js
70
+ - **license:** MIT License (MIT), http://opensource.org/licenses/MIT
71
+
72
+ ```
73
+ Copyright (c) 2018 Mathias Buus
74
+
75
+ Permission is hereby granted, free of charge, to any person obtaining a copy
76
+ of this software and associated documentation files (the "Software"), to deal
77
+ in the Software without restriction, including without limitation the rights
78
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
79
+ copies of the Software, and to permit persons to whom the Software is
80
+ furnished to do so, subject to the following conditions:
81
+
82
+ The above copyright notice and this permission notice shall be included in
83
+ all copies or substantial portions of the Software.
84
+
85
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
86
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
87
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
88
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
89
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
90
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
91
+ THE SOFTWARE.
92
+ ```
93
+
94
+ ## opentelemetry-js
95
+
96
+ - **path:** [lib/instrumentation/run-context/](lib/instrumentation/run-context/)
97
+ - **author:** OpenTelemetry Authors
98
+ - **project url:** https://github.com/open-telemetry/opentelemetry-js
99
+ - **original file:** https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-context-async-hooks/src
100
+ - **license:** Apache License 2.0, https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-context-async-hooks/LICENSE
101
+
102
+ Parts of "lib/instrumentation/run-context" have been adapted from or influenced
103
+ by TypeScript code in `@opentelemetry/context-async-hooks`.
104
+
105
+ - **path:** [lib/opentelemetry-bridge/otelutils.js](lib/opentelemetry-bridge/otelutils.js)
106
+ - **author:** OpenTelemetry Authors
107
+ - **project url:** https://github.com/open-telemetry/opentelemetry-js
108
+ - **original file:** https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core/src/common/time.ts
109
+ - **license:** Apache License 2.0, https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-core/LICENSE
110
+
111
+ "lib/opentelemetry-bridge/opentelemetry-core-mini/" includes files adapted from
112
+ code in `@opentelemetry/core`.
113
+
114
+ - **path:** [lib/opentelemetry-bridge/opentelemetry-core-mini/](lib/opentelemetry-bridge/opentelemetry-core-mini/)
115
+ - **author:** OpenTelemetry Authors
116
+ - **project url:** https://github.com/open-telemetry/opentelemetry-js
117
+ - **original file:** https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-core/src/
118
+ - **license:** Apache License 2.0, https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-core/LICENSE
119
+
120
+ ```
121
+ Apache License
122
+ Version 2.0, January 2004
123
+ http://www.apache.org/licenses/
124
+
125
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
126
+
127
+ 1. Definitions.
128
+
129
+ "License" shall mean the terms and conditions for use, reproduction,
130
+ and distribution as defined by Sections 1 through 9 of this document.
131
+
132
+ "Licensor" shall mean the copyright owner or entity authorized by
133
+ the copyright owner that is granting the License.
134
+
135
+ "Legal Entity" shall mean the union of the acting entity and all
136
+ other entities that control, are controlled by, or are under common
137
+ control with that entity. For the purposes of this definition,
138
+ "control" means (i) the power, direct or indirect, to cause the
139
+ direction or management of such entity, whether by contract or
140
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
141
+ outstanding shares, or (iii) beneficial ownership of such entity.
142
+
143
+ "You" (or "Your") shall mean an individual or Legal Entity
144
+ exercising permissions granted by this License.
145
+
146
+ "Source" form shall mean the preferred form for making modifications,
147
+ including but not limited to software source code, documentation
148
+ source, and configuration files.
149
+
150
+ "Object" form shall mean any form resulting from mechanical
151
+ transformation or translation of a Source form, including but
152
+ not limited to compiled object code, generated documentation,
153
+ and conversions to other media types.
154
+
155
+ "Work" shall mean the work of authorship, whether in Source or
156
+ Object form, made available under the License, as indicated by a
157
+ copyright notice that is included in or attached to the work
158
+ (an example is provided in the Appendix below).
159
+
160
+ "Derivative Works" shall mean any work, whether in Source or Object
161
+ form, that is based on (or derived from) the Work and for which the
162
+ editorial revisions, annotations, elaborations, or other modifications
163
+ represent, as a whole, an original work of authorship. For the purposes
164
+ of this License, Derivative Works shall not include works that remain
165
+ separable from, or merely link (or bind by name) to the interfaces of,
166
+ the Work and Derivative Works thereof.
167
+
168
+ "Contribution" shall mean any work of authorship, including
169
+ the original version of the Work and any modifications or additions
170
+ to that Work or Derivative Works thereof, that is intentionally
171
+ submitted to Licensor for inclusion in the Work by the copyright owner
172
+ or by an individual or Legal Entity authorized to submit on behalf of
173
+ the copyright owner. For the purposes of this definition, "submitted"
174
+ means any form of electronic, verbal, or written communication sent
175
+ to the Licensor or its representatives, including but not limited to
176
+ communication on electronic mailing lists, source code control systems,
177
+ and issue tracking systems that are managed by, or on behalf of, the
178
+ Licensor for the purpose of discussing and improving the Work, but
179
+ excluding communication that is conspicuously marked or otherwise
180
+ designated in writing by the copyright owner as "Not a Contribution."
181
+
182
+ "Contributor" shall mean Licensor and any individual or Legal Entity
183
+ on behalf of whom a Contribution has been received by Licensor and
184
+ subsequently incorporated within the Work.
185
+
186
+ 2. Grant of Copyright License. Subject to the terms and conditions of
187
+ this License, each Contributor hereby grants to You a perpetual,
188
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
189
+ copyright license to reproduce, prepare Derivative Works of,
190
+ publicly display, publicly perform, sublicense, and distribute the
191
+ Work and such Derivative Works in Source or Object form.
192
+
193
+ 3. Grant of Patent License. Subject to the terms and conditions of
194
+ this License, each Contributor hereby grants to You a perpetual,
195
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
196
+ (except as stated in this section) patent license to make, have made,
197
+ use, offer to sell, sell, import, and otherwise transfer the Work,
198
+ where such license applies only to those patent claims licensable
199
+ by such Contributor that are necessarily infringed by their
200
+ Contribution(s) alone or by combination of their Contribution(s)
201
+ with the Work to which such Contribution(s) was submitted. If You
202
+ institute patent litigation against any entity (including a
203
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
204
+ or a Contribution incorporated within the Work constitutes direct
205
+ or contributory patent infringement, then any patent licenses
206
+ granted to You under this License for that Work shall terminate
207
+ as of the date such litigation is filed.
208
+
209
+ 4. Redistribution. You may reproduce and distribute copies of the
210
+ Work or Derivative Works thereof in any medium, with or without
211
+ modifications, and in Source or Object form, provided that You
212
+ meet the following conditions:
213
+
214
+ (a) You must give any other recipients of the Work or
215
+ Derivative Works a copy of this License; and
216
+
217
+ (b) You must cause any modified files to carry prominent notices
218
+ stating that You changed the files; and
219
+
220
+ (c) You must retain, in the Source form of any Derivative Works
221
+ that You distribute, all copyright, patent, trademark, and
222
+ attribution notices from the Source form of the Work,
223
+ excluding those notices that do not pertain to any part of
224
+ the Derivative Works; and
225
+
226
+ (d) If the Work includes a "NOTICE" text file as part of its
227
+ distribution, then any Derivative Works that You distribute must
228
+ include a readable copy of the attribution notices contained
229
+ within such NOTICE file, excluding those notices that do not
230
+ pertain to any part of the Derivative Works, in at least one
231
+ of the following places: within a NOTICE text file distributed
232
+ as part of the Derivative Works; within the Source form or
233
+ documentation, if provided along with the Derivative Works; or,
234
+ within a display generated by the Derivative Works, if and
235
+ wherever such third-party notices normally appear. The contents
236
+ of the NOTICE file are for informational purposes only and
237
+ do not modify the License. You may add Your own attribution
238
+ notices within Derivative Works that You distribute, alongside
239
+ or as an addendum to the NOTICE text from the Work, provided
240
+ that such additional attribution notices cannot be construed
241
+ as modifying the License.
242
+
243
+ You may add Your own copyright statement to Your modifications and
244
+ may provide additional or different license terms and conditions
245
+ for use, reproduction, or distribution of Your modifications, or
246
+ for any such Derivative Works as a whole, provided Your use,
247
+ reproduction, and distribution of the Work otherwise complies with
248
+ the conditions stated in this License.
249
+
250
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
251
+ any Contribution intentionally submitted for inclusion in the Work
252
+ by You to the Licensor shall be under the terms and conditions of
253
+ this License, without any additional terms or conditions.
254
+ Notwithstanding the above, nothing herein shall supersede or modify
255
+ the terms of any separate license agreement you may have executed
256
+ with Licensor regarding such Contributions.
257
+
258
+ 6. Trademarks. This License does not grant permission to use the trade
259
+ names, trademarks, service marks, or product names of the Licensor,
260
+ except as required for reasonable and customary use in describing the
261
+ origin of the Work and reproducing the content of the NOTICE file.
262
+
263
+ 7. Disclaimer of Warranty. Unless required by applicable law or
264
+ agreed to in writing, Licensor provides the Work (and each
265
+ Contributor provides its Contributions) on an "AS IS" BASIS,
266
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
267
+ implied, including, without limitation, any warranties or conditions
268
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
269
+ PARTICULAR PURPOSE. You are solely responsible for determining the
270
+ appropriateness of using or redistributing the Work and assume any
271
+ risks associated with Your exercise of permissions under this License.
272
+
273
+ 8. Limitation of Liability. In no event and under no legal theory,
274
+ whether in tort (including negligence), contract, or otherwise,
275
+ unless required by applicable law (such as deliberate and grossly
276
+ negligent acts) or agreed to in writing, shall any Contributor be
277
+ liable to You for damages, including any direct, indirect, special,
278
+ incidental, or consequential damages of any character arising as a
279
+ result of this License or out of the use or inability to use the
280
+ Work (including but not limited to damages for loss of goodwill,
281
+ work stoppage, computer failure or malfunction, or any and all
282
+ other commercial damages or losses), even if such Contributor
283
+ has been advised of the possibility of such damages.
284
+
285
+ 9. Accepting Warranty or Additional Liability. While redistributing
286
+ the Work or Derivative Works thereof, You may choose to offer,
287
+ and charge a fee for, acceptance of support, warranty, indemnity,
288
+ or other liability obligations and/or rights consistent with this
289
+ License. However, in accepting such obligations, You may act only
290
+ on Your own behalf and on Your sole responsibility, not on behalf
291
+ of any other Contributor, and only if You agree to indemnify,
292
+ defend, and hold each Contributor harmless for any liability
293
+ incurred by, or claims asserted against, such Contributor by reason
294
+ of your accepting any such warranty or additional liability.
295
+
296
+ END OF TERMS AND CONDITIONS
297
+
298
+ APPENDIX: How to apply the Apache License to your work.
299
+
300
+ To apply the Apache License to your work, attach the following
301
+ boilerplate notice, with the fields enclosed by brackets "[]"
302
+ replaced with your own identifying information. (Don't include
303
+ the brackets!) The text should be enclosed in the appropriate
304
+ comment syntax for the file format. We also recommend that a
305
+ file or class name and description of purpose be included on the
306
+ same "printed page" as the copyright notice for easier
307
+ identification within third-party archives.
308
+
309
+ Copyright [yyyy] [name of copyright owner]
310
+
311
+ Licensed under the Apache License, Version 2.0 (the "License");
312
+ you may not use this file except in compliance with the License.
313
+ You may obtain a copy of the License at
314
+
315
+ http://www.apache.org/licenses/LICENSE-2.0
316
+
317
+ Unless required by applicable law or agreed to in writing, software
318
+ distributed under the License is distributed on an "AS IS" BASIS,
319
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
320
+ See the License for the specific language governing permissions and
321
+ limitations under the License.
322
+ ```
323
+
324
+ ## load-source-map
325
+
326
+ - **path:** [lib/load-source-map.js](lib/load-source-map.js)
327
+ - **author:** Espen Hovlandsdal
328
+ - **project url:** https://github.com/rexxars/load-source-map
329
+ - **original file:** https://github.com/rexxars/load-source-map/blob/v2.0.0/lib/index.js
330
+ - **license:** MIT License (MIT), http://opensource.org/licenses/MIT
331
+
332
+ ```
333
+ The MIT License (MIT)
334
+
335
+ Copyright (c) 2017 Espen Hovlandsdal
336
+
337
+ Permission is hereby granted, free of charge, to any person obtaining a copy
338
+ of this software and associated documentation files (the "Software"), to deal
339
+ in the Software without restriction, including without limitation the rights
340
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
341
+ copies of the Software, and to permit persons to whom the Software is
342
+ furnished to do so, subject to the following conditions:
343
+
344
+ The above copyright notice and this permission notice shall be included in all
345
+ copies or substantial portions of the Software.
346
+
347
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
348
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
349
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
350
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
351
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
352
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
353
+ SOFTWARE.
354
+ ```
355
+
356
+
357
+ ## esbuild
358
+
359
+ A small part of esbuild's runtime JS code is used in this project's
360
+ "lib/propwrap.js" module.
361
+
362
+ - **path:** [lib/propwrap.js](lib/propwrap.js)
363
+ - **author:** Evan Wallace
364
+ - **project url:** https://github.com/evanw/esbuild
365
+ - **original file:** https://github.com/evanw/esbuild/blob/v0.14.42/internal/runtime/runtime.go
366
+ - **license:** MIT License (MIT), http://opensource.org/licenses/MIT
367
+
368
+ ```
369
+ MIT License
370
+
371
+ Copyright (c) 2020 Evan Wallace
372
+
373
+ Permission is hereby granted, free of charge, to any person obtaining a copy
374
+ of this software and associated documentation files (the "Software"), to deal
375
+ in the Software without restriction, including without limitation the rights
376
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
377
+ copies of the Software, and to permit persons to whom the Software is
378
+ furnished to do so, subject to the following conditions:
379
+
380
+ The above copyright notice and this permission notice shall be included in all
381
+ copies or substantial portions of the Software.
382
+
383
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
384
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
385
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
386
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
387
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
388
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
389
+ SOFTWARE.
390
+ ```
391
+
392
+
393
+ ## @types/aws-lambda
394
+
395
+ A subset of `@types/aws-lambda` is vendored to support this project's TypeScript
396
+ types without required users to install the extra dependency.
397
+
398
+ - **path:** [types/aws-lambda.d.ts](types/aws-lambda.d.ts)
399
+ - **project url:** https://github.com/DefinitelyTyped/DefinitelyTyped
400
+ - **original file:** https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/aws-lambda/handler.d.ts
401
+ - **license:** MIT License (MIT), http://opensource.org/licenses/MIT
402
+
403
+ ```
404
+ This project is licensed under the MIT license.
405
+ Copyrights are respective of each contributor listed at the beginning of each definition file.
406
+
407
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
408
+
409
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
410
+
411
+ 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.
412
+ ```
413
+
414
+
415
+ ## Node.js
416
+
417
+ - **path:** [lib/async-hooks-polyfill.js](lib/async-hooks-polyfill.js)
418
+ - **project url:** https://github.com/nodejs/node
419
+ - **original file:** https://github.com/nodejs/node/blob/v17.8.0/lib/async_hooks.js
420
+ - **license:** Node.js license
421
+
422
+ ```
423
+ Copyright Node.js contributors. All rights reserved.
424
+
425
+ Permission is hereby granted, free of charge, to any person obtaining a copy
426
+ of this software and associated documentation files (the "Software"), to
427
+ deal in the Software without restriction, including without limitation the
428
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
429
+ sell copies of the Software, and to permit persons to whom the Software is
430
+ furnished to do so, subject to the following conditions:
431
+
432
+ The above copyright notice and this permission notice shall be included in
433
+ all copies or substantial portions of the Software.
434
+
435
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
436
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
437
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
438
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
439
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
440
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
441
+ IN THE SOFTWARE.
442
+ ```
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # @depup/elastic-apm-node
2
+
3
+ > Dependency-bumped version of [elastic-apm-node](https://www.npmjs.com/package/elastic-apm-node)
4
+
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @depup/elastic-apm-node
12
+ ```
13
+
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [elastic-apm-node](https://www.npmjs.com/package/elastic-apm-node) @ 4.15.0 |
17
+ | Processed | 2026-03-19 |
18
+ | Smoke test | failed |
19
+ | Deps updated | 18 |
20
+
21
+ ## Dependency Changes
22
+
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | @opentelemetry/api | ^1.4.1 | ^1.9.0 |
26
+ | @opentelemetry/core | ^1.11.0 | ^2.6.0 |
27
+ | @opentelemetry/sdk-metrics | ^1.12.0 | ^2.6.0 |
28
+ | agentkeepalive | ^4.2.1 | ^4.6.0 |
29
+ | cookie | ^0.7.1 | ^1.1.1 |
30
+ | core-util-is | ^1.0.2 | ^1.0.3 |
31
+ | end-of-stream | ^1.4.4 | ^1.4.5 |
32
+ | error-stack-parser | ^2.0.6 | ^2.1.4 |
33
+ | escape-string-regexp | ^4.0.0 | ^5.0.0 |
34
+ | fast-safe-stringify | ^2.0.7 | ^2.1.1 |
35
+ | import-in-the-middle | 1.14.4 | ^3.0.0 |
36
+ | lru-cache | 10.2.0 | ^11.2.7 |
37
+ | measured-reporting | ^1.51.1 | ^2.0.0 |
38
+ | module-details-from-path | ^1.0.3 | ^1.0.4 |
39
+ | pino | ^8.15.0 | ^10.3.1 |
40
+ | readable-stream | ^3.6.2 | ^4.7.0 |
41
+ | require-in-the-middle | ^8.0.0 | ^8.0.1 |
42
+ | semver | ^7.5.4 | ^7.7.4 |
43
+
44
+ ---
45
+
46
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/elastic-apm-node
47
+
48
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,78 @@
1
+ {
2
+ "bumped": {
3
+ "@opentelemetry/api": {
4
+ "from": "^1.4.1",
5
+ "to": "^1.9.0"
6
+ },
7
+ "@opentelemetry/core": {
8
+ "from": "^1.11.0",
9
+ "to": "^2.6.0"
10
+ },
11
+ "@opentelemetry/sdk-metrics": {
12
+ "from": "^1.12.0",
13
+ "to": "^2.6.0"
14
+ },
15
+ "agentkeepalive": {
16
+ "from": "^4.2.1",
17
+ "to": "^4.6.0"
18
+ },
19
+ "cookie": {
20
+ "from": "^0.7.1",
21
+ "to": "^1.1.1"
22
+ },
23
+ "core-util-is": {
24
+ "from": "^1.0.2",
25
+ "to": "^1.0.3"
26
+ },
27
+ "end-of-stream": {
28
+ "from": "^1.4.4",
29
+ "to": "^1.4.5"
30
+ },
31
+ "error-stack-parser": {
32
+ "from": "^2.0.6",
33
+ "to": "^2.1.4"
34
+ },
35
+ "escape-string-regexp": {
36
+ "from": "^4.0.0",
37
+ "to": "^5.0.0"
38
+ },
39
+ "fast-safe-stringify": {
40
+ "from": "^2.0.7",
41
+ "to": "^2.1.1"
42
+ },
43
+ "import-in-the-middle": {
44
+ "from": "1.14.4",
45
+ "to": "^3.0.0"
46
+ },
47
+ "lru-cache": {
48
+ "from": "10.2.0",
49
+ "to": "^11.2.7"
50
+ },
51
+ "measured-reporting": {
52
+ "from": "^1.51.1",
53
+ "to": "^2.0.0"
54
+ },
55
+ "module-details-from-path": {
56
+ "from": "^1.0.3",
57
+ "to": "^1.0.4"
58
+ },
59
+ "pino": {
60
+ "from": "^8.15.0",
61
+ "to": "^10.3.1"
62
+ },
63
+ "readable-stream": {
64
+ "from": "^3.6.2",
65
+ "to": "^4.7.0"
66
+ },
67
+ "require-in-the-middle": {
68
+ "from": "^8.0.0",
69
+ "to": "^8.0.1"
70
+ },
71
+ "semver": {
72
+ "from": "^7.5.4",
73
+ "to": "^7.7.4"
74
+ }
75
+ },
76
+ "timestamp": "2026-03-19T03:30:40.118Z",
77
+ "totalUpdated": 18
78
+ }