@sentry/bundler-plugin-core 2.21.1 → 2.22.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 +4 -4
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/options-mapping.d.ts +1 -0
- package/dist/types/options-mapping.d.ts.map +1 -1
- package/dist/types/types.d.ts +34 -20
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/cjs/index.js
CHANGED
|
@@ -13659,7 +13659,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
13659
13659
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
13660
13660
|
tracesSampleRate: 1,
|
|
13661
13661
|
sampleRate: 1,
|
|
13662
|
-
release: "2.
|
|
13662
|
+
release: "2.22.0",
|
|
13663
13663
|
integrations: [],
|
|
13664
13664
|
tracePropagationTargets: ["sentry.io/api"],
|
|
13665
13665
|
stackParser: defaultStackParser,
|
|
@@ -14546,7 +14546,7 @@ function fileDeletionPlugin(_ref) {
|
|
|
14546
14546
|
*
|
|
14547
14547
|
* Release injection:
|
|
14548
14548
|
* Per default the sentry bundler plugin will inject a global `SENTRY_RELEASE` into each JavaScript/TypeScript module
|
|
14549
|
-
* that is part of the bundle. On a technical level this is done by appending an import (`import "sentry-release-injector
|
|
14549
|
+
* that is part of the bundle. On a technical level this is done by appending an import (`import "sentry-release-injector";`)
|
|
14550
14550
|
* to all entrypoint files of the user code (see `transformInclude` and `transform` hooks). This import is then resolved
|
|
14551
14551
|
* by the sentry plugin to a virtual module that sets the global variable (see `resolveId` and `load` hooks).
|
|
14552
14552
|
* If a user wants to inject the release into a particular set of modules they can use the `releaseInjectionTargets` option.
|
|
@@ -14623,7 +14623,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
14623
14623
|
});
|
|
14624
14624
|
|
|
14625
14625
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
14626
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.
|
|
14626
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.22.0");
|
|
14627
14627
|
function handleRecoverableError(unknownError) {
|
|
14628
14628
|
sentrySession.status = "abnormal";
|
|
14629
14629
|
try {
|
|
@@ -14706,7 +14706,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
14706
14706
|
if (bundleSizeOptimizations.excludeDebugStatements) {
|
|
14707
14707
|
replacementValues["__SENTRY_DEBUG__"] = false;
|
|
14708
14708
|
}
|
|
14709
|
-
if (bundleSizeOptimizations.excludePerformanceMonitoring) {
|
|
14709
|
+
if (bundleSizeOptimizations.excludePerformanceMonitoring || bundleSizeOptimizations.excludeTracing) {
|
|
14710
14710
|
replacementValues["__SENTRY_TRACE__"] = false;
|
|
14711
14711
|
}
|
|
14712
14712
|
if (bundleSizeOptimizations.excludeReplayCanvas) {
|