From 3beb92ab42cdac8131dde1a31d3010457faa350f Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Tue, 7 Apr 2026 16:13:52 +0200 Subject: [PATCH] use 000.. value --- .../fixtures/rolldown/after-upload-deletion.test.ts | 2 +- .../fixtures/rolldown/application-key.test.ts | 2 +- .../fixtures/rolldown/basic-release-disabled.test.ts | 2 +- .../fixtures/rolldown/basic-sourcemaps.test.ts | 2 +- .../integration-tests-next/fixtures/rolldown/basic.test.ts | 2 +- .../fixtures/rolldown/build-info.test.ts | 2 +- .../fixtures/rolldown/bundle-size-optimizations.test.ts | 2 +- .../fixtures/rolldown/component-annotation-disabled.test.ts | 2 +- .../fixtures/rolldown/component-annotation-next.test.ts | 2 +- .../fixtures/rolldown/component-annotation.test.ts | 2 +- .../fixtures/rolldown/debugids-already-injected.test.ts | 4 ++-- .../fixtures/rolldown/module-metadata.test.ts | 2 +- .../fixtures/rolldown/multiple-entry-points.test.ts | 6 +++--- .../fixtures/rolldown/query-param.test.ts | 6 +++--- .../fixtures/rolldown/release-disabled.test.ts | 2 +- .../fixtures/rolldown/telemetry.test.ts | 2 +- .../fixtures/rollup3/after-upload-deletion.test.ts | 2 +- .../fixtures/rollup3/application-key.test.ts | 2 +- .../fixtures/rollup3/basic-release-disabled.test.ts | 2 +- .../fixtures/rollup3/basic-sourcemaps.test.ts | 2 +- .../integration-tests-next/fixtures/rollup3/basic.test.ts | 2 +- .../fixtures/rollup3/build-info.test.ts | 2 +- .../fixtures/rollup3/bundle-size-optimizations.test.ts | 2 +- .../fixtures/rollup3/component-annotation-disabled.test.ts | 2 +- .../fixtures/rollup3/component-annotation-next.test.ts | 2 +- .../fixtures/rollup3/component-annotation.test.ts | 2 +- .../fixtures/rollup3/module-metadata.test.ts | 2 +- .../fixtures/rollup3/multiple-entry-points.test.ts | 6 +++--- .../fixtures/rollup3/query-param.test.ts | 6 +++--- .../fixtures/rollup3/release-disabled.test.ts | 2 +- .../fixtures/rollup3/telemetry.test.ts | 2 +- .../fixtures/rollup4/after-upload-deletion.test.ts | 2 +- .../fixtures/rollup4/application-key.test.ts | 2 +- .../fixtures/rollup4/basic-release-disabled.test.ts | 2 +- .../fixtures/rollup4/basic-sourcemaps.test.ts | 2 +- .../integration-tests-next/fixtures/rollup4/basic.test.ts | 2 +- .../fixtures/rollup4/build-info.test.ts | 2 +- .../fixtures/rollup4/bundle-size-optimizations.test.ts | 2 +- .../fixtures/rollup4/component-annotation-disabled.test.ts | 2 +- .../fixtures/rollup4/component-annotation-next.test.ts | 2 +- .../fixtures/rollup4/component-annotation.test.ts | 2 +- .../fixtures/rollup4/debugids-already-injected.test.ts | 4 ++-- .../fixtures/rollup4/module-metadata.test.ts | 2 +- .../fixtures/rollup4/multiple-entry-points.test.ts | 6 +++--- .../fixtures/rollup4/query-param.test.ts | 6 +++--- .../fixtures/rollup4/release-disabled.test.ts | 2 +- .../fixtures/rollup4/telemetry.test.ts | 2 +- packages/integration-tests-next/fixtures/utils.ts | 5 +++++ .../fixtures/vite4/after-upload-deletion.test.ts | 2 +- .../fixtures/vite4/application-key.test.ts | 2 +- .../fixtures/vite4/basic-release-disabled.test.ts | 2 +- .../fixtures/vite4/basic-sourcemaps.test.ts | 2 +- .../integration-tests-next/fixtures/vite4/basic.test.ts | 2 +- .../fixtures/vite4/build-info.test.ts | 2 +- .../fixtures/vite4/bundle-size-optimizations.test.ts | 2 +- .../fixtures/vite4/component-annotation-disabled.test.ts | 2 +- .../fixtures/vite4/component-annotation-next.test.ts | 2 +- .../fixtures/vite4/component-annotation.test.ts | 2 +- .../fixtures/vite4/module-metadata.test.ts | 2 +- .../fixtures/vite4/multiple-entry-points.test.ts | 6 +++--- .../fixtures/vite4/query-param.test.ts | 6 +++--- .../fixtures/vite4/release-disabled.test.ts | 2 +- .../integration-tests-next/fixtures/vite4/telemetry.test.ts | 2 +- .../fixtures/vite7/after-upload-deletion.test.ts | 2 +- .../fixtures/vite7/application-key.test.ts | 2 +- .../fixtures/vite7/basic-release-disabled.test.ts | 2 +- .../fixtures/vite7/basic-sourcemaps.test.ts | 2 +- .../integration-tests-next/fixtures/vite7/basic.test.ts | 2 +- .../fixtures/vite7/build-info.test.ts | 2 +- .../fixtures/vite7/bundle-size-optimizations.test.ts | 2 +- .../fixtures/vite7/component-annotation-disabled.test.ts | 2 +- .../fixtures/vite7/component-annotation-next.test.ts | 2 +- .../fixtures/vite7/component-annotation.test.ts | 2 +- .../fixtures/vite7/debugids-already-injected.test.ts | 4 ++-- .../fixtures/vite7/module-metadata.test.ts | 2 +- .../fixtures/vite7/multiple-entry-points.test.ts | 6 +++--- .../fixtures/vite7/query-param.test.ts | 6 +++--- .../fixtures/vite7/release-disabled.test.ts | 2 +- .../integration-tests-next/fixtures/vite7/telemetry.test.ts | 2 +- .../fixtures/vite8/after-upload-deletion.test.ts | 2 +- .../fixtures/vite8/application-key.test.ts | 2 +- .../fixtures/vite8/basic-release-disabled.test.ts | 2 +- .../fixtures/vite8/basic-sourcemaps.test.ts | 2 +- .../integration-tests-next/fixtures/vite8/basic.test.ts | 2 +- .../fixtures/vite8/build-info.test.ts | 2 +- .../fixtures/vite8/bundle-size-optimizations.test.ts | 2 +- .../fixtures/vite8/component-annotation-disabled.test.ts | 2 +- .../fixtures/vite8/component-annotation-next.test.ts | 2 +- .../fixtures/vite8/component-annotation.test.ts | 2 +- .../fixtures/vite8/debugids-already-injected.test.ts | 4 ++-- .../fixtures/vite8/module-metadata.test.ts | 2 +- .../fixtures/vite8/multiple-entry-points.test.ts | 6 +++--- .../fixtures/vite8/query-param.test.ts | 6 +++--- .../fixtures/vite8/release-disabled.test.ts | 2 +- .../integration-tests-next/fixtures/vite8/telemetry.test.ts | 2 +- .../fixtures/webpack5/after-upload-deletion.test.ts | 2 +- .../fixtures/webpack5/application-key.test.ts | 2 +- .../fixtures/webpack5/basic-release-disabled.test.ts | 2 +- .../fixtures/webpack5/basic-sourcemaps.test.ts | 2 +- .../integration-tests-next/fixtures/webpack5/basic.test.ts | 2 +- .../fixtures/webpack5/build-info.test.ts | 2 +- .../fixtures/webpack5/bundle-size-optimizations.test.ts | 2 +- .../fixtures/webpack5/component-annotation-disabled.test.ts | 2 +- .../fixtures/webpack5/component-annotation-next.test.ts | 2 +- .../fixtures/webpack5/component-annotation.test.ts | 2 +- .../fixtures/webpack5/debugids-already-injected.test.ts | 4 ++-- .../fixtures/webpack5/module-metadata.test.ts | 2 +- .../fixtures/webpack5/multiple-entry-points.test.ts | 4 ++-- .../fixtures/webpack5/release-disabled.test.ts | 2 +- .../fixtures/webpack5/telemetry.test.ts | 2 +- 110 files changed, 144 insertions(+), 139 deletions(-) diff --git a/packages/integration-tests-next/fixtures/rolldown/after-upload-deletion.test.ts b/packages/integration-tests-next/fixtures/rolldown/after-upload-deletion.test.ts index 98cb45aa..c0e84898 100644 --- a/packages/integration-tests-next/fixtures/rolldown/after-upload-deletion.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/after-upload-deletion.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/application-key.test.ts b/packages/integration-tests-next/fixtures/rolldown/application-key.test.ts index edec4127..88a7d0a9 100644 --- a/packages/integration-tests-next/fixtures/rolldown/application-key.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/application-key.test.ts @@ -18,7 +18,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { return e; }({}, e._sentryModuleMetadata[new e.Error().stack], { "_sentryBundlerPluginAppKey:1234567890abcdef": true }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/basic-release-disabled.test.ts b/packages/integration-tests-next/fixtures/rolldown/basic-release-disabled.test.ts index 932a4682..b39ba31e 100644 --- a/packages/integration-tests-next/fixtures/rolldown/basic-release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/basic-release-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/basic-sourcemaps.test.ts b/packages/integration-tests-next/fixtures/rolldown/basic-sourcemaps.test.ts index a15fd429..11726184 100644 --- a/packages/integration-tests-next/fixtures/rolldown/basic-sourcemaps.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/basic-sourcemaps.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/basic.test.ts b/packages/integration-tests-next/fixtures/rolldown/basic.test.ts index 4f2aa09c..ef26f379 100644 --- a/packages/integration-tests-next/fixtures/rolldown/basic.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/basic.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/build-info.test.ts b/packages/integration-tests-next/fixtures/rolldown/build-info.test.ts index 17f63e44..1ff311c4 100644 --- a/packages/integration-tests-next/fixtures/rolldown/build-info.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/build-info.test.ts @@ -20,7 +20,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { "nodeVersion":"NODE_VERSION" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/bundle-size-optimizations.test.ts b/packages/integration-tests-next/fixtures/rolldown/bundle-size-optimizations.test.ts index 63d082bc..eeb6bf28 100644 --- a/packages/integration-tests-next/fixtures/rolldown/bundle-size-optimizations.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/bundle-size-optimizations.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "92a38845-d1ee-42b4-9812-67a76e42b480", e._sentryDebugIdIdentifier = "sentry-dbid-92a38845-d1ee-42b4-9812-67a76e42b480"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log(JSON.stringify({ diff --git a/packages/integration-tests-next/fixtures/rolldown/component-annotation-disabled.test.ts b/packages/integration-tests-next/fixtures/rolldown/component-annotation-disabled.test.ts index 6cfa24bb..3866198e 100644 --- a/packages/integration-tests-next/fixtures/rolldown/component-annotation-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/component-annotation-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85f51673-9b26-4de9-b6ba-12058e53f08b", e._sentryDebugIdIdentifier = "sentry-dbid-85f51673-9b26-4de9-b6ba-12058e53f08b"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); import { jsx, jsxs } from "../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js"; diff --git a/packages/integration-tests-next/fixtures/rolldown/component-annotation-next.test.ts b/packages/integration-tests-next/fixtures/rolldown/component-annotation-next.test.ts index fc72317d..4e6b7ba9 100644 --- a/packages/integration-tests-next/fixtures/rolldown/component-annotation-next.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/component-annotation-next.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "08d8ea54-706b-4dfc-9e1f-19af2d0fc86e", e._sentryDebugIdIdentifier = "sentry-dbid-08d8ea54-706b-4dfc-9e1f-19af2d0fc86e"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); import { jsx, jsxs } from "../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js"; diff --git a/packages/integration-tests-next/fixtures/rolldown/component-annotation.test.ts b/packages/integration-tests-next/fixtures/rolldown/component-annotation.test.ts index 3d8a49a3..98cd6ee8 100644 --- a/packages/integration-tests-next/fixtures/rolldown/component-annotation.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/component-annotation.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0ad46712-3fec-46f3-8539-60a50dfc7fc6", e._sentryDebugIdIdentifier = "sentry-dbid-0ad46712-3fec-46f3-8539-60a50dfc7fc6"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); import { jsx, jsxs } from "../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js"; diff --git a/packages/integration-tests-next/fixtures/rolldown/debugids-already-injected.test.ts b/packages/integration-tests-next/fixtures/rolldown/debugids-already-injected.test.ts index 1ea310ac..c5a04f97 100644 --- a/packages/integration-tests-next/fixtures/rolldown/debugids-already-injected.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/debugids-already-injected.test.ts @@ -15,13 +15,13 @@ test(import.meta.url, ({ runBundler, createTempDir }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); //#endregion - //# debugId=b699d9c1-b033-4536-aa25-233c92609b54 + //# debugId=00000000-0000-0000-0000-000000000000 //# sourceMappingURL=basic.js.map", "b699d9c1-b033-4536-aa25-233c92609b54-0.js.map": "{"version":3,"file":"basic.js","names":[],"sources":["../../src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"mappings":";;;;;;;;;AACA,QAAQ,IAAI,cAAc","debugId":"b699d9c1-b033-4536-aa25-233c92609b54","debug_id":"b699d9c1-b033-4536-aa25-233c92609b54"}", } diff --git a/packages/integration-tests-next/fixtures/rolldown/module-metadata.test.ts b/packages/integration-tests-next/fixtures/rolldown/module-metadata.test.ts index 02d3c2a8..05c0653c 100644 --- a/packages/integration-tests-next/fixtures/rolldown/module-metadata.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/module-metadata.test.ts @@ -21,7 +21,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { "another": 999 }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/multiple-entry-points.test.ts b/packages/integration-tests-next/fixtures/rolldown/multiple-entry-points.test.ts index cc61311d..63b5f353 100644 --- a/packages/integration-tests-next/fixtures/rolldown/multiple-entry-points.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/multiple-entry-points.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3f33b953-1cf1-4c05-850d-3f5b805fa101", e._sentryDebugIdIdentifier = "sentry-dbid-3f33b953-1cf1-4c05-850d-3f5b805fa101"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); function add(a, b) { @@ -23,7 +23,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cbcd67c2-83a7-44e1-94e6-9a8ab161f162", e._sentryDebugIdIdentifier = "sentry-dbid-cbcd67c2-83a7-44e1-94e6-9a8ab161f162"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); import { t as add } from "./common.js"; @@ -35,7 +35,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a4f71127-2139-4e9f-af54-f35982254569", e._sentryDebugIdIdentifier = "sentry-dbid-a4f71127-2139-4e9f-af54-f35982254569"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); import { t as add } from "./common.js"; diff --git a/packages/integration-tests-next/fixtures/rolldown/query-param.test.ts b/packages/integration-tests-next/fixtures/rolldown/query-param.test.ts index f3e32364..96666e28 100644 --- a/packages/integration-tests-next/fixtures/rolldown/query-param.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/query-param.test.ts @@ -16,7 +16,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3f33b953-1cf1-4c05-850d-3f5b805fa101", e._sentryDebugIdIdentifier = "sentry-dbid-3f33b953-1cf1-4c05-850d-3f5b805fa101"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); function add(a, b) { @@ -30,7 +30,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bf11f932-fe2b-4b54-97e0-45abde2a0d81", e._sentryDebugIdIdentifier = "sentry-dbid-bf11f932-fe2b-4b54-97e0-45abde2a0d81"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); import { t as add } from "./common.js?seP58q4g"; @@ -43,7 +43,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5aaa817b-a0e4-4c91-a4f4-aa8f3c26e66e", e._sentryDebugIdIdentifier = "sentry-dbid-5aaa817b-a0e4-4c91-a4f4-aa8f3c26e66e"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); import { t as add } from "./common.js?seP58q4g"; diff --git a/packages/integration-tests-next/fixtures/rolldown/release-disabled.test.ts b/packages/integration-tests-next/fixtures/rolldown/release-disabled.test.ts index 8003ac69..18e4c8f8 100644 --- a/packages/integration-tests-next/fixtures/rolldown/release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/release-disabled.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rolldown/telemetry.test.ts b/packages/integration-tests-next/fixtures/rolldown/telemetry.test.ts index e89a87db..ebd149c8 100644 --- a/packages/integration-tests-next/fixtures/rolldown/telemetry.test.ts +++ b/packages/integration-tests-next/fixtures/rolldown/telemetry.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b699d9c1-b033-4536-aa25-233c92609b54", e._sentryDebugIdIdentifier = "sentry-dbid-b699d9c1-b033-4536-aa25-233c92609b54"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e) {} })(); console.log("hello world"); diff --git a/packages/integration-tests-next/fixtures/rollup3/after-upload-deletion.test.ts b/packages/integration-tests-next/fixtures/rollup3/after-upload-deletion.test.ts index 10892756..a4305945 100644 --- a/packages/integration-tests-next/fixtures/rollup3/after-upload-deletion.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/after-upload-deletion.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); //# sourceMappingURL=basic.js.map ", } diff --git a/packages/integration-tests-next/fixtures/rollup3/application-key.test.ts b/packages/integration-tests-next/fixtures/rollup3/application-key.test.ts index eb1bfb06..893eb03c 100644 --- a/packages/integration-tests-next/fixtures/rollup3/application-key.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/application-key.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", } `); diff --git a/packages/integration-tests-next/fixtures/rollup3/basic-sourcemaps.test.ts b/packages/integration-tests-next/fixtures/rollup3/basic-sourcemaps.test.ts index e6c86989..0f4f0bed 100644 --- a/packages/integration-tests-next/fixtures/rollup3/basic-sourcemaps.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/basic-sourcemaps.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); //# sourceMappingURL=basic.js.map ", "basic.js.map": "{"version":3,"file":"basic.js","sources":["../../src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"mappings":"AAAA,CAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA;scACA,OAAO,CAAC,GAAG,CAAC,CAAA,KAAA,CAAA,KAAA,CAAa,CAAC"}", diff --git a/packages/integration-tests-next/fixtures/rollup3/basic.test.ts b/packages/integration-tests-next/fixtures/rollup3/basic.test.ts index 47d05666..1d68d310 100644 --- a/packages/integration-tests-next/fixtures/rollup3/basic.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/basic.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-cli-mock.json": "["releases","new","CURRENT_SHA"], ["releases","set-commits","CURRENT_SHA","--auto","--ignore-missing"], diff --git a/packages/integration-tests-next/fixtures/rollup3/build-info.test.ts b/packages/integration-tests-next/fixtures/rollup3/build-info.test.ts index 92a81886..d0af291e 100644 --- a/packages/integration-tests-next/fixtures/rollup3/build-info.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/build-info.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@rollup/plugin-babel","@rollup/plugin-node-resolve","@sentry/rollup-plugin","react","rollup"],"depsVersions":{"react":19,"rollup":3},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@rollup/plugin-babel","@rollup/plugin-node-resolve","@sentry/rollup-plugin","react","rollup"],"depsVersions":{"react":19,"rollup":3},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", } `); diff --git a/packages/integration-tests-next/fixtures/rollup3/bundle-size-optimizations.test.ts b/packages/integration-tests-next/fixtures/rollup3/bundle-size-optimizations.test.ts index f7ddff94..c685a2b7 100644 --- a/packages/integration-tests-next/fixtures/rollup3/bundle-size-optimizations.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/bundle-size-optimizations.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "bundle.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4",e._sentryDebugIdIdentifier="sentry-dbid-9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4");}catch(e){}}();console.log( + "bundle.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log( JSON.stringify({ debug: "b", trace: "b", diff --git a/packages/integration-tests-next/fixtures/rollup3/component-annotation-disabled.test.ts b/packages/integration-tests-next/fixtures/rollup3/component-annotation-disabled.test.ts index d61c1290..054e90c0 100644 --- a/packages/integration-tests-next/fixtures/rollup3/component-annotation-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/component-annotation-disabled.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e0d3404a-8cd2-4497-8ac0-7d0973080851",e._sentryDebugIdIdentifier="sentry-dbid-e0d3404a-8cd2-4497-8ac0-7d0973080851");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; function ComponentA() { return /*#__PURE__*/jsx("span", { diff --git a/packages/integration-tests-next/fixtures/rollup3/component-annotation-next.test.ts b/packages/integration-tests-next/fixtures/rollup3/component-annotation-next.test.ts index 0bc86e7f..62cfe081 100644 --- a/packages/integration-tests-next/fixtures/rollup3/component-annotation-next.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/component-annotation-next.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="92286409-18f3-4cfe-8a2d-8e7ee88697ef",e._sentryDebugIdIdentifier="sentry-dbid-92286409-18f3-4cfe-8a2d-8e7ee88697ef");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; function ComponentA() { return /*#__PURE__*/jsx("span", { diff --git a/packages/integration-tests-next/fixtures/rollup3/component-annotation.test.ts b/packages/integration-tests-next/fixtures/rollup3/component-annotation.test.ts index 90d896e2..387beb7f 100644 --- a/packages/integration-tests-next/fixtures/rollup3/component-annotation.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/component-annotation.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0b640794-e3e7-486c-b3b4-52d37c4fbae1",e._sentryDebugIdIdentifier="sentry-dbid-0b640794-e3e7-486c-b3b4-52d37c4fbae1");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; function ComponentA() { return /*#__PURE__*/jsx("span", { diff --git a/packages/integration-tests-next/fixtures/rollup3/module-metadata.test.ts b/packages/integration-tests-next/fixtures/rollup3/module-metadata.test.ts index 59d819cf..b4acc599 100644 --- a/packages/integration-tests-next/fixtures/rollup3/module-metadata.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/module-metadata.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "common.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d6522b10-3189-4ceb-b9e3-9764b0420211",e._sentryDebugIdIdentifier="sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211");}catch(e){}}();function add(a, b) { + "common.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();function add(a, b) { return a + b; } export { add as a }; ", - "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="462efaa9-6efa-471b-94ae-88b2852f0c20",e._sentryDebugIdIdentifier="sentry-dbid-462efaa9-6efa-471b-94ae-88b2852f0c20");}catch(e){}}();import { a as add } from './common.js'; + "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js'; console.log(add(1, 2)); ", - "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0231818d-9e30-4d5b-94a9-3da56ffd79af",e._sentryDebugIdIdentifier="sentry-dbid-0231818d-9e30-4d5b-94a9-3da56ffd79af");}catch(e){}}();import { a as add } from './common.js'; + "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js'; console.log(add(2, 4)); ", diff --git a/packages/integration-tests-next/fixtures/rollup3/query-param.test.ts b/packages/integration-tests-next/fixtures/rollup3/query-param.test.ts index d6560ec4..d65cb2e3 100644 --- a/packages/integration-tests-next/fixtures/rollup3/query-param.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/query-param.test.ts @@ -10,17 +10,17 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "common.js?seP58q4g": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d6522b10-3189-4ceb-b9e3-9764b0420211",e._sentryDebugIdIdentifier="sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211");}catch(e){}}();function add(a, b) { + "common.js?seP58q4g": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();function add(a, b) { return a + b; } export { add as a }; ", - "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="161db429-4399-479c-9466-6ff8ad3344f9",e._sentryDebugIdIdentifier="sentry-dbid-161db429-4399-479c-9466-6ff8ad3344f9");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; + "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; console.log(add(1, 2)); ", - "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a3bc51c0-20dc-4a52-a69a-6a43acf7cd65",e._sentryDebugIdIdentifier="sentry-dbid-a3bc51c0-20dc-4a52-a69a-6a43acf7cd65");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; + "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; console.log(add(2, 4)); ", diff --git a/packages/integration-tests-next/fixtures/rollup3/release-disabled.test.ts b/packages/integration-tests-next/fixtures/rollup3/release-disabled.test.ts index d8239cf3..b8e6f6b9 100644 --- a/packages/integration-tests-next/fixtures/rollup3/release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/release-disabled.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-cli-mock.json": "["releases","set-commits","CURRENT_SHA","--auto","--ignore-missing"], ["releases","finalize","CURRENT_SHA"], diff --git a/packages/integration-tests-next/fixtures/rollup3/telemetry.test.ts b/packages/integration-tests-next/fixtures/rollup3/telemetry.test.ts index b688c918..1585f17d 100644 --- a/packages/integration-tests-next/fixtures/rollup3/telemetry.test.ts +++ b/packages/integration-tests-next/fixtures/rollup3/telemetry.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"8.30.0"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", diff --git a/packages/integration-tests-next/fixtures/rollup4/after-upload-deletion.test.ts b/packages/integration-tests-next/fixtures/rollup4/after-upload-deletion.test.ts index 10892756..a4305945 100644 --- a/packages/integration-tests-next/fixtures/rollup4/after-upload-deletion.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/after-upload-deletion.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); //# sourceMappingURL=basic.js.map ", } diff --git a/packages/integration-tests-next/fixtures/rollup4/application-key.test.ts b/packages/integration-tests-next/fixtures/rollup4/application-key.test.ts index eb1bfb06..893eb03c 100644 --- a/packages/integration-tests-next/fixtures/rollup4/application-key.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/application-key.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", } `); diff --git a/packages/integration-tests-next/fixtures/rollup4/basic-sourcemaps.test.ts b/packages/integration-tests-next/fixtures/rollup4/basic-sourcemaps.test.ts index e6c86989..0f4f0bed 100644 --- a/packages/integration-tests-next/fixtures/rollup4/basic-sourcemaps.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/basic-sourcemaps.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); //# sourceMappingURL=basic.js.map ", "basic.js.map": "{"version":3,"file":"basic.js","sources":["../../src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"mappings":"AAAA,CAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA;scACA,OAAO,CAAC,GAAG,CAAC,CAAA,KAAA,CAAA,KAAA,CAAa,CAAC"}", diff --git a/packages/integration-tests-next/fixtures/rollup4/basic.test.ts b/packages/integration-tests-next/fixtures/rollup4/basic.test.ts index 47d05666..1d68d310 100644 --- a/packages/integration-tests-next/fixtures/rollup4/basic.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/basic.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-cli-mock.json": "["releases","new","CURRENT_SHA"], ["releases","set-commits","CURRENT_SHA","--auto","--ignore-missing"], diff --git a/packages/integration-tests-next/fixtures/rollup4/build-info.test.ts b/packages/integration-tests-next/fixtures/rollup4/build-info.test.ts index 60fe63ca..9e121ac7 100644 --- a/packages/integration-tests-next/fixtures/rollup4/build-info.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/build-info.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@rollup/plugin-babel","@rollup/plugin-node-resolve","@sentry/rollup-plugin","react","rollup"],"depsVersions":{"react":19,"rollup":4},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@rollup/plugin-babel","@rollup/plugin-node-resolve","@sentry/rollup-plugin","react","rollup"],"depsVersions":{"react":19,"rollup":4},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", } `); diff --git a/packages/integration-tests-next/fixtures/rollup4/bundle-size-optimizations.test.ts b/packages/integration-tests-next/fixtures/rollup4/bundle-size-optimizations.test.ts index f7ddff94..c685a2b7 100644 --- a/packages/integration-tests-next/fixtures/rollup4/bundle-size-optimizations.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/bundle-size-optimizations.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "bundle.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4",e._sentryDebugIdIdentifier="sentry-dbid-9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4");}catch(e){}}();console.log( + "bundle.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log( JSON.stringify({ debug: "b", trace: "b", diff --git a/packages/integration-tests-next/fixtures/rollup4/component-annotation-disabled.test.ts b/packages/integration-tests-next/fixtures/rollup4/component-annotation-disabled.test.ts index d61c1290..054e90c0 100644 --- a/packages/integration-tests-next/fixtures/rollup4/component-annotation-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/component-annotation-disabled.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e0d3404a-8cd2-4497-8ac0-7d0973080851",e._sentryDebugIdIdentifier="sentry-dbid-e0d3404a-8cd2-4497-8ac0-7d0973080851");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; function ComponentA() { return /*#__PURE__*/jsx("span", { diff --git a/packages/integration-tests-next/fixtures/rollup4/component-annotation-next.test.ts b/packages/integration-tests-next/fixtures/rollup4/component-annotation-next.test.ts index 0bc86e7f..62cfe081 100644 --- a/packages/integration-tests-next/fixtures/rollup4/component-annotation-next.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/component-annotation-next.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="92286409-18f3-4cfe-8a2d-8e7ee88697ef",e._sentryDebugIdIdentifier="sentry-dbid-92286409-18f3-4cfe-8a2d-8e7ee88697ef");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; function ComponentA() { return /*#__PURE__*/jsx("span", { diff --git a/packages/integration-tests-next/fixtures/rollup4/component-annotation.test.ts b/packages/integration-tests-next/fixtures/rollup4/component-annotation.test.ts index 90d896e2..387beb7f 100644 --- a/packages/integration-tests-next/fixtures/rollup4/component-annotation.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/component-annotation.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0b640794-e3e7-486c-b3b4-52d37c4fbae1",e._sentryDebugIdIdentifier="sentry-dbid-0b640794-e3e7-486c-b3b4-52d37c4fbae1");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { jsx, jsxs } from 'react/jsx-runtime'; function ComponentA() { return /*#__PURE__*/jsx("span", { diff --git a/packages/integration-tests-next/fixtures/rollup4/debugids-already-injected.test.ts b/packages/integration-tests-next/fixtures/rollup4/debugids-already-injected.test.ts index fad6713f..de92ed45 100644 --- a/packages/integration-tests-next/fixtures/rollup4/debugids-already-injected.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/debugids-already-injected.test.ts @@ -10,8 +10,8 @@ test(import.meta.url, ({ runBundler, createTempDir }) => { expect(files).toMatchInlineSnapshot(` { "252e0338-8927-4f52-bd57-188131defd0f-0.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); - //# debugId=252e0338-8927-4f52-bd57-188131defd0f + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); + //# debugId=00000000-0000-0000-0000-000000000000 //# sourceMappingURL=basic.js.map ", "252e0338-8927-4f52-bd57-188131defd0f-0.js.map": "{"version":3,"file":"basic.js","sources":["../../src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"mappings":"AAAA,CAAA,CAAA,CAAA,MAAA,CAAA,OAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA;scACA,OAAO,CAAC,GAAG,CAAC,CAAA,KAAA,CAAA,KAAA,CAAa,CAAC","debugId":"252e0338-8927-4f52-bd57-188131defd0f","debug_id":"252e0338-8927-4f52-bd57-188131defd0f"}", diff --git a/packages/integration-tests-next/fixtures/rollup4/module-metadata.test.ts b/packages/integration-tests-next/fixtures/rollup4/module-metadata.test.ts index 59d819cf..b4acc599 100644 --- a/packages/integration-tests-next/fixtures/rollup4/module-metadata.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/module-metadata.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "common.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d6522b10-3189-4ceb-b9e3-9764b0420211",e._sentryDebugIdIdentifier="sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211");}catch(e){}}();function add(a, b) { + "common.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();function add(a, b) { return a + b; } export { add as a }; ", - "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="462efaa9-6efa-471b-94ae-88b2852f0c20",e._sentryDebugIdIdentifier="sentry-dbid-462efaa9-6efa-471b-94ae-88b2852f0c20");}catch(e){}}();import { a as add } from './common.js'; + "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js'; console.log(add(1, 2)); ", - "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0231818d-9e30-4d5b-94a9-3da56ffd79af",e._sentryDebugIdIdentifier="sentry-dbid-0231818d-9e30-4d5b-94a9-3da56ffd79af");}catch(e){}}();import { a as add } from './common.js'; + "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js'; console.log(add(2, 4)); ", diff --git a/packages/integration-tests-next/fixtures/rollup4/query-param.test.ts b/packages/integration-tests-next/fixtures/rollup4/query-param.test.ts index d6560ec4..d65cb2e3 100644 --- a/packages/integration-tests-next/fixtures/rollup4/query-param.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/query-param.test.ts @@ -10,17 +10,17 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "common.js?seP58q4g": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d6522b10-3189-4ceb-b9e3-9764b0420211",e._sentryDebugIdIdentifier="sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211");}catch(e){}}();function add(a, b) { + "common.js?seP58q4g": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();function add(a, b) { return a + b; } export { add as a }; ", - "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="161db429-4399-479c-9466-6ff8ad3344f9",e._sentryDebugIdIdentifier="sentry-dbid-161db429-4399-479c-9466-6ff8ad3344f9");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; + "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; console.log(add(1, 2)); ", - "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a3bc51c0-20dc-4a52-a69a-6a43acf7cd65",e._sentryDebugIdIdentifier="sentry-dbid-a3bc51c0-20dc-4a52-a69a-6a43acf7cd65");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; + "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();import { a as add } from './common.js?seP58q4g'; console.log(add(2, 4)); ", diff --git a/packages/integration-tests-next/fixtures/rollup4/release-disabled.test.ts b/packages/integration-tests-next/fixtures/rollup4/release-disabled.test.ts index d8239cf3..b8e6f6b9 100644 --- a/packages/integration-tests-next/fixtures/rollup4/release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/release-disabled.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-cli-mock.json": "["releases","set-commits","CURRENT_SHA","--auto","--ignore-missing"], ["releases","finalize","CURRENT_SHA"], diff --git a/packages/integration-tests-next/fixtures/rollup4/telemetry.test.ts b/packages/integration-tests-next/fixtures/rollup4/telemetry.test.ts index b688c918..1585f17d 100644 --- a/packages/integration-tests-next/fixtures/rollup4/telemetry.test.ts +++ b/packages/integration-tests-next/fixtures/rollup4/telemetry.test.ts @@ -6,7 +6,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { expect(readOutputFiles()).toMatchInlineSnapshot(` { "basic.js": "// eslint-disable-next-line no-console - !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="252e0338-8927-4f52-bd57-188131defd0f",e._sentryDebugIdIdentifier="sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f");}catch(e){}}();console.log("hello world"); + !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"8.30.0"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", diff --git a/packages/integration-tests-next/fixtures/utils.ts b/packages/integration-tests-next/fixtures/utils.ts index 22fb76b5..6bbc065c 100644 --- a/packages/integration-tests-next/fixtures/utils.ts +++ b/packages/integration-tests-next/fixtures/utils.ts @@ -64,6 +64,11 @@ export function readAllFiles(directory: string): Record { } else { // Normalize Windows line endings for cross-platform snapshots contents = contents.replace(/\r\n/g, "\n"); + // Normalize debug IDs to make snapshots deterministic across environments + contents = contents.replace( + /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/gi, + "00000000-0000-0000-0000-000000000000" + ); } files[entry] = contents; } diff --git a/packages/integration-tests-next/fixtures/vite4/after-upload-deletion.test.ts b/packages/integration-tests-next/fixtures/vite4/after-upload-deletion.test.ts index ced3602e..1345b6fb 100644 --- a/packages/integration-tests-next/fixtures/vite4/after-upload-deletion.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/after-upload-deletion.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/application-key.test.ts b/packages/integration-tests-next/fixtures/vite4/application-key.test.ts index 902f8657..72768296 100644 --- a/packages/integration-tests-next/fixtures/vite4/application-key.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/application-key.test.ts @@ -17,7 +17,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { return e2; })({}, e._sentryModuleMetadata[new e.Error().stack], { "_sentryBundlerPluginAppKey:1234567890abcdef": true }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/basic-release-disabled.test.ts b/packages/integration-tests-next/fixtures/vite4/basic-release-disabled.test.ts index eb87a858..3f31dcee 100644 --- a/packages/integration-tests-next/fixtures/vite4/basic-release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/basic-release-disabled.test.ts @@ -9,7 +9,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/basic-sourcemaps.test.ts b/packages/integration-tests-next/fixtures/vite4/basic-sourcemaps.test.ts index d99bd4e6..89553dea 100644 --- a/packages/integration-tests-next/fixtures/vite4/basic-sourcemaps.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/basic-sourcemaps.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/basic.test.ts b/packages/integration-tests-next/fixtures/vite4/basic.test.ts index 5b79abcf..4b334c16 100644 --- a/packages/integration-tests-next/fixtures/vite4/basic.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/basic.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/build-info.test.ts b/packages/integration-tests-next/fixtures/vite4/build-info.test.ts index e185858a..a25f980e 100644 --- a/packages/integration-tests-next/fixtures/vite4/build-info.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/build-info.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { e.SENTRY_RELEASE = { id: "build-information-injection-test" }; e.SENTRY_BUILD_INFO = { "deps": ["@sentry/vite-plugin", "@vitejs/plugin-react", "react", "vite"], "depsVersions": { "react": 19, "vite": 4 }, "nodeVersion":"NODE_VERSION" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/bundle-size-optimizations.test.ts b/packages/integration-tests-next/fixtures/vite4/bundle-size-optimizations.test.ts index a853e327..ee0a4165 100644 --- a/packages/integration-tests-next/fixtures/vite4/bundle-size-optimizations.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/bundle-size-optimizations.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4", e._sentryDebugIdIdentifier = "sentry-dbid-9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/component-annotation-disabled.test.ts b/packages/integration-tests-next/fixtures/vite4/component-annotation-disabled.test.ts index 3fdf123e..23f18a09 100644 --- a/packages/integration-tests-next/fixtures/vite4/component-annotation-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/component-annotation-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5950dfde-7033-4e00-a69c-652e1b5bc157", e._sentryDebugIdIdentifier = "sentry-dbid-5950dfde-7033-4e00-a69c-652e1b5bc157"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/component-annotation-next.test.ts b/packages/integration-tests-next/fixtures/vite4/component-annotation-next.test.ts index 4a616db3..f27ee294 100644 --- a/packages/integration-tests-next/fixtures/vite4/component-annotation-next.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/component-annotation-next.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62a0263b-dddb-4ac5-bb1a-a352edfa415c", e._sentryDebugIdIdentifier = "sentry-dbid-62a0263b-dddb-4ac5-bb1a-a352edfa415c"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/component-annotation.test.ts b/packages/integration-tests-next/fixtures/vite4/component-annotation.test.ts index 7f123f0b..1331f9de 100644 --- a/packages/integration-tests-next/fixtures/vite4/component-annotation.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/component-annotation.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d2aba7de-9acd-4eaf-8153-269a881dd7a6", e._sentryDebugIdIdentifier = "sentry-dbid-d2aba7de-9acd-4eaf-8153-269a881dd7a6"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/module-metadata.test.ts b/packages/integration-tests-next/fixtures/vite4/module-metadata.test.ts index 66fb3b11..d807e3d0 100644 --- a/packages/integration-tests-next/fixtures/vite4/module-metadata.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/module-metadata.test.ts @@ -17,7 +17,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { return e2; })({}, e._sentryModuleMetadata[new e.Error().stack], { "something": "value", "another": 999 }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/multiple-entry-points.test.ts b/packages/integration-tests-next/fixtures/vite4/multiple-entry-points.test.ts index 0ea77c27..e3ee93ed 100644 --- a/packages/integration-tests-next/fixtures/vite4/multiple-entry-points.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/multiple-entry-points.test.ts @@ -9,7 +9,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6522b10-3189-4ceb-b9e3-9764b0420211", e._sentryDebugIdIdentifier = "sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -24,7 +24,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "462efaa9-6efa-471b-94ae-88b2852f0c20", e._sentryDebugIdIdentifier = "sentry-dbid-462efaa9-6efa-471b-94ae-88b2852f0c20"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -35,7 +35,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0231818d-9e30-4d5b-94a9-3da56ffd79af", e._sentryDebugIdIdentifier = "sentry-dbid-0231818d-9e30-4d5b-94a9-3da56ffd79af"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/query-param.test.ts b/packages/integration-tests-next/fixtures/vite4/query-param.test.ts index b7def387..dbf70102 100644 --- a/packages/integration-tests-next/fixtures/vite4/query-param.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/query-param.test.ts @@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6522b10-3189-4ceb-b9e3-9764b0420211", e._sentryDebugIdIdentifier = "sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -31,7 +31,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "161db429-4399-479c-9466-6ff8ad3344f9", e._sentryDebugIdIdentifier = "sentry-dbid-161db429-4399-479c-9466-6ff8ad3344f9"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -43,7 +43,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a3bc51c0-20dc-4a52-a69a-6a43acf7cd65", e._sentryDebugIdIdentifier = "sentry-dbid-a3bc51c0-20dc-4a52-a69a-6a43acf7cd65"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/release-disabled.test.ts b/packages/integration-tests-next/fixtures/vite4/release-disabled.test.ts index 82038026..be2e8688 100644 --- a/packages/integration-tests-next/fixtures/vite4/release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/release-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite4/telemetry.test.ts b/packages/integration-tests-next/fixtures/vite4/telemetry.test.ts index f02b90e0..e41bc214 100644 --- a/packages/integration-tests-next/fixtures/vite4/telemetry.test.ts +++ b/packages/integration-tests-next/fixtures/vite4/telemetry.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/after-upload-deletion.test.ts b/packages/integration-tests-next/fixtures/vite7/after-upload-deletion.test.ts index ced3602e..1345b6fb 100644 --- a/packages/integration-tests-next/fixtures/vite7/after-upload-deletion.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/after-upload-deletion.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/application-key.test.ts b/packages/integration-tests-next/fixtures/vite7/application-key.test.ts index 902f8657..72768296 100644 --- a/packages/integration-tests-next/fixtures/vite7/application-key.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/application-key.test.ts @@ -17,7 +17,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { return e2; })({}, e._sentryModuleMetadata[new e.Error().stack], { "_sentryBundlerPluginAppKey:1234567890abcdef": true }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/basic-release-disabled.test.ts b/packages/integration-tests-next/fixtures/vite7/basic-release-disabled.test.ts index eb87a858..3f31dcee 100644 --- a/packages/integration-tests-next/fixtures/vite7/basic-release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/basic-release-disabled.test.ts @@ -9,7 +9,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/basic-sourcemaps.test.ts b/packages/integration-tests-next/fixtures/vite7/basic-sourcemaps.test.ts index d99bd4e6..89553dea 100644 --- a/packages/integration-tests-next/fixtures/vite7/basic-sourcemaps.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/basic-sourcemaps.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/basic.test.ts b/packages/integration-tests-next/fixtures/vite7/basic.test.ts index 5b79abcf..4b334c16 100644 --- a/packages/integration-tests-next/fixtures/vite7/basic.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/basic.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/build-info.test.ts b/packages/integration-tests-next/fixtures/vite7/build-info.test.ts index 86290fae..c998d7ae 100644 --- a/packages/integration-tests-next/fixtures/vite7/build-info.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/build-info.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { e.SENTRY_RELEASE = { id: "build-information-injection-test" }; e.SENTRY_BUILD_INFO = { "deps": ["@sentry/vite-plugin", "@vitejs/plugin-react", "react", "vite"], "depsVersions": { "react": 19, "vite": 7 }, "nodeVersion":"NODE_VERSION" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/bundle-size-optimizations.test.ts b/packages/integration-tests-next/fixtures/vite7/bundle-size-optimizations.test.ts index a853e327..ee0a4165 100644 --- a/packages/integration-tests-next/fixtures/vite7/bundle-size-optimizations.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/bundle-size-optimizations.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4", e._sentryDebugIdIdentifier = "sentry-dbid-9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/component-annotation-disabled.test.ts b/packages/integration-tests-next/fixtures/vite7/component-annotation-disabled.test.ts index 3fdf123e..23f18a09 100644 --- a/packages/integration-tests-next/fixtures/vite7/component-annotation-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/component-annotation-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5950dfde-7033-4e00-a69c-652e1b5bc157", e._sentryDebugIdIdentifier = "sentry-dbid-5950dfde-7033-4e00-a69c-652e1b5bc157"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/component-annotation-next.test.ts b/packages/integration-tests-next/fixtures/vite7/component-annotation-next.test.ts index 4a616db3..f27ee294 100644 --- a/packages/integration-tests-next/fixtures/vite7/component-annotation-next.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/component-annotation-next.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62a0263b-dddb-4ac5-bb1a-a352edfa415c", e._sentryDebugIdIdentifier = "sentry-dbid-62a0263b-dddb-4ac5-bb1a-a352edfa415c"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/component-annotation.test.ts b/packages/integration-tests-next/fixtures/vite7/component-annotation.test.ts index 7f123f0b..1331f9de 100644 --- a/packages/integration-tests-next/fixtures/vite7/component-annotation.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/component-annotation.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d2aba7de-9acd-4eaf-8153-269a881dd7a6", e._sentryDebugIdIdentifier = "sentry-dbid-d2aba7de-9acd-4eaf-8153-269a881dd7a6"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/debugids-already-injected.test.ts b/packages/integration-tests-next/fixtures/vite7/debugids-already-injected.test.ts index 5735e771..997b0c3e 100644 --- a/packages/integration-tests-next/fixtures/vite7/debugids-already-injected.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/debugids-already-injected.test.ts @@ -14,12 +14,12 @@ test(import.meta.url, ({ runBundler, createTempDir }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); console.log("hello world"); - //# debugId=252e0338-8927-4f52-bd57-188131defd0f + //# debugId=00000000-0000-0000-0000-000000000000 //# sourceMappingURL=basic.js.map ", "252e0338-8927-4f52-bd57-188131defd0f-0.js.map": "{"version":3,"file":"basic.js","sources":["../../src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"mappings":";;;;;;;;;AACA,QAAQ,IAAI,aAAa;","debugId":"252e0338-8927-4f52-bd57-188131defd0f","debug_id":"252e0338-8927-4f52-bd57-188131defd0f"}", diff --git a/packages/integration-tests-next/fixtures/vite7/module-metadata.test.ts b/packages/integration-tests-next/fixtures/vite7/module-metadata.test.ts index 66fb3b11..d807e3d0 100644 --- a/packages/integration-tests-next/fixtures/vite7/module-metadata.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/module-metadata.test.ts @@ -17,7 +17,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { return e2; })({}, e._sentryModuleMetadata[new e.Error().stack], { "something": "value", "another": 999 }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/multiple-entry-points.test.ts b/packages/integration-tests-next/fixtures/vite7/multiple-entry-points.test.ts index 0ea77c27..e3ee93ed 100644 --- a/packages/integration-tests-next/fixtures/vite7/multiple-entry-points.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/multiple-entry-points.test.ts @@ -9,7 +9,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6522b10-3189-4ceb-b9e3-9764b0420211", e._sentryDebugIdIdentifier = "sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -24,7 +24,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "462efaa9-6efa-471b-94ae-88b2852f0c20", e._sentryDebugIdIdentifier = "sentry-dbid-462efaa9-6efa-471b-94ae-88b2852f0c20"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -35,7 +35,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0231818d-9e30-4d5b-94a9-3da56ffd79af", e._sentryDebugIdIdentifier = "sentry-dbid-0231818d-9e30-4d5b-94a9-3da56ffd79af"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/query-param.test.ts b/packages/integration-tests-next/fixtures/vite7/query-param.test.ts index b7def387..dbf70102 100644 --- a/packages/integration-tests-next/fixtures/vite7/query-param.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/query-param.test.ts @@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6522b10-3189-4ceb-b9e3-9764b0420211", e._sentryDebugIdIdentifier = "sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -31,7 +31,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "161db429-4399-479c-9466-6ff8ad3344f9", e._sentryDebugIdIdentifier = "sentry-dbid-161db429-4399-479c-9466-6ff8ad3344f9"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -43,7 +43,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a3bc51c0-20dc-4a52-a69a-6a43acf7cd65", e._sentryDebugIdIdentifier = "sentry-dbid-a3bc51c0-20dc-4a52-a69a-6a43acf7cd65"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/release-disabled.test.ts b/packages/integration-tests-next/fixtures/vite7/release-disabled.test.ts index 82038026..be2e8688 100644 --- a/packages/integration-tests-next/fixtures/vite7/release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/release-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite7/telemetry.test.ts b/packages/integration-tests-next/fixtures/vite7/telemetry.test.ts index f02b90e0..e41bc214 100644 --- a/packages/integration-tests-next/fixtures/vite7/telemetry.test.ts +++ b/packages/integration-tests-next/fixtures/vite7/telemetry.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/after-upload-deletion.test.ts b/packages/integration-tests-next/fixtures/vite8/after-upload-deletion.test.ts index ced3602e..1345b6fb 100644 --- a/packages/integration-tests-next/fixtures/vite8/after-upload-deletion.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/after-upload-deletion.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/application-key.test.ts b/packages/integration-tests-next/fixtures/vite8/application-key.test.ts index 902f8657..72768296 100644 --- a/packages/integration-tests-next/fixtures/vite8/application-key.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/application-key.test.ts @@ -17,7 +17,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { return e2; })({}, e._sentryModuleMetadata[new e.Error().stack], { "_sentryBundlerPluginAppKey:1234567890abcdef": true }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/basic-release-disabled.test.ts b/packages/integration-tests-next/fixtures/vite8/basic-release-disabled.test.ts index eb87a858..3f31dcee 100644 --- a/packages/integration-tests-next/fixtures/vite8/basic-release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/basic-release-disabled.test.ts @@ -9,7 +9,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/basic-sourcemaps.test.ts b/packages/integration-tests-next/fixtures/vite8/basic-sourcemaps.test.ts index d99bd4e6..89553dea 100644 --- a/packages/integration-tests-next/fixtures/vite8/basic-sourcemaps.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/basic-sourcemaps.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/basic.test.ts b/packages/integration-tests-next/fixtures/vite8/basic.test.ts index 5b79abcf..4b334c16 100644 --- a/packages/integration-tests-next/fixtures/vite8/basic.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/basic.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/build-info.test.ts b/packages/integration-tests-next/fixtures/vite8/build-info.test.ts index f4715d4c..6073c7e9 100644 --- a/packages/integration-tests-next/fixtures/vite8/build-info.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/build-info.test.ts @@ -11,7 +11,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { e.SENTRY_RELEASE = { id: "build-information-injection-test" }; e.SENTRY_BUILD_INFO = { "deps": ["@sentry/vite-plugin", "@vitejs/plugin-react", "react", "vite"], "depsVersions": { "react": 19, "vite": 8 }, "nodeVersion":"NODE_VERSION" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/bundle-size-optimizations.test.ts b/packages/integration-tests-next/fixtures/vite8/bundle-size-optimizations.test.ts index a853e327..ee0a4165 100644 --- a/packages/integration-tests-next/fixtures/vite8/bundle-size-optimizations.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/bundle-size-optimizations.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4", e._sentryDebugIdIdentifier = "sentry-dbid-9ba2eb17-5b67-4bb4-bfcf-dca3e3b993b4"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/component-annotation-disabled.test.ts b/packages/integration-tests-next/fixtures/vite8/component-annotation-disabled.test.ts index 6087e1fc..df95dc2d 100644 --- a/packages/integration-tests-next/fixtures/vite8/component-annotation-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/component-annotation-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fad021a7-2309-4b95-9454-c14eaca9c494", e._sentryDebugIdIdentifier = "sentry-dbid-fad021a7-2309-4b95-9454-c14eaca9c494"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/component-annotation-next.test.ts b/packages/integration-tests-next/fixtures/vite8/component-annotation-next.test.ts index 15a8de42..e86ad8a5 100644 --- a/packages/integration-tests-next/fixtures/vite8/component-annotation-next.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/component-annotation-next.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e360fd0a-f174-42e5-a616-ca20792b40f7", e._sentryDebugIdIdentifier = "sentry-dbid-e360fd0a-f174-42e5-a616-ca20792b40f7"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/component-annotation.test.ts b/packages/integration-tests-next/fixtures/vite8/component-annotation.test.ts index c059336c..b0fa1d6d 100644 --- a/packages/integration-tests-next/fixtures/vite8/component-annotation.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/component-annotation.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7cf1a3cd-d2df-426b-8527-27fd153bf757", e._sentryDebugIdIdentifier = "sentry-dbid-7cf1a3cd-d2df-426b-8527-27fd153bf757"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/debugids-already-injected.test.ts b/packages/integration-tests-next/fixtures/vite8/debugids-already-injected.test.ts index 5735e771..997b0c3e 100644 --- a/packages/integration-tests-next/fixtures/vite8/debugids-already-injected.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/debugids-already-injected.test.ts @@ -14,12 +14,12 @@ test(import.meta.url, ({ runBundler, createTempDir }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); console.log("hello world"); - //# debugId=252e0338-8927-4f52-bd57-188131defd0f + //# debugId=00000000-0000-0000-0000-000000000000 //# sourceMappingURL=basic.js.map ", "252e0338-8927-4f52-bd57-188131defd0f-0.js.map": "{"version":3,"file":"basic.js","sources":["../../src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"mappings":";;;;;;;;;AACA,QAAQ,IAAI,aAAa;","debugId":"252e0338-8927-4f52-bd57-188131defd0f","debug_id":"252e0338-8927-4f52-bd57-188131defd0f"}", diff --git a/packages/integration-tests-next/fixtures/vite8/module-metadata.test.ts b/packages/integration-tests-next/fixtures/vite8/module-metadata.test.ts index 66fb3b11..d807e3d0 100644 --- a/packages/integration-tests-next/fixtures/vite8/module-metadata.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/module-metadata.test.ts @@ -17,7 +17,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { return e2; })({}, e._sentryModuleMetadata[new e.Error().stack], { "something": "value", "another": 999 }); var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/multiple-entry-points.test.ts b/packages/integration-tests-next/fixtures/vite8/multiple-entry-points.test.ts index 0ea77c27..e3ee93ed 100644 --- a/packages/integration-tests-next/fixtures/vite8/multiple-entry-points.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/multiple-entry-points.test.ts @@ -9,7 +9,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6522b10-3189-4ceb-b9e3-9764b0420211", e._sentryDebugIdIdentifier = "sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -24,7 +24,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "462efaa9-6efa-471b-94ae-88b2852f0c20", e._sentryDebugIdIdentifier = "sentry-dbid-462efaa9-6efa-471b-94ae-88b2852f0c20"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -35,7 +35,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { try { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0231818d-9e30-4d5b-94a9-3da56ffd79af", e._sentryDebugIdIdentifier = "sentry-dbid-0231818d-9e30-4d5b-94a9-3da56ffd79af"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/query-param.test.ts b/packages/integration-tests-next/fixtures/vite8/query-param.test.ts index b7def387..dbf70102 100644 --- a/packages/integration-tests-next/fixtures/vite8/query-param.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/query-param.test.ts @@ -15,7 +15,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6522b10-3189-4ceb-b9e3-9764b0420211", e._sentryDebugIdIdentifier = "sentry-dbid-d6522b10-3189-4ceb-b9e3-9764b0420211"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -31,7 +31,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "161db429-4399-479c-9466-6ff8ad3344f9", e._sentryDebugIdIdentifier = "sentry-dbid-161db429-4399-479c-9466-6ff8ad3344f9"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); @@ -43,7 +43,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a3bc51c0-20dc-4a52-a69a-6a43acf7cd65", e._sentryDebugIdIdentifier = "sentry-dbid-a3bc51c0-20dc-4a52-a69a-6a43acf7cd65"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/release-disabled.test.ts b/packages/integration-tests-next/fixtures/vite8/release-disabled.test.ts index 82038026..be2e8688 100644 --- a/packages/integration-tests-next/fixtures/vite8/release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/release-disabled.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/vite8/telemetry.test.ts b/packages/integration-tests-next/fixtures/vite8/telemetry.test.ts index f02b90e0..e41bc214 100644 --- a/packages/integration-tests-next/fixtures/vite8/telemetry.test.ts +++ b/packages/integration-tests-next/fixtures/vite8/telemetry.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}; e.SENTRY_RELEASE = { id: "CURRENT_SHA" }; var n = new e.Error().stack; - n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252e0338-8927-4f52-bd57-188131defd0f", e._sentryDebugIdIdentifier = "sentry-dbid-252e0338-8927-4f52-bd57-188131defd0f"); + n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "00000000-0000-0000-0000-000000000000", e._sentryDebugIdIdentifier = "sentry-dbid-00000000-0000-0000-0000-000000000000"); } catch (e2) { } })(); diff --git a/packages/integration-tests-next/fixtures/webpack5/after-upload-deletion.test.ts b/packages/integration-tests-next/fixtures/webpack5/after-upload-deletion.test.ts index 53c8e5a4..a4bcd8a7 100644 --- a/packages/integration-tests-next/fixtures/webpack5/after-upload-deletion.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/after-upload-deletion.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="33730b8e-5b8d-4795-94b2-666cea28fce6",e._sentryDebugIdIdentifier="sentry-dbid-33730b8e-5b8d-4795-94b2-666cea28fce6");}catch(e){}}(); + "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/application-key.test.ts b/packages/integration-tests-next/fixtures/webpack5/application-key.test.ts index 10ccca8a..76b6d9ad 100644 --- a/packages/integration-tests-next/fixtures/webpack5/application-key.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/application-key.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/basic-release-disabled.test.ts b/packages/integration-tests-next/fixtures/webpack5/basic-release-disabled.test.ts index f939d675..c7fc5905 100644 --- a/packages/integration-tests-next/fixtures/webpack5/basic-release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/basic-release-disabled.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6438758c-c236-4f8b-af24-575a5948a617",e._sentryDebugIdIdentifier="sentry-dbid-6438758c-c236-4f8b-af24-575a5948a617");}catch(e){}}(); + "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/basic-sourcemaps.test.ts b/packages/integration-tests-next/fixtures/webpack5/basic-sourcemaps.test.ts index 6db94a83..c9fedd3d 100644 --- a/packages/integration-tests-next/fixtures/webpack5/basic-sourcemaps.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/basic-sourcemaps.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="33730b8e-5b8d-4795-94b2-666cea28fce6",e._sentryDebugIdIdentifier="sentry-dbid-33730b8e-5b8d-4795-94b2-666cea28fce6");}catch(e){}}(); + "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/basic.test.ts b/packages/integration-tests-next/fixtures/webpack5/basic.test.ts index 484819ee..baa396d2 100644 --- a/packages/integration-tests-next/fixtures/webpack5/basic.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/basic.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6438758c-c236-4f8b-af24-575a5948a617",e._sentryDebugIdIdentifier="sentry-dbid-6438758c-c236-4f8b-af24-575a5948a617");}catch(e){}}(); + "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/build-info.test.ts b/packages/integration-tests-next/fixtures/webpack5/build-info.test.ts index 6fa65cdc..0241339a 100644 --- a/packages/integration-tests-next/fixtures/webpack5/build-info.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/build-info.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@babel/preset-react","@sentry/webpack-plugin","webpack","webpack-cli"],"depsVersions":{"webpack":5},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6438758c-c236-4f8b-af24-575a5948a617",e._sentryDebugIdIdentifier="sentry-dbid-6438758c-c236-4f8b-af24-575a5948a617");}catch(e){}}(); + "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"build-information-injection-test"};e.SENTRY_BUILD_INFO={"deps":["@babel/preset-react","@sentry/webpack-plugin","webpack","webpack-cli"],"depsVersions":{"webpack":5},"nodeVersion":"NODE_VERSION"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/bundle-size-optimizations.test.ts b/packages/integration-tests-next/fixtures/webpack5/bundle-size-optimizations.test.ts index ea838e8c..7313767b 100644 --- a/packages/integration-tests-next/fixtures/webpack5/bundle-size-optimizations.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/bundle-size-optimizations.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "bundle.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1ddfd748-f716-49b5-a6bb-a08a480112e2",e._sentryDebugIdIdentifier="sentry-dbid-1ddfd748-f716-49b5-a6bb-a08a480112e2");}catch(e){}}(); + "bundle.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; console.log( diff --git a/packages/integration-tests-next/fixtures/webpack5/component-annotation-disabled.test.ts b/packages/integration-tests-next/fixtures/webpack5/component-annotation-disabled.test.ts index 448b9fc9..39a5b67c 100644 --- a/packages/integration-tests-next/fixtures/webpack5/component-annotation-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/component-annotation-disabled.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="56aca27b-2809-426a-9842-c74241cd7985",e._sentryDebugIdIdentifier="sentry-dbid-56aca27b-2809-426a-9842-c74241cd7985");}catch(e){}}(); + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; diff --git a/packages/integration-tests-next/fixtures/webpack5/component-annotation-next.test.ts b/packages/integration-tests-next/fixtures/webpack5/component-annotation-next.test.ts index 30fa06af..28d9443a 100644 --- a/packages/integration-tests-next/fixtures/webpack5/component-annotation-next.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/component-annotation-next.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="550fd31a-707a-4221-b84e-f3964d7c368b",e._sentryDebugIdIdentifier="sentry-dbid-550fd31a-707a-4221-b84e-f3964d7c368b");}catch(e){}}(); + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; diff --git a/packages/integration-tests-next/fixtures/webpack5/component-annotation.test.ts b/packages/integration-tests-next/fixtures/webpack5/component-annotation.test.ts index 5f8cb1a0..1c5f9f8c 100644 --- a/packages/integration-tests-next/fixtures/webpack5/component-annotation.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/component-annotation.test.ts @@ -10,7 +10,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, ctx }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cfc1abb3-018d-4ab5-adbb-cdba19bbd8e0",e._sentryDebugIdIdentifier="sentry-dbid-cfc1abb3-018d-4ab5-adbb-cdba19bbd8e0");}catch(e){}}(); + "app.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; diff --git a/packages/integration-tests-next/fixtures/webpack5/debugids-already-injected.test.ts b/packages/integration-tests-next/fixtures/webpack5/debugids-already-injected.test.ts index 4e23efde..3509e343 100644 --- a/packages/integration-tests-next/fixtures/webpack5/debugids-already-injected.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/debugids-already-injected.test.ts @@ -9,7 +9,7 @@ test(import.meta.url, ({ runBundler, createTempDir }) => { const files = readAllFiles(tempDir); expect(files).toMatchInlineSnapshot(` { - "33730b8e-5b8d-4795-94b2-666cea28fce6-0.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="33730b8e-5b8d-4795-94b2-666cea28fce6",e._sentryDebugIdIdentifier="sentry-dbid-33730b8e-5b8d-4795-94b2-666cea28fce6");}catch(e){}}(); + "33730b8e-5b8d-4795-94b2-666cea28fce6-0.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console @@ -18,7 +18,7 @@ test(import.meta.url, ({ runBundler, createTempDir }) => { /******/ })() ; //# sourceMappingURL=basic.js.map - //# debugId=33730b8e-5b8d-4795-94b2-666cea28fce6", + //# debugId=00000000-0000-0000-0000-000000000000", "33730b8e-5b8d-4795-94b2-666cea28fce6-0.js.map": "{"version":3,"file":"basic.js","mappings":";;;AAAA;AACA","sources":["webpack5-integration-tests/./src/basic.js"],"sourcesContent":["// eslint-disable-next-line no-console\\nconsole.log(\\"hello world\\");\\n"],"names":[],"sourceRoot":"","debug_id":"33730b8e-5b8d-4795-94b2-666cea28fce6","debugId":"33730b8e-5b8d-4795-94b2-666cea28fce6"}", } `); diff --git a/packages/integration-tests-next/fixtures/webpack5/module-metadata.test.ts b/packages/integration-tests-next/fixtures/webpack5/module-metadata.test.ts index 44bc19d9..2672e9ed 100644 --- a/packages/integration-tests-next/fixtures/webpack5/module-metadata.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/module-metadata.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/multiple-entry-points.test.ts b/packages/integration-tests-next/fixtures/webpack5/multiple-entry-points.test.ts index fa76d2b4..5f054a9b 100644 --- a/packages/integration-tests-next/fixtures/webpack5/multiple-entry-points.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/multiple-entry-points.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a50aee12-d2d3-4d16-88bd-652f76f59160",e._sentryDebugIdIdentifier="sentry-dbid-a50aee12-d2d3-4d16-88bd-652f76f59160");}catch(e){}}(); + "entry1.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; @@ -21,7 +21,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { /******/ })() ;", - "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ca296a6b-7e8f-4158-a4c6-725f2e93e232",e._sentryDebugIdIdentifier="sentry-dbid-ca296a6b-7e8f-4158-a4c6-725f2e93e232");}catch(e){}}(); + "entry2.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; diff --git a/packages/integration-tests-next/fixtures/webpack5/release-disabled.test.ts b/packages/integration-tests-next/fixtures/webpack5/release-disabled.test.ts index 721d02f6..5f0e210b 100644 --- a/packages/integration-tests-next/fixtures/webpack5/release-disabled.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/release-disabled.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6438758c-c236-4f8b-af24-575a5948a617",e._sentryDebugIdIdentifier="sentry-dbid-6438758c-c236-4f8b-af24-575a5948a617");}catch(e){}}(); + "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console diff --git a/packages/integration-tests-next/fixtures/webpack5/telemetry.test.ts b/packages/integration-tests-next/fixtures/webpack5/telemetry.test.ts index bf7f62d0..afea545d 100644 --- a/packages/integration-tests-next/fixtures/webpack5/telemetry.test.ts +++ b/packages/integration-tests-next/fixtures/webpack5/telemetry.test.ts @@ -5,7 +5,7 @@ test(import.meta.url, ({ runBundler, readOutputFiles, runFileInNode }) => { runBundler(); expect(readOutputFiles()).toMatchInlineSnapshot(` { - "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6438758c-c236-4f8b-af24-575a5948a617",e._sentryDebugIdIdentifier="sentry-dbid-6438758c-c236-4f8b-af24-575a5948a617");}catch(e){}}(); + "basic.js": "!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}(); /******/ (() => { // webpackBootstrap /******/ "use strict"; // eslint-disable-next-line no-console