@sentry/bundler-plugin-core 2.23.0 → 2.23.1

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
@@ -699,7 +699,7 @@ function generateModuleMetadataInjectorCode(metadata) {
699
699
  // The code below is mostly ternary operators because it saves bundle size.
700
700
  // The checks are to support as many environments as possible. (Node.js, Browser, webworkers, etc.)
701
701
  // We are merging the metadata objects in case modules are bundled twice with the plugin
702
- return "{\n var _sentryModuleMetadataGlobal =\n typeof window !== \"undefined\"\n ? window\n : typeof global !== \"undefined\"\n ? global\n : typeof globalThis !== \"undefined\"\n ? globalThis\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}");
702
+ return "!function(){var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},function(){var n,t=(new e.Error).stack,a=e._sentryModuleMetadata[t]||{},o=".concat(JSON.stringify(metadata), ",d={};for(n in a)a.hasOwnProperty(n)&&(d[n]=a[n]);for(n in o)o.hasOwnProperty(n)&&(d[n]=o[n]);e._sentryModuleMetadata[t]=d}()}();");
703
703
  }
704
704
  function getBuildInformation$1() {
705
705
  var packageJson = getPackageJson();
@@ -8110,7 +8110,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
8110
8110
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
8111
8111
  tracesSampleRate: 1,
8112
8112
  sampleRate: 1,
8113
- release: "2.23.0",
8113
+ release: "2.23.1",
8114
8114
  integrations: [],
8115
8115
  tracePropagationTargets: ["sentry.io/api"],
8116
8116
  stackParser: stackParser,
@@ -9151,7 +9151,7 @@ function sentryUnpluginFactory(_ref) {
9151
9151
  });
9152
9152
 
9153
9153
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
9154
- process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.23.0");
9154
+ process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.23.1");
9155
9155
  function handleRecoverableError(unknownError) {
9156
9156
  sentrySession.status = "abnormal";
9157
9157
  try {