@sentry/webpack-plugin
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -94,4 +94,25 @@ 'use strict'; | ||
} | ||
function webpackModuleMetadataInjectionPlugin(injectionCode) { | ||
return { | ||
name: "sentry-webpack-module-metadata-injection-plugin", | ||
webpack: function webpack(compiler) { | ||
var _compiler$webpack3; | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore webpack version compatibility shenanigans | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access | ||
var BannerPlugin = (compiler === null || compiler === void 0 ? void 0 : (_compiler$webpack3 = compiler.webpack) === null || _compiler$webpack3 === void 0 ? void 0 : _compiler$webpack3.BannerPlugin) || (webback4or5__namespace === null || webback4or5__namespace === void 0 ? void 0 : webback4or5__namespace.BannerPlugin); | ||
compiler.options.plugins = compiler.options.plugins || []; | ||
compiler.options.plugins.push( | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-call | ||
new BannerPlugin({ | ||
raw: true, | ||
include: /\.(js|ts|jsx|tsx|mjs|cjs)$/, | ||
banner: injectionCode | ||
})); | ||
} | ||
}; | ||
} | ||
var sentryUnplugin = bundlerPluginCore.sentryUnpluginFactory({ | ||
releaseInjectionPlugin: webpackReleaseInjectionPlugin, | ||
moduleMetadataInjectionPlugin: webpackModuleMetadataInjectionPlugin, | ||
debugIdInjectionPlugin: webpackDebugIdInjectionPlugin, | ||
@@ -98,0 +119,0 @@ debugIdUploadPlugin: webpackDebugIdUploadPlugin |
{ | ||
"name": "@sentry/webpack-plugin", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "Official Sentry Webpack plugin", | ||
@@ -51,3 +51,3 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git", | ||
"dependencies": { | ||
"@sentry/bundler-plugin-core": "2.4.0", | ||
"@sentry/bundler-plugin-core": "2.5.0", | ||
"unplugin": "1.0.1", | ||
@@ -62,4 +62,4 @@ "uuid": "^9.0.0" | ||
"@rollup/plugin-commonjs": "22.0.1", | ||
"@sentry-internal/eslint-config": "2.4.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.4.0", | ||
"@sentry-internal/eslint-config": "2.5.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.5.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -66,0 +66,0 @@ "@swc/jest": "^0.2.21", |
@@ -176,3 +176,3 @@ <p align="center"> | ||
Options for source maps uploading. Leave this option undefined if you do not want to upload source maps to Sentry. | ||
Options for uploading source maps. | ||
### `sourcemaps.assets` | ||
@@ -179,0 +179,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
48667
228
+ Added@sentry-internal/tracing@7.118.0(transitive)
+ Added@sentry/bundler-plugin-core@2.5.0(transitive)
+ Added@sentry/core@7.118.0(transitive)
+ Added@sentry/integrations@7.118.0(transitive)
+ Added@sentry/node@7.118.0(transitive)
+ Added@sentry/types@7.118.0(transitive)
+ Added@sentry/utils@7.118.0(transitive)
+ Addedimmediate@3.0.6(transitive)
+ Addedlie@3.1.1(transitive)
+ Addedlocalforage@1.10.0(transitive)
- Removed@sentry-internal/tracing@7.53.1(transitive)
- Removed@sentry/bundler-plugin-core@2.4.0(transitive)
- Removed@sentry/core@7.53.1(transitive)
- Removed@sentry/node@7.53.1(transitive)
- Removed@sentry/types@7.53.1(transitive)
- Removed@sentry/utils@7.53.1(transitive)
- Removedcookie@0.4.2(transitive)
- Removedlru_map@0.3.3(transitive)
- Removedtslib@1.14.1(transitive)