@sentry/bundler-plugin-core 2.14.3 → 2.15.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.
|
|
13604
|
+
release: "2.15.0",
|
|
13605
13605
|
integrations: [],
|
|
13606
13606
|
tracePropagationTargets: ["sentry.io/api"],
|
|
13607
13607
|
stackParser: defaultStackParser,
|
|
@@ -14473,8 +14473,10 @@ function sentryUnpluginFactory(_ref) {
|
|
|
14473
14473
|
debugIdInjectionPlugin = _ref.debugIdInjectionPlugin,
|
|
14474
14474
|
debugIdUploadPlugin = _ref.debugIdUploadPlugin,
|
|
14475
14475
|
bundleSizeOptimizationsPlugin = _ref.bundleSizeOptimizationsPlugin;
|
|
14476
|
-
return unplugin.createUnplugin(function (
|
|
14476
|
+
return unplugin.createUnplugin(function () {
|
|
14477
14477
|
var _userOptions$silent, _userOptions$debug;
|
|
14478
|
+
var userOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14479
|
+
var unpluginMetaContext = arguments.length > 1 ? arguments[1] : undefined;
|
|
14478
14480
|
var logger = createLogger({
|
|
14479
14481
|
prefix: "[sentry-".concat(unpluginMetaContext.framework, "-plugin]"),
|
|
14480
14482
|
silent: (_userOptions$silent = userOptions.silent) !== null && _userOptions$silent !== void 0 ? _userOptions$silent : false,
|
|
@@ -14514,7 +14516,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
14514
14516
|
});
|
|
14515
14517
|
|
|
14516
14518
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
14517
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.
|
|
14519
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.15.0");
|
|
14518
14520
|
function handleRecoverableError(unknownError) {
|
|
14519
14521
|
sentrySession.status = "abnormal";
|
|
14520
14522
|
try {
|
|
@@ -14671,7 +14673,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
14671
14673
|
}
|
|
14672
14674
|
if (options.reactComponentAnnotation) {
|
|
14673
14675
|
if (!options.reactComponentAnnotation.enabled) {
|
|
14674
|
-
logger.
|
|
14676
|
+
logger.debug("The component name annotate plugin is currently disabled. Skipping component name annotations.");
|
|
14675
14677
|
} else if (options.reactComponentAnnotation.enabled && !componentNameAnnotatePlugin) {
|
|
14676
14678
|
logger.warn("The component name annotate plugin is currently not supported by '@sentry/esbuild-plugin'");
|
|
14677
14679
|
} else {
|