@sentry/bundler-plugin-core 2.12.0 → 2.14.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 +5 -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 componentNameAnnotatePlugin = 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');
|
|
@@ -40,6 +40,7 @@ function _interopNamespace(e) {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
var SentryCli__default = /*#__PURE__*/_interopDefaultLegacy(SentryCli);
|
|
43
|
+
var componentNameAnnotatePlugin__default = /*#__PURE__*/_interopDefaultLegacy(componentNameAnnotatePlugin);
|
|
43
44
|
var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
|
|
44
45
|
var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
|
45
46
|
var path__default = /*#__PURE__*/_interopDefaultLegacy(path);
|
|
@@ -740,7 +741,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
740
741
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
741
742
|
tracesSampleRate: 1,
|
|
742
743
|
sampleRate: 1,
|
|
743
|
-
release: "2.
|
|
744
|
+
release: "2.14.0",
|
|
744
745
|
integrations: [],
|
|
745
746
|
tracePropagationTargets: ["sentry.io/api"],
|
|
746
747
|
stackParser: node.defaultStackParser,
|
|
@@ -1652,7 +1653,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
1652
1653
|
});
|
|
1653
1654
|
|
|
1654
1655
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
1655
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.
|
|
1656
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.14.0");
|
|
1656
1657
|
function handleRecoverableError(unknownError) {
|
|
1657
1658
|
sentrySession.status = "abnormal";
|
|
1658
1659
|
try {
|
|
@@ -2061,7 +2062,7 @@ function createComponentNameAnnotateHooks() {
|
|
|
2061
2062
|
_context2.prev = 7;
|
|
2062
2063
|
_context2.next = 10;
|
|
2063
2064
|
return core.transformAsync(code, {
|
|
2064
|
-
plugins: [[
|
|
2065
|
+
plugins: [[componentNameAnnotatePlugin__default["default"]]],
|
|
2065
2066
|
filename: id,
|
|
2066
2067
|
parserOpts: {
|
|
2067
2068
|
sourceType: "module",
|