@sentry/bundler-plugin-core 2.22.6 → 2.22.7
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
|
@@ -8108,7 +8108,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
8108
8108
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
8109
8109
|
tracesSampleRate: 1,
|
|
8110
8110
|
sampleRate: 1,
|
|
8111
|
-
release: "2.22.
|
|
8111
|
+
release: "2.22.7",
|
|
8112
8112
|
integrations: [],
|
|
8113
8113
|
tracePropagationTargets: ["sentry.io/api"],
|
|
8114
8114
|
stackParser: stackParser,
|
|
@@ -8172,6 +8172,7 @@ function setTelemetryDataOnScope(options, scope, bundler) {
|
|
|
8172
8172
|
scope.setTag("platform", process.platform);
|
|
8173
8173
|
scope.setTag("meta-framework", (_options$_metaOptions = options._metaOptions.telemetry.metaFramework) !== null && _options$_metaOptions !== void 0 ? _options$_metaOptions : "none");
|
|
8174
8174
|
scope.setTag("application-key-set", options.applicationKey !== undefined);
|
|
8175
|
+
scope.setTag("ci", !!process.env["CI"]);
|
|
8175
8176
|
scope.setTags({
|
|
8176
8177
|
organization: org,
|
|
8177
8178
|
project: project,
|
|
@@ -8933,6 +8934,7 @@ function telemetryPlugin(_ref) {
|
|
|
8933
8934
|
};
|
|
8934
8935
|
}
|
|
8935
8936
|
|
|
8937
|
+
// Logging everything to stderr not to interfere with stdout
|
|
8936
8938
|
function createLogger(options) {
|
|
8937
8939
|
return {
|
|
8938
8940
|
info: function info(message) {
|
|
@@ -8942,7 +8944,7 @@ function createLogger(options) {
|
|
|
8942
8944
|
params[_key - 1] = arguments[_key];
|
|
8943
8945
|
}
|
|
8944
8946
|
// eslint-disable-next-line no-console
|
|
8945
|
-
(_console = console).
|
|
8947
|
+
(_console = console).error.apply(_console, ["".concat(options.prefix, " Info: ").concat(message)].concat(params));
|
|
8946
8948
|
}
|
|
8947
8949
|
},
|
|
8948
8950
|
warn: function warn(message) {
|
|
@@ -8952,7 +8954,7 @@ function createLogger(options) {
|
|
|
8952
8954
|
params[_key2 - 1] = arguments[_key2];
|
|
8953
8955
|
}
|
|
8954
8956
|
// eslint-disable-next-line no-console
|
|
8955
|
-
(_console2 = console).
|
|
8957
|
+
(_console2 = console).error.apply(_console2, ["".concat(options.prefix, " Warning: ").concat(message)].concat(params));
|
|
8956
8958
|
}
|
|
8957
8959
|
},
|
|
8958
8960
|
error: function error(message) {
|
|
@@ -8962,7 +8964,7 @@ function createLogger(options) {
|
|
|
8962
8964
|
params[_key3 - 1] = arguments[_key3];
|
|
8963
8965
|
}
|
|
8964
8966
|
// eslint-disable-next-line no-console
|
|
8965
|
-
(_console3 = console).
|
|
8967
|
+
(_console3 = console).error.apply(_console3, ["".concat(options.prefix, " Error: ").concat(message)].concat(params));
|
|
8966
8968
|
}
|
|
8967
8969
|
},
|
|
8968
8970
|
debug: function debug(message) {
|
|
@@ -8972,7 +8974,7 @@ function createLogger(options) {
|
|
|
8972
8974
|
params[_key4 - 1] = arguments[_key4];
|
|
8973
8975
|
}
|
|
8974
8976
|
// eslint-disable-next-line no-console
|
|
8975
|
-
(_console4 = console).
|
|
8977
|
+
(_console4 = console).error.apply(_console4, ["".concat(options.prefix, " Debug: ").concat(message)].concat(params));
|
|
8976
8978
|
}
|
|
8977
8979
|
}
|
|
8978
8980
|
};
|
|
@@ -9142,7 +9144,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
9142
9144
|
});
|
|
9143
9145
|
|
|
9144
9146
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
9145
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.
|
|
9147
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.7");
|
|
9146
9148
|
function handleRecoverableError(unknownError) {
|
|
9147
9149
|
sentrySession.status = "abnormal";
|
|
9148
9150
|
try {
|