Socket
Socket
Sign inDemoInstall

@sentry/webpack-plugin

Package Overview
Dependencies
19
Maintainers
12
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.19.1 to 1.20.0

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

## 1.20.0
- build: Bump `@sentry/cli` version to `1.74.6` (#406)
- feat: Add a means to detect if the CLI binary exists (#402)
- feat: Add pipeline argument (#403)
## 1.19.1

@@ -7,0 +13,0 @@

1

index.d.ts

@@ -133,2 +133,3 @@ import { Compiler, WebpackPluginInstance } from 'webpack';

constructor(options: SentryCliPlugin.SentryCliPluginOptions);
static cliBinaryExists(): string;
apply(compiler: Compiler): void;

@@ -135,0 +136,0 @@ }

4

package.json

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

"author": "Sentry",
"version": "1.19.1",
"version": "1.20.0",
"license": "MIT",

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

"dependencies": {
"@sentry/cli": "^1.74.4",
"@sentry/cli": "^1.74.6",
"webpack-sources": "^2.0.0 || ^3.0.0"

@@ -25,0 +25,0 @@ },

const SentryCli = require('@sentry/cli');
const fs = require('fs');
const path = require('path');
const util = require('util');
const { RawSource } = require('webpack-sources');
const pjson = require('../package.json');

@@ -9,2 +11,5 @@ const SENTRY_LOADER = path.resolve(__dirname, 'sentry.loader.js');

// Set the User-Agent string.
process.env.SENTRY_PIPELINE = `webpack-plugin/${pjson.version}`;
/**

@@ -197,2 +202,6 @@ * Helper function that ensures an object key is defined. This mutates target!

static cliBinaryExists() {
return fs.existsSync(SentryCli.getPath());
}
/** Creates a new Sentry CLI instance. */

@@ -199,0 +208,0 @@ getSentryCli() {

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