@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/cjs/index.js
CHANGED
|
@@ -7868,7 +7868,7 @@ function generateModuleMetadataInjectorCode(metadata) {
|
|
|
7868
7868
|
// The code below is mostly ternary operators because it saves bundle size.
|
|
7869
7869
|
// The checks are to support as many environments as possible. (Node.js, Browser, webworkers, etc.)
|
|
7870
7870
|
// We are merging the metadata objects in case modules are bundled twice with the plugin
|
|
7871
|
-
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]=
|
|
7871
|
+
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), ")}();");
|
|
7872
7872
|
}
|
|
7873
7873
|
function getBuildInformation() {
|
|
7874
7874
|
var packageJson = getPackageJson();
|
|
@@ -8196,7 +8196,7 @@ function createSentryInstance(options, shouldSendTelemetry, buildTool) {
|
|
|
8196
8196
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
8197
8197
|
tracesSampleRate: 1,
|
|
8198
8198
|
sampleRate: 1,
|
|
8199
|
-
release: "4.0.
|
|
8199
|
+
release: "4.0.2",
|
|
8200
8200
|
integrations: [],
|
|
8201
8201
|
tracePropagationTargets: ["sentry.io/api"],
|
|
8202
8202
|
stackParser: stackParser,
|
|
@@ -8772,7 +8772,7 @@ function createSentryBuildPluginManager(userOptions, bundlerPluginMetaContext) {
|
|
|
8772
8772
|
});
|
|
8773
8773
|
|
|
8774
8774
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
8775
|
-
process.env["SENTRY_PIPELINE"] = "".concat(bundlerPluginMetaContext.buildTool, "-plugin/", "4.0.
|
|
8775
|
+
process.env["SENTRY_PIPELINE"] = "".concat(bundlerPluginMetaContext.buildTool, "-plugin/", "4.0.2");
|
|
8776
8776
|
|
|
8777
8777
|
// Not a bulletproof check but should be good enough to at least sometimes determine
|
|
8778
8778
|
// if the plugin is called in dev/watch mode or for a prod build. The important part
|