@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/esm/index.mjs
CHANGED
|
@@ -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.
|
|
13564
|
+
release: "2.16.0",
|
|
13565
13565
|
integrations: [],
|
|
13566
13566
|
tracePropagationTargets: ["sentry.io/api"],
|
|
13567
13567
|
stackParser: defaultStackParser,
|
|
@@ -14434,11 +14434,11 @@ function sentryUnpluginFactory(_ref) {
|
|
|
14434
14434
|
debugIdUploadPlugin = _ref.debugIdUploadPlugin,
|
|
14435
14435
|
bundleSizeOptimizationsPlugin = _ref.bundleSizeOptimizationsPlugin;
|
|
14436
14436
|
return createUnplugin(function () {
|
|
14437
|
-
var _userOptions$silent, _userOptions$debug;
|
|
14437
|
+
var _userOptions$_metaOpt, _userOptions$_metaOpt2, _userOptions$silent, _userOptions$debug;
|
|
14438
14438
|
var userOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14439
14439
|
var unpluginMetaContext = arguments.length > 1 ? arguments[1] : undefined;
|
|
14440
14440
|
var logger = createLogger({
|
|
14441
|
-
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]"),
|
|
14442
14442
|
silent: (_userOptions$silent = userOptions.silent) !== null && _userOptions$silent !== void 0 ? _userOptions$silent : false,
|
|
14443
14443
|
debug: (_userOptions$debug = userOptions.debug) !== null && _userOptions$debug !== void 0 ? _userOptions$debug : false
|
|
14444
14444
|
});
|
|
@@ -14476,7 +14476,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
14476
14476
|
});
|
|
14477
14477
|
|
|
14478
14478
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
14479
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.
|
|
14479
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.16.0");
|
|
14480
14480
|
function handleRecoverableError(unknownError) {
|
|
14481
14481
|
sentrySession.status = "abnormal";
|
|
14482
14482
|
try {
|