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

@sentry/esbuild-plugin

Package Overview
Dependencies
Maintainers
0
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.21.1 to 2.22.0

8

package.json
{
"name": "@sentry/esbuild-plugin",
"version": "2.21.1",
"version": "2.22.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.21.1",
"@sentry/bundler-plugin-core": "2.22.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.21.1",
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.21.1",
"@sentry-internal/eslint-config": "2.22.0",
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.22.0",
"@swc/core": "^1.2.205",

@@ -66,0 +66,0 @@ "@swc/jest": "^0.2.21",

@@ -85,2 +85,8 @@ <p align="center">

- [`uploadLegacySourcemaps`](#releaseuploadlegacysourcemaps)
- [`bundleSizeOptimizations`](#bundlesizeoptimizations)
- [`excludeDebugStatements`](#bundlesizeoptimizationsexcludedebugstatements)
- [`excludeTracing`](#bundlesizeoptimizationsexcludetracing)
- [`excludeReplayShadowDom`](#bundlesizeoptimizationsexcludereplayshadowdom)
- [`excludeReplayIframe`](#bundlesizeoptimizationsexcludereplayiframe)
- [`excludeReplayWorker`](#bundlesizeoptimizationsexcludereplayworker)

@@ -499,3 +505,53 @@ - [`moduleMetadata`](#modulemetadata)

### `bundleSizeOptimizations`
Options related to bundle size optimizations. These options will allow you to optimize and reduce the bundle size of the Sentry SDK.
### `bundleSizeOptimizations.excludeDebugStatements`
Type: `boolean`
If set to `true`, the plugin will attempt to tree-shake (remove) any debugging code within the Sentry SDK.
Note that the success of this depends on tree shaking being enabled in your build tooling.
Setting this option to `true` will disable features like the SDK's `debug` option.
### `bundleSizeOptimizations.excludeTracing`
Type: `boolean`
If set to `true`, the plugin will attempt to tree-shake (remove) code within the Sentry SDK that is related to tracing and performance monitoring.
Note that the success of this depends on tree shaking being enabled in your build tooling.
**Notice:** Do not enable this when you're using any performance monitoring-related SDK features (e.g. `Sentry.startTransaction()`).
### `bundleSizeOptimizations.excludeReplayShadowDom`
Type: `boolean`
If set to `true`, the plugin will attempt to tree-shake (remove) code related to the Sentry SDK's Session Replay Shadow DOM recording functionality.
Note that the success of this depends on tree shaking being enabled in your build tooling.
This option is safe to be used when you do not want to capture any Shadow DOM activity via Sentry Session Replay.
### `bundleSizeOptimizations.excludeReplayIframe`
Type: `boolean`
If set to `true`, the plugin will attempt to tree-shake (remove) code related to the Sentry SDK's Session Replay `iframe` recording functionality.
Note that the success of this depends on tree shaking being enabled in your build tooling.
You can safely do this when you do not want to capture any `iframe` activity via Sentry Session Replay.
### `bundleSizeOptimizations.excludeReplayWorker`
Type: `boolean`
If set to `true`, the plugin will attempt to tree-shake (remove) code related to the Sentry SDK's Session Replay's Compression Web Worker.
Note that the success of this depends on tree shaking being enabled in your build tooling.
**Notice:** You should only do use this option if you manually host a compression worker and configure it in your Sentry Session Replay integration config via the `workerUrl` option.
### `moduleMetadata`

@@ -502,0 +558,0 @@

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