Socket
Socket
Sign inDemoInstall

@sentry/webpack-plugin

Package Overview
Dependencies
Maintainers
12
Versions
98
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.18.3 to 1.18.4

5

CHANGELOG.md

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

## v1.18.4
- deps: Bump sentry-cli to 1.72.0
- ref: Use `var` instead of `const` for module loader for ES5-compat (#338)
## v1.18.3

@@ -10,0 +15,0 @@

1

index.d.ts

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

| 'silent'
| 'customHeader'
>,

@@ -23,0 +24,0 @@ Pick<

4

package.json

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

"author": "Sentry",
"version": "1.18.3",
"version": "1.18.4",
"license": "MIT",

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

"dependencies": {
"@sentry/cli": "^1.70.1"
"@sentry/cli": "^1.72.0"
},

@@ -25,0 +25,0 @@ "devDependencies": {

@@ -68,2 +68,3 @@ <p align="center">

| url | `string` | optional | The base URL of your Sentry instance. Defaults to https://sentry.io/, which is the correct value for SAAS customers. |
| customHeader | `string` | optional | A header added to all outgoing requests. A string in the format `header-key: header-value` |
| vcsRemote | `string` | optional | The name of the remote in the version control system. Defaults to `origin`. |

@@ -70,0 +71,0 @@ | release | `string` | optional | Unique identifier for the release. Defaults to the output of the `sentry-cli releases propose-version` command, which automatically detects values for Cordova, Heroku, AWS CodeBuild, CircleCI, Xcode, and Gradle, and otherwise uses `HEAD`'s commit SHA. (**For `HEAD` option, requires access to `git` CLI and for the root directory to be a valid repository**). |

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

releasePromise.then(version => {
let sentryRelease = `const _global = (typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}); _global.SENTRY_RELEASE={id:"${version}"};`;
let sentryRelease = `var _global = (typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}); _global.SENTRY_RELEASE={id:"${version}"};`;
if (project) {

@@ -8,0 +8,0 @@ const key = org ? `${project}@${org}` : project;

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