@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/esm/index.mjs
CHANGED
|
@@ -8072,7 +8072,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
8072
8072
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
8073
8073
|
tracesSampleRate: 1,
|
|
8074
8074
|
sampleRate: 1,
|
|
8075
|
-
release: "2.22.
|
|
8075
|
+
release: "2.22.7",
|
|
8076
8076
|
integrations: [],
|
|
8077
8077
|
tracePropagationTargets: ["sentry.io/api"],
|
|
8078
8078
|
stackParser: stackParser,
|
|
@@ -8136,6 +8136,7 @@ function setTelemetryDataOnScope(options, scope, bundler) {
|
|
|
8136
8136
|
scope.setTag("platform", process.platform);
|
|
8137
8137
|
scope.setTag("meta-framework", (_options$_metaOptions = options._metaOptions.telemetry.metaFramework) !== null && _options$_metaOptions !== void 0 ? _options$_metaOptions : "none");
|
|
8138
8138
|
scope.setTag("application-key-set", options.applicationKey !== undefined);
|
|
8139
|
+
scope.setTag("ci", !!process.env["CI"]);
|
|
8139
8140
|
scope.setTags({
|
|
8140
8141
|
organization: org,
|
|
8141
8142
|
project: project,
|
|
@@ -8897,6 +8898,7 @@ function telemetryPlugin(_ref) {
|
|
|
8897
8898
|
};
|
|
8898
8899
|
}
|
|
8899
8900
|
|
|
8901
|
+
// Logging everything to stderr not to interfere with stdout
|
|
8900
8902
|
function createLogger(options) {
|
|
8901
8903
|
return {
|
|
8902
8904
|
info: function info(message) {
|
|
@@ -8906,7 +8908,7 @@ function createLogger(options) {
|
|
|
8906
8908
|
params[_key - 1] = arguments[_key];
|
|
8907
8909
|
}
|
|
8908
8910
|
// eslint-disable-next-line no-console
|
|
8909
|
-
(_console = console).
|
|
8911
|
+
(_console = console).error.apply(_console, ["".concat(options.prefix, " Info: ").concat(message)].concat(params));
|
|
8910
8912
|
}
|
|
8911
8913
|
},
|
|
8912
8914
|
warn: function warn(message) {
|
|
@@ -8916,7 +8918,7 @@ function createLogger(options) {
|
|
|
8916
8918
|
params[_key2 - 1] = arguments[_key2];
|
|
8917
8919
|
}
|
|
8918
8920
|
// eslint-disable-next-line no-console
|
|
8919
|
-
(_console2 = console).
|
|
8921
|
+
(_console2 = console).error.apply(_console2, ["".concat(options.prefix, " Warning: ").concat(message)].concat(params));
|
|
8920
8922
|
}
|
|
8921
8923
|
},
|
|
8922
8924
|
error: function error(message) {
|
|
@@ -8926,7 +8928,7 @@ function createLogger(options) {
|
|
|
8926
8928
|
params[_key3 - 1] = arguments[_key3];
|
|
8927
8929
|
}
|
|
8928
8930
|
// eslint-disable-next-line no-console
|
|
8929
|
-
(_console3 = console).
|
|
8931
|
+
(_console3 = console).error.apply(_console3, ["".concat(options.prefix, " Error: ").concat(message)].concat(params));
|
|
8930
8932
|
}
|
|
8931
8933
|
},
|
|
8932
8934
|
debug: function debug(message) {
|
|
@@ -8936,7 +8938,7 @@ function createLogger(options) {
|
|
|
8936
8938
|
params[_key4 - 1] = arguments[_key4];
|
|
8937
8939
|
}
|
|
8938
8940
|
// eslint-disable-next-line no-console
|
|
8939
|
-
(_console4 = console).
|
|
8941
|
+
(_console4 = console).error.apply(_console4, ["".concat(options.prefix, " Debug: ").concat(message)].concat(params));
|
|
8940
8942
|
}
|
|
8941
8943
|
}
|
|
8942
8944
|
};
|
|
@@ -9106,7 +9108,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
9106
9108
|
});
|
|
9107
9109
|
|
|
9108
9110
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
9109
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.
|
|
9111
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.7");
|
|
9110
9112
|
function handleRecoverableError(unknownError) {
|
|
9111
9113
|
sentrySession.status = "abnormal";
|
|
9112
9114
|
try {
|