@sentry/bundler-plugin-core 4.0.1 → 4.0.2
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 +3 -3
- 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/esm/index.mjs
CHANGED
|
@@ -7831,7 +7831,7 @@ function generateModuleMetadataInjectorCode(metadata) {
|
|
|
7831
7831
|
// The code below is mostly ternary operators because it saves bundle size.
|
|
7832
7832
|
// The checks are to support as many environments as possible. (Node.js, Browser, webworkers, etc.)
|
|
7833
7833
|
// We are merging the metadata objects in case modules are bundled twice with the plugin
|
|
7834
|
-
return "!function(){var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=
|
|
7834
|
+
return "!function(){var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var t in a)a.hasOwnProperty(t)&&(e[t]=a[t])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],".concat(JSON.stringify(metadata), ")}();");
|
|
7835
7835
|
}
|
|
7836
7836
|
function getBuildInformation() {
|
|
7837
7837
|
var packageJson = getPackageJson();
|
|
@@ -8159,7 +8159,7 @@ function createSentryInstance(options, shouldSendTelemetry, buildTool) {
|
|
|
8159
8159
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
8160
8160
|
tracesSampleRate: 1,
|
|
8161
8161
|
sampleRate: 1,
|
|
8162
|
-
release: "4.0.
|
|
8162
|
+
release: "4.0.2",
|
|
8163
8163
|
integrations: [],
|
|
8164
8164
|
tracePropagationTargets: ["sentry.io/api"],
|
|
8165
8165
|
stackParser: stackParser,
|
|
@@ -8735,7 +8735,7 @@ function createSentryBuildPluginManager(userOptions, bundlerPluginMetaContext) {
|
|
|
8735
8735
|
});
|
|
8736
8736
|
|
|
8737
8737
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
8738
|
-
process.env["SENTRY_PIPELINE"] = "".concat(bundlerPluginMetaContext.buildTool, "-plugin/", "4.0.
|
|
8738
|
+
process.env["SENTRY_PIPELINE"] = "".concat(bundlerPluginMetaContext.buildTool, "-plugin/", "4.0.2");
|
|
8739
8739
|
|
|
8740
8740
|
// Not a bulletproof check but should be good enough to at least sometimes determine
|
|
8741
8741
|
// if the plugin is called in dev/watch mode or for a prod build. The important part
|