@datadog/esbuild-plugin 3.0.5 → 3.0.7

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 (34) hide show
  1. package/dist/src/index.d.ts +1 -0
  2. package/dist/src/index.js +1 -1
  3. package/dist/src/index.js.map +1 -1
  4. package/dist/src/index.mjs +2 -2
  5. package/package.json +2 -2
  6. package/dist/reports/datadog-esbuild-plugin/build.json +0 -381
  7. package/dist/reports/datadog-esbuild-plugin/bundler.json +0 -3155
  8. package/dist/reports/datadog-esbuild-plugin/dependencies.json +0 -1184
  9. package/dist/reports/datadog-esbuild-plugin/errors.json +0 -1
  10. package/dist/reports/datadog-esbuild-plugin/logs.json +0 -569
  11. package/dist/reports/datadog-esbuild-plugin/metrics.json +0 -7052
  12. package/dist/reports/datadog-esbuild-plugin/timings.json +0 -1689
  13. package/dist/reports/datadog-esbuild-plugin/warnings.json +0 -1
  14. package/dist/reports/dts-datadog-esbuild-plugin/build.json +0 -72
  15. package/dist/reports/dts-datadog-esbuild-plugin/bundler.json +0 -365
  16. package/dist/reports/dts-datadog-esbuild-plugin/dependencies.json +0 -267
  17. package/dist/reports/dts-datadog-esbuild-plugin/errors.json +0 -1
  18. package/dist/reports/dts-datadog-esbuild-plugin/logs.json +0 -324
  19. package/dist/reports/dts-datadog-esbuild-plugin/timings.json +0 -983
  20. package/dist/reports/dts-datadog-esbuild-plugin/warnings.json +0 -14
  21. package/dist/reports/privacy-helpers/build.json +0 -55
  22. package/dist/reports/privacy-helpers/bundler.json +0 -68
  23. package/dist/reports/privacy-helpers/dependencies.json +0 -10
  24. package/dist/reports/privacy-helpers/errors.json +0 -1
  25. package/dist/reports/privacy-helpers/logs.json +0 -303
  26. package/dist/reports/privacy-helpers/timings.json +0 -903
  27. package/dist/reports/privacy-helpers/warnings.json +0 -1
  28. package/dist/reports/rum-browser-sdk/build.json +0 -468
  29. package/dist/reports/rum-browser-sdk/bundler.json +0 -2502
  30. package/dist/reports/rum-browser-sdk/dependencies.json +0 -3347
  31. package/dist/reports/rum-browser-sdk/errors.json +0 -1
  32. package/dist/reports/rum-browser-sdk/logs.json +0 -254
  33. package/dist/reports/rum-browser-sdk/timings.json +0 -2585
  34. package/dist/reports/rum-browser-sdk/warnings.json +0 -1
@@ -1,14 +0,0 @@
1
- [
2
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/error-tracking/src/index.ts -> ../../core/src/types.ts",
3
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/error-tracking/src/index.ts -> ../../plugins/error-tracking/src/constants.ts -> ../../core/src/types.ts",
4
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/metrics/src/types.ts -> ../../core/src/types.ts",
5
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/metrics/src/index.ts -> ../../core/src/types.ts",
6
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/metrics/src/index.ts -> ../../plugins/metrics/src/constants.ts -> ../../core/src/types.ts",
7
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/output/src/types.ts -> ../../core/src/types.ts",
8
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/output/src/types.ts -> ../../plugins/output/src/constants.ts -> ../../core/src/types.ts",
9
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/output/src/index.ts -> ../../core/src/types.ts",
10
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/rum/src/types.ts -> ../../core/src/types.ts",
11
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/rum/src/types.ts -> ../../plugins/rum/src/privacy/types.ts -> ../../core/src/types.ts",
12
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/rum/src/index.ts -> ../../core/src/types.ts",
13
- "Circular dependency: ../../core/src/types.ts -> ../../plugins/rum/src/index.ts -> ../../plugins/rum/src/constants.ts -> ../../core/src/types.ts"
14
- ]
@@ -1,55 +0,0 @@
1
- {
2
- "bundler": {
3
- "name": "rollup",
4
- "version": "4.45.1"
5
- },
6
- "metadata": {
7
- "name": "privacy-helpers"
8
- },
9
- "entries": [
10
- {
11
- "name": "privacy-helpers",
12
- "filepath": "/home/runner/work/build-plugins/build-plugins/packages/dist/src/privacy-helpers.mjs",
13
- "inputs": [
14
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts"
15
- ],
16
- "size": 333,
17
- "type": "mjs",
18
- "outputs": [
19
- "/home/runner/work/build-plugins/build-plugins/packages/dist/src/privacy-helpers.mjs"
20
- ]
21
- },
22
- {
23
- "name": "privacy-helpers",
24
- "filepath": "/home/runner/work/build-plugins/build-plugins/packages/dist/src/privacy-helpers.js",
25
- "inputs": [
26
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts"
27
- ],
28
- "size": 346,
29
- "type": "js",
30
- "outputs": [
31
- "/home/runner/work/build-plugins/build-plugins/packages/dist/src/privacy-helpers.js"
32
- ]
33
- }
34
- ],
35
- "outputs": [
36
- {
37
- "name": "privacy-helpers.mjs",
38
- "filepath": "/home/runner/work/build-plugins/build-plugins/packages/dist/src/privacy-helpers.mjs",
39
- "inputs": [
40
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts"
41
- ],
42
- "size": 333,
43
- "type": "mjs"
44
- },
45
- {
46
- "name": "privacy-helpers.js",
47
- "filepath": "/home/runner/work/build-plugins/build-plugins/packages/dist/src/privacy-helpers.js",
48
- "inputs": [
49
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts"
50
- ],
51
- "size": 346,
52
- "type": "js"
53
- }
54
- ]
55
- }
@@ -1,68 +0,0 @@
1
- [
2
- {
3
- "privacy-helpers.mjs": {
4
- "exports": [],
5
- "facadeModuleId": "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts",
6
- "isDynamicEntry": false,
7
- "isEntry": true,
8
- "isImplicitEntry": false,
9
- "moduleIds": [
10
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts"
11
- ],
12
- "name": "privacy-helpers",
13
- "type": "chunk",
14
- "dynamicImports": [],
15
- "fileName": "privacy-helpers.mjs",
16
- "implicitlyLoadedBefore": [],
17
- "importedBindings": {},
18
- "imports": [],
19
- "modules": {
20
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts": {
21
- "code": "const globalAny = globalThis;\nglobalAny.$DD_ALLOW = /* @__PURE__ */ new Set();\nconst $DD_ADD_TO_DICTIONARY = (newValues) => {\n const initialSize = globalAny.$DD_ALLOW.size;\n if (newValues.raw) {\n return newValues;\n }\n newValues.flat().forEach((value) => {\n globalAny.$DD_ALLOW.add(value.toLocaleLowerCase());\n });\n if (globalAny.$DD_ALLOW.size !== initialSize) {\n if (globalAny.$DD_ALLOW_OBSERVERS) {\n globalAny.$DD_ALLOW_OBSERVERS.forEach((cb) => cb());\n }\n }\n return newValues;\n};\n(() => {\n const queueName = \"$DD_A_Q\";\n const addToDictionary = $DD_ADD_TO_DICTIONARY;\n globalAny[queueName] = globalAny[queueName] || [];\n globalAny[queueName].forEach(addToDictionary);\n globalAny[queueName].length = 0;\n globalAny[queueName].push = addToDictionary;\n})();",
22
- "originalLength": 1784,
23
- "removedExports": [],
24
- "renderedExports": [],
25
- "renderedLength": 786
26
- }
27
- },
28
- "referencedFiles": [],
29
- "code": "const D=globalThis;D.$DD_ALLOW=new Set;const L=L=>{const o=D.$DD_ALLOW.size;return L.raw||(L.flat().forEach((L=>{D.$DD_ALLOW.add(L.toLocaleLowerCase())})),D.$DD_ALLOW.size!==o&&D.$DD_ALLOW_OBSERVERS&&D.$DD_ALLOW_OBSERVERS.forEach((D=>D()))),L};(()=>{const o=\"$DD_A_Q\",_=L;D[o]=D[o]||[],D[o].forEach(_),D[o].length=0,D[o].push=_})();\n",
30
- "map": null,
31
- "preliminaryFileName": "privacy-helpers.mjs",
32
- "sourcemapFileName": null
33
- }
34
- },
35
- {
36
- "privacy-helpers.js": {
37
- "exports": [],
38
- "facadeModuleId": "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts",
39
- "isDynamicEntry": false,
40
- "isEntry": true,
41
- "isImplicitEntry": false,
42
- "moduleIds": [
43
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts"
44
- ],
45
- "name": "privacy-helpers",
46
- "type": "chunk",
47
- "dynamicImports": [],
48
- "fileName": "privacy-helpers.js",
49
- "implicitlyLoadedBefore": [],
50
- "importedBindings": {},
51
- "imports": [],
52
- "modules": {
53
- "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts": {
54
- "code": "const globalAny = globalThis;\nglobalAny.$DD_ALLOW = /* @__PURE__ */ new Set();\nconst $DD_ADD_TO_DICTIONARY = (newValues) => {\n const initialSize = globalAny.$DD_ALLOW.size;\n if (newValues.raw) {\n return newValues;\n }\n newValues.flat().forEach((value) => {\n globalAny.$DD_ALLOW.add(value.toLocaleLowerCase());\n });\n if (globalAny.$DD_ALLOW.size !== initialSize) {\n if (globalAny.$DD_ALLOW_OBSERVERS) {\n globalAny.$DD_ALLOW_OBSERVERS.forEach((cb) => cb());\n }\n }\n return newValues;\n};\n(() => {\n const queueName = \"$DD_A_Q\";\n const addToDictionary = $DD_ADD_TO_DICTIONARY;\n globalAny[queueName] = globalAny[queueName] || [];\n globalAny[queueName].forEach(addToDictionary);\n globalAny[queueName].length = 0;\n globalAny[queueName].push = addToDictionary;\n})();",
55
- "originalLength": 1784,
56
- "removedExports": [],
57
- "renderedExports": [],
58
- "renderedLength": 786
59
- }
60
- },
61
- "referencedFiles": [],
62
- "code": "\"use strict\";const D=globalThis;D.$DD_ALLOW=new Set;const L=L=>{const o=D.$DD_ALLOW.size;return L.raw||(L.flat().forEach((L=>{D.$DD_ALLOW.add(L.toLocaleLowerCase())})),D.$DD_ALLOW.size!==o&&D.$DD_ALLOW_OBSERVERS&&D.$DD_ALLOW_OBSERVERS.forEach((D=>D()))),L};(()=>{const o=\"$DD_A_Q\",s=L;D[o]=D[o]||[],D[o].forEach(s),D[o].length=0,D[o].push=s})();\n",
63
- "map": null,
64
- "preliminaryFileName": "privacy-helpers.js",
65
- "sourcemapFileName": null
66
- }
67
- }
68
- ]
@@ -1,10 +0,0 @@
1
- [
2
- {
3
- "name": "plugins/rum/src/built/privacy-helpers.ts",
4
- "dependencies": [],
5
- "dependents": [],
6
- "filepath": "/home/runner/work/build-plugins/build-plugins/packages/plugins/rum/src/built/privacy-helpers.ts",
7
- "size": 1784,
8
- "type": "ts"
9
- }
10
- ]
@@ -1 +0,0 @@
1
- []
@@ -1,303 +0,0 @@
1
- [
2
- {
3
- "bundler": "rollup",
4
- "pluginName": "factory",
5
- "type": "debug",
6
- "message": "[Plugins initialization] : start",
7
- "time": 1761140761432
8
- },
9
- {
10
- "bundler": "rollup",
11
- "pluginName": "datadog-error-tracking-plugin",
12
- "type": "debug",
13
- "message": "[validate options] : start",
14
- "time": 1761140761433
15
- },
16
- {
17
- "bundler": "rollup",
18
- "pluginName": "datadog-error-tracking-plugin",
19
- "type": "debug",
20
- "message": "[validate options] : 0ms",
21
- "time": 1761140761433
22
- },
23
- {
24
- "bundler": "rollup",
25
- "pluginName": "factory",
26
- "type": "info",
27
- "message": "Overrides from environment:\n - DATADOG_API_KEY (same value)",
28
- "time": 1761140761433
29
- },
30
- {
31
- "bundler": "rollup",
32
- "pluginName": "datadog-custom-hooks-plugin",
33
- "type": "debug",
34
- "message": "[execution | init] : start",
35
- "time": 1761140761433
36
- },
37
- {
38
- "bundler": "rollup",
39
- "pluginName": "factory",
40
- "type": "debug",
41
- "message": "[Plugins initialization] : 1ms",
42
- "time": 1761140761433
43
- },
44
- {
45
- "bundler": "rollup",
46
- "pluginName": "datadog-custom-hooks-plugin",
47
- "type": "debug",
48
- "message": "[execution | init] : 1ms",
49
- "time": 1761140761434
50
- },
51
- {
52
- "bundler": "rollup",
53
- "pluginName": "datadog-custom-hooks-plugin",
54
- "type": "debug",
55
- "message": "[execution | buildRoot] : start",
56
- "time": 1761140769899
57
- },
58
- {
59
- "bundler": "rollup",
60
- "pluginName": "datadog-custom-hooks-plugin",
61
- "type": "debug",
62
- "message": "[execution | buildRoot] : 0ms",
63
- "time": 1761140769899
64
- },
65
- {
66
- "bundler": "rollup",
67
- "pluginName": "datadog-build-report-plugin",
68
- "type": "debug",
69
- "message": "[module parsing] : start",
70
- "time": 1761140769917
71
- },
72
- {
73
- "bundler": "rollup",
74
- "pluginName": "datadog-custom-hooks-plugin",
75
- "type": "debug",
76
- "message": "[execution | bundlerReport] : start",
77
- "time": 1761140769918
78
- },
79
- {
80
- "bundler": "rollup",
81
- "pluginName": "datadog-custom-hooks-plugin",
82
- "type": "debug",
83
- "message": "[execution | bundlerReport] : start",
84
- "time": 1761140769918
85
- },
86
- {
87
- "bundler": "rollup",
88
- "pluginName": "datadog-custom-hooks-plugin",
89
- "type": "debug",
90
- "message": "[execution | bundlerReport] : 1ms",
91
- "time": 1761140769919
92
- },
93
- {
94
- "bundler": "rollup",
95
- "pluginName": "datadog-custom-hooks-plugin",
96
- "type": "debug",
97
- "message": "[execution | bundlerReport] : 1ms",
98
- "time": 1761140769919
99
- },
100
- {
101
- "bundler": "rollup",
102
- "pluginName": "datadog-build-report-plugin",
103
- "type": "debug",
104
- "message": "[build report] : start",
105
- "time": 1761140770078
106
- },
107
- {
108
- "bundler": "rollup",
109
- "pluginName": "datadog-build-report-plugin",
110
- "type": "debug",
111
- "message": "[completing dependencies and dependents] : start",
112
- "time": 1761140770078
113
- },
114
- {
115
- "bundler": "rollup",
116
- "pluginName": "datadog-build-report-plugin",
117
- "type": "debug",
118
- "message": "[completing dependencies and dependents] : 0ms",
119
- "time": 1761140770078
120
- },
121
- {
122
- "bundler": "rollup",
123
- "pluginName": "datadog-build-report-plugin",
124
- "type": "debug",
125
- "message": "[filling inputs and outputs] : start",
126
- "time": 1761140770078
127
- },
128
- {
129
- "bundler": "rollup",
130
- "pluginName": "datadog-build-report-plugin",
131
- "type": "debug",
132
- "message": "[filling inputs and outputs] : 0ms",
133
- "time": 1761140770078
134
- },
135
- {
136
- "bundler": "rollup",
137
- "pluginName": "datadog-build-report-plugin",
138
- "type": "debug",
139
- "message": "[filling dependencies and dependents] : start",
140
- "time": 1761140770078
141
- },
142
- {
143
- "bundler": "rollup",
144
- "pluginName": "datadog-build-report-plugin",
145
- "type": "debug",
146
- "message": "[filling dependencies and dependents] : 0ms",
147
- "time": 1761140770078
148
- },
149
- {
150
- "bundler": "rollup",
151
- "pluginName": "datadog-build-report-plugin",
152
- "type": "debug",
153
- "message": "[filling entries] : start",
154
- "time": 1761140770078
155
- },
156
- {
157
- "bundler": "rollup",
158
- "pluginName": "datadog-build-report-plugin",
159
- "type": "debug",
160
- "message": "[completing dependencies and dependents] : 0ms",
161
- "time": 1761140770109
162
- },
163
- {
164
- "bundler": "rollup",
165
- "pluginName": "datadog-build-report-plugin",
166
- "type": "debug",
167
- "message": "[filling inputs and outputs] : 0ms",
168
- "time": 1761140770109
169
- },
170
- {
171
- "bundler": "rollup",
172
- "pluginName": "datadog-build-report-plugin",
173
- "type": "debug",
174
- "message": "[filling dependencies and dependents] : 0ms",
175
- "time": 1761140770109
176
- },
177
- {
178
- "bundler": "rollup",
179
- "pluginName": "datadog-build-report-plugin",
180
- "type": "debug",
181
- "message": "[filling entries] : 1ms",
182
- "time": 1761140770109
183
- },
184
- {
185
- "bundler": "rollup",
186
- "pluginName": "datadog-build-report-plugin",
187
- "type": "debug",
188
- "message": "[build report] : 2ms",
189
- "time": 1761140770109
190
- },
191
- {
192
- "bundler": "rollup",
193
- "pluginName": "datadog-custom-hooks-plugin",
194
- "type": "debug",
195
- "message": "[execution | buildReport] : start",
196
- "time": 1761140770109
197
- },
198
- {
199
- "bundler": "rollup",
200
- "pluginName": "datadog-output-plugin",
201
- "type": "debug",
202
- "message": "[serialize report] : start",
203
- "time": 1761140770109
204
- },
205
- {
206
- "bundler": "rollup",
207
- "pluginName": "datadog-output-plugin",
208
- "type": "debug",
209
- "message": "[serialize report] : 0ms",
210
- "time": 1761140770109
211
- },
212
- {
213
- "bundler": "rollup",
214
- "pluginName": "datadog-output-plugin",
215
- "type": "debug",
216
- "message": "[output build.json] : start",
217
- "time": 1761140770109
218
- },
219
- {
220
- "bundler": "rollup",
221
- "pluginName": "datadog-output-plugin",
222
- "type": "debug",
223
- "message": "[output logs.json] : start",
224
- "time": 1761140770109
225
- },
226
- {
227
- "bundler": "rollup",
228
- "pluginName": "datadog-output-plugin",
229
- "type": "debug",
230
- "message": "[output timings.json] : start",
231
- "time": 1761140770109
232
- },
233
- {
234
- "bundler": "rollup",
235
- "pluginName": "datadog-output-plugin",
236
- "type": "debug",
237
- "message": "[output dependencies.json] : start",
238
- "time": 1761140770109
239
- },
240
- {
241
- "bundler": "rollup",
242
- "pluginName": "datadog-output-plugin",
243
- "type": "debug",
244
- "message": "[output errors.json] : start",
245
- "time": 1761140770110
246
- },
247
- {
248
- "bundler": "rollup",
249
- "pluginName": "datadog-output-plugin",
250
- "type": "debug",
251
- "message": "[output warnings.json] : start",
252
- "time": 1761140770110
253
- },
254
- {
255
- "bundler": "rollup",
256
- "pluginName": "datadog-custom-hooks-plugin",
257
- "type": "debug",
258
- "message": "[execution | syncTrueEnd] : start",
259
- "time": 1761140770110
260
- },
261
- {
262
- "bundler": "rollup",
263
- "pluginName": "datadog-custom-hooks-plugin",
264
- "type": "debug",
265
- "message": "[execution | asyncTrueEnd] : start",
266
- "time": 1761140770110
267
- },
268
- {
269
- "bundler": "rollup",
270
- "pluginName": "datadog-output-plugin",
271
- "type": "debug",
272
- "message": "[output bundler.json] : start",
273
- "time": 1761140770110
274
- },
275
- {
276
- "bundler": "rollup",
277
- "pluginName": "datadog-custom-hooks-plugin",
278
- "type": "debug",
279
- "message": "[execution | buildReport] : 1ms",
280
- "time": 1761140770110
281
- },
282
- {
283
- "bundler": "rollup",
284
- "pluginName": "datadog-custom-hooks-plugin",
285
- "type": "debug",
286
- "message": "[execution | syncTrueEnd] : 0ms",
287
- "time": 1761140770110
288
- },
289
- {
290
- "bundler": "rollup",
291
- "pluginName": "datadog-output-plugin",
292
- "type": "info",
293
- "message": "Wrote \"./published/esbuild-plugin/dist/reports/privacy-helpers/build.json\"",
294
- "time": 1761140770110
295
- },
296
- {
297
- "bundler": "rollup",
298
- "pluginName": "datadog-output-plugin",
299
- "type": "debug",
300
- "message": "[output build.json] : 1ms",
301
- "time": 1761140770110
302
- }
303
- ]