Socket
Socket
Sign inDemoInstall

@sentry/bundler-plugin-core

Package Overview
Dependencies
Maintainers
11
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/bundler-plugin-core - npm Package Compare versions

Comparing version 2.10.3 to 2.11.0

8

dist/types/index.d.ts

@@ -1,5 +0,6 @@

import { UnpluginOptions } from "unplugin";
import { TransformResult, UnpluginOptions } from "unplugin";
import { Options, SentrySDKBuildFlags } from "./types";
interface SentryUnpluginFactoryOptions {
releaseInjectionPlugin: (injectionCode: string) => UnpluginOptions;
componentNameAnnotatePlugin?: () => UnpluginOptions;
moduleMetadataInjectionPlugin?: (injectionCode: string) => UnpluginOptions;

@@ -37,3 +38,3 @@ debugIdInjectionPlugin: () => UnpluginOptions;

*/
export declare function sentryUnpluginFactory({ releaseInjectionPlugin, moduleMetadataInjectionPlugin, debugIdInjectionPlugin, debugIdUploadPlugin, bundleSizeOptimizationsPlugin, }: SentryUnpluginFactoryOptions): import("unplugin").UnpluginInstance<Options, true>;
export declare function sentryUnpluginFactory({ releaseInjectionPlugin, componentNameAnnotatePlugin, moduleMetadataInjectionPlugin, debugIdInjectionPlugin, debugIdUploadPlugin, bundleSizeOptimizationsPlugin, }: SentryUnpluginFactoryOptions): import("unplugin").UnpluginInstance<Options, true>;
export declare function getBuildInformation(): {

@@ -92,2 +93,5 @@ deps: string[];

};
export declare function createComponentNameAnnotateHooks(): {
transform(this: void, code: string, id: string): Promise<TransformResult>;
};
export declare function getDebugIdSnippet(debugId: string): string;

@@ -94,0 +98,0 @@ export { stringToUUID, replaceBooleanFlagsInCode } from "./utils";

@@ -62,2 +62,5 @@ import { Logger } from "./sentry/logger";

} | undefined;
reactComponentAnnotation: {
enabled?: boolean | undefined;
} | undefined;
_experiments: {

@@ -64,0 +67,0 @@ injectBuildInformation?: boolean | undefined;

@@ -250,2 +250,15 @@ export interface Options {

/**
* Options related to react component name annotations.
* Disabled by default, unless a value is set for this option.
* When enabled, your app's DOM will automatically be annotated during build-time with their respective component names.
* This will unlock the capability to search for Replays in Sentry by component name, as well as see component names in breadcrumbs and performance monitoring.
* Please note that this feature is not currently supported by the esbuild bundler plugins, and will only annotate React components
*/
reactComponentAnnotation?: {
/**
* Whether the component name annotate plugin should be enabled or not.
*/
enabled?: boolean;
};
/**
* Options that are considered experimental and subject to change.

@@ -252,0 +265,0 @@ *

{
"name": "@sentry/bundler-plugin-core",
"version": "2.10.3",
"version": "2.11.0",
"description": "Sentry Bundler Plugin Core",

@@ -55,3 +55,5 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",

"dependencies": {
"@babel/core": "7.18.5",
"@sentry/cli": "^2.22.3",
"@sentry/component-annotate-plugin": "2.11.0",
"@sentry/node": "^7.60.0",

@@ -66,3 +68,2 @@ "@sentry/utils": "^7.60.0",

"devDependencies": {
"@babel/core": "7.18.5",
"@babel/preset-env": "7.18.2",

@@ -74,4 +75,4 @@ "@babel/preset-typescript": "7.17.12",

"@rollup/plugin-replace": "^4.0.0",
"@sentry-internal/eslint-config": "2.10.3",
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.10.3",
"@sentry-internal/eslint-config": "2.11.0",
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.11.0",
"@swc/core": "^1.2.205",

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

Sorry, the diff of this file is too big to display

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

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