@sentry/bundler-plugin-core
Advanced tools
Comparing version 2.2.2 to 2.3.0
@@ -16,3 +16,3 @@ import { Logger } from "./sentry/logger"; | ||
sentryClient: NodeClient; | ||
deleteFilesAfterUpload?: string | string[]; | ||
filesToDeleteAfterUpload?: string | string[]; | ||
sentryCliOptions: { | ||
@@ -28,5 +28,5 @@ url: string; | ||
} | ||
export declare function createDebugIdUploadFunction({ assets, ignore, logger, releaseName, dist, handleRecoverableError, sentryHub, sentryClient, sentryCliOptions, rewriteSourcesHook, deleteFilesAfterUpload, }: DebugIdUploadPluginOptions): (buildArtifactPaths: string[]) => Promise<void>; | ||
export declare function createDebugIdUploadFunction({ assets, ignore, logger, releaseName, dist, handleRecoverableError, sentryHub, sentryClient, sentryCliOptions, rewriteSourcesHook, filesToDeleteAfterUpload, }: DebugIdUploadPluginOptions): (buildArtifactPaths: string[]) => Promise<void>; | ||
export declare function prepareBundleForDebugIdUpload(bundleFilePath: string, uploadFolder: string, chunkIndex: number, logger: Logger, rewriteSourcesHook: RewriteSourcesHook): Promise<[void, void] | undefined>; | ||
export {}; | ||
//# sourceMappingURL=debug-id-upload.d.ts.map |
@@ -76,3 +76,4 @@ import { UnpluginOptions } from "unplugin"; | ||
export declare function getDebugIdSnippet(debugId: string): string; | ||
export { stringToUUID } from "./utils"; | ||
export type { Options } from "./types"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -21,2 +21,3 @@ import { Logger } from "./sentry/logger"; | ||
deleteFilesAfterUpload?: string | string[] | undefined; | ||
filesToDeleteAfterUpload?: string | string[] | undefined; | ||
} | undefined; | ||
@@ -23,0 +24,0 @@ release: { |
@@ -115,4 +115,14 @@ export interface Options { | ||
* Use the `debug` option to print information about which files end up being deleted. | ||
* | ||
* @deprecated Use `filesToDeleteAfterUpload` instead. | ||
*/ | ||
deleteFilesAfterUpload?: string | string[]; | ||
/** | ||
* A glob or an array of globs that specifies the build artifacts that should be deleted after the artifact upload to Sentry has been completed. | ||
* | ||
* The globbing patterns follow the implementation of the `glob` package. (https://www.npmjs.com/package/glob) | ||
* | ||
* Use the `debug` option to print information about which files end up being deleted. | ||
*/ | ||
filesToDeleteAfterUpload?: string | string[]; | ||
}; | ||
@@ -119,0 +129,0 @@ /** |
{ | ||
"name": "@sentry/bundler-plugin-core", | ||
"version": "2.2.2", | ||
"version": "2.3.0", | ||
"description": "Sentry Bundler Plugin Core", | ||
@@ -71,4 +71,4 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@sentry-internal/eslint-config": "2.2.2", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.2.2", | ||
"@sentry-internal/eslint-config": "2.3.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.3.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -75,0 +75,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
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
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
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
417705
4167
42