Socket
Socket
Sign inDemoInstall

@sentry/webpack-plugin

Package Overview
Dependencies
144
Maintainers
12
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.0 to 2.5.0

21

dist/cjs/index.js

@@ -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

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc