@sentry/bundler-plugin-core 2.14.3 → 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.
@@ -13561,7 +13561,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
13561
13561
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
13562
13562
  tracesSampleRate: 1,
13563
13563
  sampleRate: 1,
13564
- release: "2.14.3",
13564
+ release: "2.16.0",
13565
13565
  integrations: [],
13566
13566
  tracePropagationTargets: ["sentry.io/api"],
13567
13567
  stackParser: defaultStackParser,
@@ -14433,10 +14433,12 @@ function sentryUnpluginFactory(_ref) {
14433
14433
  debugIdInjectionPlugin = _ref.debugIdInjectionPlugin,
14434
14434
  debugIdUploadPlugin = _ref.debugIdUploadPlugin,
14435
14435
  bundleSizeOptimizationsPlugin = _ref.bundleSizeOptimizationsPlugin;
14436
- return createUnplugin(function (userOptions, unpluginMetaContext) {
14437
- var _userOptions$silent, _userOptions$debug;
14436
+ return createUnplugin(function () {
14437
+ var _userOptions$_metaOpt, _userOptions$_metaOpt2, _userOptions$silent, _userOptions$debug;
14438
+ var userOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
14439
+ var unpluginMetaContext = arguments.length > 1 ? arguments[1] : undefined;
14438
14440
  var logger = createLogger({
14439
- prefix: "[sentry-".concat(unpluginMetaContext.framework, "-plugin]"),
14441
+ 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]"),
14440
14442
  silent: (_userOptions$silent = userOptions.silent) !== null && _userOptions$silent !== void 0 ? _userOptions$silent : false,
14441
14443
  debug: (_userOptions$debug = userOptions.debug) !== null && _userOptions$debug !== void 0 ? _userOptions$debug : false
14442
14444
  });
@@ -14474,7 +14476,7 @@ function sentryUnpluginFactory(_ref) {
14474
14476
  });
14475
14477
 
14476
14478
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
14477
- process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.14.3");
14479
+ process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.16.0");
14478
14480
  function handleRecoverableError(unknownError) {
14479
14481
  sentrySession.status = "abnormal";
14480
14482
  try {
@@ -14631,7 +14633,7 @@ function sentryUnpluginFactory(_ref) {
14631
14633
  }
14632
14634
  if (options.reactComponentAnnotation) {
14633
14635
  if (!options.reactComponentAnnotation.enabled) {
14634
- logger.info("The component name annotate plugin is currently disabled. Skipping component name annotations.");
14636
+ logger.debug("The component name annotate plugin is currently disabled. Skipping component name annotations.");
14635
14637
  } else if (options.reactComponentAnnotation.enabled && !componentNameAnnotatePlugin) {
14636
14638
  logger.warn("The component name annotate plugin is currently not supported by '@sentry/esbuild-plugin'");
14637
14639
  } else {