@sentry/bundler-plugin-core 2.15.0 → 2.16.0

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
@@ -13601,7 +13601,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
13601
13601
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
13602
13602
  tracesSampleRate: 1,
13603
13603
  sampleRate: 1,
13604
- release: "2.15.0",
13604
+ release: "2.16.0",
13605
13605
  integrations: [],
13606
13606
  tracePropagationTargets: ["sentry.io/api"],
13607
13607
  stackParser: defaultStackParser,
@@ -14474,11 +14474,11 @@ function sentryUnpluginFactory(_ref) {
14474
14474
  debugIdUploadPlugin = _ref.debugIdUploadPlugin,
14475
14475
  bundleSizeOptimizationsPlugin = _ref.bundleSizeOptimizationsPlugin;
14476
14476
  return unplugin.createUnplugin(function () {
14477
- var _userOptions$silent, _userOptions$debug;
14477
+ var _userOptions$_metaOpt, _userOptions$_metaOpt2, _userOptions$silent, _userOptions$debug;
14478
14478
  var userOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
14479
14479
  var unpluginMetaContext = arguments.length > 1 ? arguments[1] : undefined;
14480
14480
  var logger = createLogger({
14481
- prefix: "[sentry-".concat(unpluginMetaContext.framework, "-plugin]"),
14481
+ prefix: (_userOptions$_metaOpt = (_userOptions$_metaOpt2 = userOptions._metaOptions) === null || _userOptions$_metaOpt2 === void 0 ? void 0 : _userOptions$_metaOpt2.loggerPrefixOverride) !== null && _userOptions$_metaOpt !== void 0 ? _userOptions$_metaOpt : "[sentry-".concat(unpluginMetaContext.framework, "-plugin]"),
14482
14482
  silent: (_userOptions$silent = userOptions.silent) !== null && _userOptions$silent !== void 0 ? _userOptions$silent : false,
14483
14483
  debug: (_userOptions$debug = userOptions.debug) !== null && _userOptions$debug !== void 0 ? _userOptions$debug : false
14484
14484
  });
@@ -14516,7 +14516,7 @@ function sentryUnpluginFactory(_ref) {
14516
14516
  });
14517
14517
 
14518
14518
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
14519
- process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.15.0");
14519
+ process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.16.0");
14520
14520
  function handleRecoverableError(unknownError) {
14521
14521
  sentrySession.status = "abnormal";
14522
14522
  try {