Socket
Socket
Sign inDemoInstall

@sentry/webpack-plugin

Package Overview
Dependencies
1
Maintainers
8
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.0 to 1.6.1

9

package.json
{
"name": "@sentry/webpack-plugin",
"description": "Official webpack plugin for Sentry",
"keywords": [
"sentry",
"sentry-cli",
"webpack",
"source-map"
],
"keywords": ["sentry", "sentry-cli", "webpack", "source-map"],
"author": "Sentry",
"version": "1.6.0",
"version": "1.6.1",
"license": "MIT",

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

@@ -66,4 +66,3 @@ <p align="center">

correct version (**requires access to `git` CLI and root directory to be a valid
repository**). Can use `[hash]` as a part of a string, which will be replaced
with Webpack's compilation hash.
repository**).
* `include [required]` - `string` or `array`, one or more paths that Sentry CLI

@@ -70,0 +69,0 @@ should scan recursively for sources. It will upload all `.map` files and match

@@ -293,3 +293,3 @@ const SentryCli = require('@sentry/cli');

.then(proposedVersion => {
release = proposedVersion.replace('[hash]', compilation.hash);
release = proposedVersion;
return this.cli.releases.new(release);

@@ -296,0 +296,0 @@ })

@@ -5,5 +5,5 @@ module.exports = function sentryLoader(content, map, meta) {

releasePromise.then(version => {
const sentryRelease = `(window||global||self).SENTRY_RELEASE={id:"${version}"};`;
const sentryRelease = `(typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}).SENTRY_RELEASE={id:"${version}"};`;
callback(null, sentryRelease, map, meta);
});
};
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