Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/esbuild-plugin

Package Overview
Dependencies
Maintainers
11
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/esbuild-plugin - npm Package Compare versions

Comparing version 2.17.0 to 2.18.0

4

dist/cjs/index.js

@@ -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

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