Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/webpack-plugin

Package Overview
Dependencies
Maintainers
9
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.1.1 to 1.1.2

2

package.json

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

"author": "Sentry",
"version": "1.1.1",
"version": "1.1.2",
"license": "MIT",

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

@@ -69,4 +69,5 @@ <p align="center">

* `stripPrefix | stripCommonPrefix [optional]` - `string`, when paired with `--rewrite` this will chop-off a prefix from uploaded files. For instance you can use this to remove a path that is build machine specific.
* `noSourceMapReference [optional]` - `boolean`, this prevents the automatic detection of sourcemap references.
* `sourceMapReference [optional]` - `boolean`, this prevents the automatic detection of sourcemap references.
* `rewrite [optional]` - `boolean`, enables rewriting of matching sourcemaps so that indexed maps are flattened and missing sources are inlined if possible., defaults to `true`
You can find more information about these options in our official docs: https://docs.sentry.io/learn/cli/releases/#upload-source-maps
var SentryCli = require('@sentry/cli');
function SentryCliPlugin(options = {}) {
this.options = options;
this.options.release = options.release;
// By default we want that rewrite is true
this.options = Object.assign({rewrite: true}, options);
this.options.include =

@@ -17,2 +17,3 @@ options.include &&

var include = this.options.include;
var options = this.options;

@@ -30,2 +31,3 @@ compiler.plugin('after-emit', function(compilation, cb) {

release = release(compilation.hash);
options.release = release;
}

@@ -36,3 +38,3 @@

.then(function() {
return sentryCli.uploadSourceMaps(this.options);
return sentryCli.uploadSourceMaps(options);
})

@@ -39,0 +41,0 @@ .then(function() {

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