Socket
Socket
Sign inDemoInstall

@sentry/webpack-plugin

Package Overview
Dependencies
Maintainers
12
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/webpack-plugin - npm Package Compare versions

Comparing version 1.17.2 to 1.17.3

23

CHANGELOG.md

@@ -5,4 +5,9 @@ # Changelog

- "Would I rather be feared or loved? Easy. Both. I want people to be afraid of how much they love me." — Michael Scott
- "Would I rather be feared or loved? Easy. Both. I want people to be afraid of
how much they love me." — Michael Scott
## v1.17.3
- fix: Switch compilation type in error handler to `unknown` (#322)
## v1.17.2

@@ -37,4 +42,6 @@

- feat: Add `cleanAftifacts` option to remove all previously uploaded files in a release (#264)
- feat: Add `runOnce` option to allow for skipping multiple uploads with the same config (#270)
- feat: Add `cleanAftifacts` option to remove all previously uploaded files in a
release (#264)
- feat: Add `runOnce` option to allow for skipping multiple uploads with the
same config (#270)

@@ -47,3 +54,4 @@ ## v1.14.2

- fix: Use `WebpackPluginInstance` type for Webpack v4 and v5 compatibility (#259)
- fix: Use `WebpackPluginInstance` type for Webpack v4 and v5 compatibility
(#259)

@@ -78,5 +86,6 @@ ## v1.14.0

**This release sets `node.engine: >=8` which makes it incompatible with Node v6**
If you need to support Node v6, please pin your dependency to `1.10.0`
and use selective version resolution: https://classic.yarnpkg.com/en/docs/selective-version-resolutions/
**This release sets `node.engine: >=8` which makes it incompatible with Node
v6** If you need to support Node v6, please pin your dependency to `1.10.0` and
use selective version resolution:
https://classic.yarnpkg.com/en/docs/selective-version-resolutions/

@@ -83,0 +92,0 @@ - meta: Bump sentry-cli to `1.52.2`

@@ -1,2 +0,2 @@

import { Compiler, WebpackPluginInstance, Compilation } from 'webpack';
import { Compiler, WebpackPluginInstance } from 'webpack';
import {

@@ -95,5 +95,15 @@ SentryCliCommitsOptions,

/**
* when Cli error occurs, plugin calls this function.
* webpack compilation failure can be chosen by calling invokeErr callback or not.
* defaults to `(err, invokeErr) => { invokeErr() }`
* When a CLI error occurs, the plugin will call this function.
*
* By default, it will call `invokeErr()`, thereby stopping Webpack
* compilation. To allow compilation to continue and log a warning instead,
* set this to
* (err, invokeErr, compilation) => {
* compilation.warnings.push('Sentry CLI Plugin: ' + err.message)
* }
*
* Note: `compilation` is typed as `unknown` in order to preserve
* compatibility with both Webpack 4 and Webpack 5 types, If you need the
* correct type, in Webpack 4 use `compilation.Compilation` and in Webpack 5
* use `Compilation`.
*/

@@ -103,3 +113,3 @@ errorHandler?: (

invokeErr: () => void,
compilation: Compilation
compilation: unknown
) => void;

@@ -106,0 +116,0 @@

@@ -11,3 +11,3 @@ {

"author": "Sentry",
"version": "1.17.2",
"version": "1.17.3",
"license": "MIT",

@@ -25,3 +25,3 @@ "repository": "git@github.com:getsentry/sentry-webpack-plugin.git",

"devDependencies": {
"@types/webpack": "^4.0.0 || ^5.0.0",
"@types/webpack": "^4.41.31 || ^5.0.0",
"codecov": "^3.5.0",

@@ -36,3 +36,3 @@ "eslint": "^5.16.0",

"prettier-check": "^2.0.0",
"webpack": "^4.39.3"
"webpack": "^4.41.31 || ^5.0.0"
},

@@ -39,0 +39,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc