@sentry/bundler-plugin-core 2.22.2 → 2.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -667,7 +667,7 @@ function generateModuleMetadataInjectorCode(metadata) {
667
667
  // The code below is mostly ternary operators because it saves bundle size.
668
668
  // The checks are to support as many environments as possible. (Node.js, Browser, webworkers, etc.)
669
669
  // We are merging the metadata objects in case modules are bundled twice with the plugin
670
- return "{\n var _sentryModuleMetadataGlobal =\n typeof window !== \"undefined\"\n ? window\n : typeof global !== \"undefined\"\n ? global\n : typeof self !== \"undefined\"\n ? self\n : {};\n\n _sentryModuleMetadataGlobal._sentryModuleMetadata =\n _sentryModuleMetadataGlobal._sentryModuleMetadata || {};\n\n _sentryModuleMetadataGlobal._sentryModuleMetadata[new Error().stack] =\n Object.assign(\n {},\n _sentryModuleMetadataGlobal._sentryModuleMetadata[new Error().stack],\n ".concat(JSON.stringify(metadata), "\n );\n}");
670
+ return "{\n var _sentryModuleMetadataGlobal =\n typeof window !== \"undefined\"\n ? window\n : typeof global !== \"undefined\"\n ? global\n : typeof self !== \"undefined\"\n ? self\n : {};\n\n _sentryModuleMetadataGlobal._sentryModuleMetadata =\n _sentryModuleMetadataGlobal._sentryModuleMetadata || {};\n\n _sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack] =\n Object.assign(\n {},\n _sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack],\n ".concat(JSON.stringify(metadata), "\n );\n}");
671
671
  }
672
672
  function getBuildInformation$1() {
673
673
  var packageJson = getPackageJson();
@@ -13619,7 +13619,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
13619
13619
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
13620
13620
  tracesSampleRate: 1,
13621
13621
  sampleRate: 1,
13622
- release: "2.22.2",
13622
+ release: "2.22.3",
13623
13623
  integrations: [],
13624
13624
  tracePropagationTargets: ["sentry.io/api"],
13625
13625
  stackParser: defaultStackParser,
@@ -14583,7 +14583,7 @@ function sentryUnpluginFactory(_ref) {
14583
14583
  });
14584
14584
 
14585
14585
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
14586
- process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.2");
14586
+ process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.3");
14587
14587
  function handleRecoverableError(unknownError) {
14588
14588
  sentrySession.status = "abnormal";
14589
14589
  try {
@@ -15088,7 +15088,7 @@ function createComponentNameAnnotateHooks() {
15088
15088
  };
15089
15089
  }
15090
15090
  function getDebugIdSnippet(debugId) {
15091
- return ";!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]=\"".concat(debugId, "\",e._sentryDebugIdIdentifier=\"sentry-dbid-").concat(debugId, "\")}catch(e){}}();");
15091
+ return ";!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]=\"".concat(debugId, "\",e._sentryDebugIdIdentifier=\"sentry-dbid-").concat(debugId, "\")}catch(e){}}();");
15092
15092
  }
15093
15093
 
15094
15094
  export { createComponentNameAnnotateHooks, createRollupBundleSizeOptimizationHooks, createRollupDebugIdInjectionHooks, createRollupDebugIdUploadHooks, createRollupModuleMetadataInjectionHooks, createRollupReleaseInjectionHooks, getBuildInformation, getDebugIdSnippet, replaceBooleanFlagsInCode, sentryCliBinaryExists, sentryUnpluginFactory, stringToUUID };