@sentry/webpack-plugin
Advanced tools
Comparing version 1.18.3 to 1.18.4
@@ -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 @@ |
@@ -21,2 +21,3 @@ import { Compiler, WebpackPluginInstance } from 'webpack'; | ||
| 'silent' | ||
| 'customHeader' | ||
>, | ||
@@ -23,0 +24,0 @@ Pick< |
@@ -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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51804
696
131
Updated@sentry/cli@^1.72.0