@sentry/bundler-plugin-core
Advanced tools
Comparing version 2.22.7 to 2.23.0
@@ -6,3 +6,3 @@ import { TransformResult, UnpluginOptions } from "unplugin"; | ||
releaseInjectionPlugin: (injectionCode: string) => UnpluginOptions; | ||
componentNameAnnotatePlugin?: () => UnpluginOptions; | ||
componentNameAnnotatePlugin?: (ignoredComponents?: string[]) => UnpluginOptions; | ||
moduleMetadataInjectionPlugin: (injectionCode: string) => UnpluginOptions; | ||
@@ -93,3 +93,3 @@ debugIdInjectionPlugin: (logger: Logger) => UnpluginOptions; | ||
}; | ||
export declare function createComponentNameAnnotateHooks(): { | ||
export declare function createComponentNameAnnotateHooks(ignoredComponents?: string[]): { | ||
transform(this: void, code: string, id: string): Promise<TransformResult>; | ||
@@ -96,0 +96,0 @@ }; |
@@ -66,2 +66,3 @@ import { Logger } from "./sentry/logger"; | ||
enabled?: boolean | undefined; | ||
ignoredComponents?: string[] | undefined; | ||
} | undefined; | ||
@@ -68,0 +69,0 @@ _metaOptions: { |
@@ -30,4 +30,9 @@ import { SentryCliCommitsOptions, SentryCliNewDeployOptions } from "@sentry/cli"; | ||
} | ||
/** | ||
* Creates a plugin that creates releases, sets commits, deploys and finalizes releases. | ||
* | ||
* Additionally, if legacy upload options are set, it uploads source maps in the legacy (non-debugId) way. | ||
*/ | ||
export declare function releaseManagementPlugin({ releaseName, include, dist, setCommitsOption, shouldCreateRelease, shouldFinalizeRelease, deployOptions, handleRecoverableError, sentryScope, sentryClient, sentryCliOptions, createDependencyOnSourcemapFiles, }: ReleaseManagementPluginOptions): UnpluginOptions; | ||
export {}; | ||
//# sourceMappingURL=release-management.d.ts.map |
@@ -285,2 +285,6 @@ export interface Options { | ||
enabled?: boolean; | ||
/** | ||
* A list of strings representing the names of components to ignore. The plugin will not apply `data-sentry` annotations on the DOM element for these components. | ||
*/ | ||
ignoredComponents?: string[]; | ||
}; | ||
@@ -287,0 +291,0 @@ /** |
{ | ||
"name": "@sentry/bundler-plugin-core", | ||
"version": "2.22.7", | ||
"version": "2.23.0", | ||
"description": "Sentry Bundler Plugin Core", | ||
@@ -56,3 +56,3 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git", | ||
"@babel/core": "^7.18.5", | ||
"@sentry/babel-plugin-component-annotate": "2.22.7", | ||
"@sentry/babel-plugin-component-annotate": "2.23.0", | ||
"@sentry/cli": "2.39.1", | ||
@@ -72,4 +72,4 @@ "dotenv": "^16.3.1", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@sentry-internal/eslint-config": "2.22.7", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.22.7", | ||
"@sentry-internal/eslint-config": "2.23.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.23.0", | ||
"@sentry/core": "8.30.0", | ||
@@ -76,0 +76,0 @@ "@sentry/types": "8.30.0", |
@@ -7,2 +7,4 @@ try { | ||
? global | ||
: "undefined" != typeof globalThis | ||
? global | ||
: "undefined" != typeof self | ||
@@ -9,0 +11,0 @@ ? self |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1917320
18110
102
+ Added@sentry/babel-plugin-component-annotate@2.23.0(transitive)
- Removed@sentry/babel-plugin-component-annotate@2.22.7(transitive)