@sentry/bundler-plugin-core 2.6.0 → 2.6.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
|
@@ -863,6 +863,9 @@ function createDebugIdUploadFunction(_ref) {
|
|
|
863
863
|
return Promise.all(filePathsToDelete.map(function (filePathToDelete) {
|
|
864
864
|
return fs__default["default"].promises.rm(filePathToDelete, {
|
|
865
865
|
force: true
|
|
866
|
+
})["catch"](function (e) {
|
|
867
|
+
// This is allowed to fail - we just don't do anything
|
|
868
|
+
logger.debug("An error occured while attempting to delete asset: ".concat(filePathToDelete), e);
|
|
866
869
|
});
|
|
867
870
|
}));
|
|
868
871
|
case 53:
|
|
@@ -1300,7 +1303,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
1300
1303
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
1301
1304
|
tracesSampleRate: 1,
|
|
1302
1305
|
sampleRate: 1,
|
|
1303
|
-
release: "2.6.
|
|
1306
|
+
release: "2.6.1",
|
|
1304
1307
|
integrations: [],
|
|
1305
1308
|
tracePropagationTargets: ["sentry.io/api"],
|
|
1306
1309
|
stackParser: node.defaultStackParser,
|
|
@@ -1370,6 +1373,8 @@ function setTelemetryDataOnHub(options, hub, bundler) {
|
|
|
1370
1373
|
if (release.uploadLegacySourcemaps) {
|
|
1371
1374
|
hub.setTag("uploadLegacySourcemapsEntries", Array.isArray(release.uploadLegacySourcemaps) ? release.uploadLegacySourcemaps.length : 1);
|
|
1372
1375
|
}
|
|
1376
|
+
hub.setTag("module-metadata", !!options._experiments.moduleMetadata);
|
|
1377
|
+
hub.setTag("inject-build-information", !!options._experiments.injectBuildInformation);
|
|
1373
1378
|
|
|
1374
1379
|
// Optional release pipeline steps
|
|
1375
1380
|
hub.setTag("clean-artifacts", release.cleanArtifacts);
|
|
@@ -1530,7 +1535,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
1530
1535
|
});
|
|
1531
1536
|
|
|
1532
1537
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
1533
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.6.
|
|
1538
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.6.1");
|
|
1534
1539
|
function handleRecoverableError(unknownError) {
|
|
1535
1540
|
sentrySession.status = "abnormal";
|
|
1536
1541
|
try {
|