@sentry/bundler-plugin-core 0.7.1 → 0.7.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 +7 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +5 -2
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -12,6 +12,7 @@ var fs = require('fs');
|
|
|
12
12
|
var os = require('os');
|
|
13
13
|
var crypto = require('crypto');
|
|
14
14
|
require('@sentry/tracing');
|
|
15
|
+
var module$1 = require('module');
|
|
15
16
|
var util = require('util');
|
|
16
17
|
var glob = require('glob');
|
|
17
18
|
var webpackSources = require('webpack-sources');
|
|
@@ -1127,7 +1128,7 @@ function makeSentryClient(dsn, allowedToSendTelemetryPromise, userProject) {
|
|
|
1127
1128
|
// a dashboard.
|
|
1128
1129
|
// Yes, this is slightly abusing the purpose of this field.
|
|
1129
1130
|
dist: userProject,
|
|
1130
|
-
release: "0.7.
|
|
1131
|
+
release: "0.7.2",
|
|
1131
1132
|
integrations: [],
|
|
1132
1133
|
tracePropagationTargets: ["sentry.io/api"],
|
|
1133
1134
|
stackParser: node.defaultStackParser,
|
|
@@ -2149,11 +2150,13 @@ function _prepareSourceMapForDebugIdUpload() {
|
|
|
2149
2150
|
return _prepareSourceMapForDebugIdUpload.apply(this, arguments);
|
|
2150
2151
|
}
|
|
2151
2152
|
|
|
2152
|
-
var ALLOWED_TRANSFORMATION_FILE_ENDINGS = [".js", ".ts", ".jsx", ".tsx", ".mjs"];
|
|
2153
|
+
var ALLOWED_TRANSFORMATION_FILE_ENDINGS = [".js", ".ts", ".jsx", ".tsx", ".mjs"]; // Use createRequire because esm doesn't like built-in require.resolve
|
|
2153
2154
|
|
|
2154
|
-
var
|
|
2155
|
+
var require$1 = module$1.createRequire((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href)));
|
|
2155
2156
|
|
|
2156
|
-
var
|
|
2157
|
+
var releaseInjectionFilePath = require$1.resolve("@sentry/bundler-plugin-core/sentry-release-injection-file");
|
|
2158
|
+
|
|
2159
|
+
var esbuildDebugIdInjectionFilePath = require$1.resolve("@sentry/bundler-plugin-core/sentry-esbuild-debugid-injection-file");
|
|
2157
2160
|
/**
|
|
2158
2161
|
* The sentry bundler plugin concerns itself with two things:
|
|
2159
2162
|
* - Release injection
|