@sentry/bundler-plugin-core 2.11.0 → 2.13.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 +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/cjs/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var SentryCli = require('@sentry/cli');
|
|
6
6
|
var core = require('@babel/core');
|
|
7
|
-
var
|
|
7
|
+
var babelPluginComponentAnnotate = require('@sentry/babel-plugin-component-annotate');
|
|
8
8
|
var fs = require('fs');
|
|
9
9
|
var path = require('path');
|
|
10
10
|
var MagicString = require('magic-string');
|
|
@@ -740,7 +740,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
740
740
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
741
741
|
tracesSampleRate: 1,
|
|
742
742
|
sampleRate: 1,
|
|
743
|
-
release: "2.
|
|
743
|
+
release: "2.13.0",
|
|
744
744
|
integrations: [],
|
|
745
745
|
tracePropagationTargets: ["sentry.io/api"],
|
|
746
746
|
stackParser: node.defaultStackParser,
|
|
@@ -1652,7 +1652,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
1652
1652
|
});
|
|
1653
1653
|
|
|
1654
1654
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
1655
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.
|
|
1655
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.13.0");
|
|
1656
1656
|
function handleRecoverableError(unknownError) {
|
|
1657
1657
|
sentrySession.status = "abnormal";
|
|
1658
1658
|
try {
|
|
@@ -2061,7 +2061,7 @@ function createComponentNameAnnotateHooks() {
|
|
|
2061
2061
|
_context2.prev = 7;
|
|
2062
2062
|
_context2.next = 10;
|
|
2063
2063
|
return core.transformAsync(code, {
|
|
2064
|
-
plugins: [[
|
|
2064
|
+
plugins: [[babelPluginComponentAnnotate.componentNameAnnotatePlugin]],
|
|
2065
2065
|
filename: id,
|
|
2066
2066
|
parserOpts: {
|
|
2067
2067
|
sourceType: "module",
|