@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.
package/dist/cjs/index.js CHANGED
@@ -707,7 +707,7 @@ function generateModuleMetadataInjectorCode(metadata) {
707
707
  // The code below is mostly ternary operators because it saves bundle size.
708
708
  // The checks are to support as many environments as possible. (Node.js, Browser, webworkers, etc.)
709
709
  // We are merging the metadata objects in case modules are bundled twice with the plugin
710
- 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}");
710
+ 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}");
711
711
  }
712
712
  function getBuildInformation$1() {
713
713
  var packageJson = getPackageJson();
@@ -13659,7 +13659,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
13659
13659
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
13660
13660
  tracesSampleRate: 1,
13661
13661
  sampleRate: 1,
13662
- release: "2.22.2",
13662
+ release: "2.22.3",
13663
13663
  integrations: [],
13664
13664
  tracePropagationTargets: ["sentry.io/api"],
13665
13665
  stackParser: defaultStackParser,
@@ -14623,7 +14623,7 @@ function sentryUnpluginFactory(_ref) {
14623
14623
  });
14624
14624
 
14625
14625
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
14626
- process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.2");
14626
+ process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.3");
14627
14627
  function handleRecoverableError(unknownError) {
14628
14628
  sentrySession.status = "abnormal";
14629
14629
  try {
@@ -15128,7 +15128,7 @@ function createComponentNameAnnotateHooks() {
15128
15128
  };
15129
15129
  }
15130
15130
  function getDebugIdSnippet(debugId) {
15131
- 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){}}();");
15131
+ 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){}}();");
15132
15132
  }
15133
15133
 
15134
15134
  exports.createComponentNameAnnotateHooks = createComponentNameAnnotateHooks;