@sentry/esbuild-plugin
Advanced tools
Comparing version 2.17.0 to 2.18.0
@@ -504,4 +504,4 @@ 'use strict'; | ||
onResolve = _ref2.onResolve; | ||
if (initialOptions.bundle) { | ||
logger.warn("Esbuild's `bundle: true` option is currently not supported! Esbuild will probably crash now. Sorry about that. If you need to upload sourcemaps with the `bundle` option, it is recommended to use Sentry CLI instead: https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/cli/"); | ||
if (!initialOptions.bundle) { | ||
logger.warn("The Sentry esbuild plugin only supports esbuild with `bundle: true` being set in the esbuild build options. Esbuild will probably crash now. Sorry about that. If you need to upload sourcemaps without `bundle: true`, it is recommended to use Sentry CLI instead: https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/cli/"); | ||
} | ||
@@ -508,0 +508,0 @@ onResolve({ |
{ | ||
"name": "@sentry/esbuild-plugin", | ||
"version": "2.17.0", | ||
"version": "2.18.0", | ||
"description": "Official Sentry esbuild plugin", | ||
@@ -51,3 +51,3 @@ "repository": "git@github.com:getsentry/sentry-javascript-bundler-plugins.git", | ||
"dependencies": { | ||
"@sentry/bundler-plugin-core": "2.17.0", | ||
"@sentry/bundler-plugin-core": "2.18.0", | ||
"unplugin": "1.0.1", | ||
@@ -62,4 +62,4 @@ "uuid": "^9.0.0" | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"@sentry-internal/eslint-config": "2.17.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.17.0", | ||
"@sentry-internal/eslint-config": "2.18.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.18.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -66,0 +66,0 @@ "@swc/jest": "^0.2.21", |
@@ -85,2 +85,4 @@ <p align="center"> | ||
- [`moduleMetadata`](#modulemetadata) | ||
- [`applicationKey`](#applicationkey) | ||
- [`_experiments`](#_experiments) | ||
@@ -398,2 +400,4 @@ - [`injectBuildInformation`](#_experimentsinjectbuildinformation) | ||
Please note that this option will not interact with any settings provided in the `sourcemaps` option. Using `uploadLegacySourcemaps` is a completely separate upload mechanism we provide for backwards-compatibility. | ||
The `IncludeEntry` type looks as follows: | ||
@@ -488,2 +492,22 @@ | ||
### `moduleMetadata` | ||
Type: `Record<string, any> | (args: { org?: string; project?: string; release?: string; }) => Record<string, any>` | ||
Metadata that should be associated with the built application. | ||
The metadata is serialized and can be looked up at runtime from within the SDK (for example in the `beforeSend`, event processors, or the transport), allowing for custom event filtering logic or routing of events. | ||
Metadata can either be passed directly or alternatively a callback can be provided that will be called with the following parameters: | ||
- `org`: The organization slug. | ||
- `project`: The project slug. | ||
- `release`: The release name. | ||
### `applicationKey` | ||
Type: `string` | ||
A key which will embedded in all the bundled files. The SDK will be able to use the key to apply filtering rules, for example using the `thirdPartyErrorFilterIntegration`. | ||
### `_experiments` | ||
@@ -490,0 +514,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
122391
534
+ Added@sentry/babel-plugin-component-annotate@2.18.0(transitive)
+ Added@sentry/bundler-plugin-core@2.18.0(transitive)
+ Addedcaniuse-lite@1.0.30001683(transitive)
+ Addedelectron-to-chromium@1.5.64(transitive)
- Removed@sentry/babel-plugin-component-annotate@2.17.0(transitive)
- Removed@sentry/bundler-plugin-core@2.17.0(transitive)
- Removedcaniuse-lite@1.0.30001680(transitive)
- Removedelectron-to-chromium@1.5.62(transitive)