@sentry/bundler-plugin-core
Advanced tools
Comparing version 2.16.1 to 2.17.0
import { TransformResult, UnpluginOptions } from "unplugin"; | ||
import { Logger } from "./sentry/logger"; | ||
import { Options, SentrySDKBuildFlags } from "./types"; | ||
@@ -7,3 +8,3 @@ interface SentryUnpluginFactoryOptions { | ||
moduleMetadataInjectionPlugin?: (injectionCode: string) => UnpluginOptions; | ||
debugIdInjectionPlugin: () => UnpluginOptions; | ||
debugIdInjectionPlugin: (logger: Logger) => UnpluginOptions; | ||
debugIdUploadPlugin: (upload: (buildArtifacts: string[]) => Promise<void>) => UnpluginOptions; | ||
@@ -31,7 +32,6 @@ bundleSizeOptimizationsPlugin: (buildFlags: SentrySDKBuildFlags) => UnpluginOptions; | ||
* 1. Create a new release | ||
* 2. Delete already uploaded artifacts for this release (if `cleanArtifacts` is enabled) | ||
* 3. Upload sourcemaps based on `include` and source-map-specific options | ||
* 4. Associate a range of commits with the release (if `setCommits` is specified) | ||
* 5. Finalize the release (unless `finalize` is disabled) | ||
* 6. Add deploy information to the release (if `deploy` is specified) | ||
* 2. Upload sourcemaps based on `include` and source-map-specific options | ||
* 3. Associate a range of commits with the release (if `setCommits` is specified) | ||
* 4. Finalize the release (unless `finalize` is disabled) | ||
* 5. Add deploy information to the release (if `deploy` is specified) | ||
* | ||
@@ -100,2 +100,3 @@ * This release creation pipeline relies on Sentry CLI to execute the different steps. | ||
export type { Options, SentrySDKBuildFlags } from "./types"; | ||
export type { Logger } from "./sentry/logger"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,3 +29,2 @@ import { Logger } from "./sentry/logger"; | ||
vcsRemote: string; | ||
cleanArtifacts: boolean; | ||
dist?: string | undefined; | ||
@@ -53,2 +52,3 @@ setCommits?: (({ | ||
} | undefined; | ||
cleanArtifacts?: boolean | undefined; | ||
uploadLegacySourcemaps?: string | import("./types").IncludeEntry | (string | import("./types").IncludeEntry)[] | undefined; | ||
@@ -55,0 +55,0 @@ }; |
@@ -10,3 +10,2 @@ import { SentryCliCommitsOptions, SentryCliNewDeployOptions } from "@sentry/cli"; | ||
shouldCreateRelease: boolean; | ||
shouldCleanArtifacts: boolean; | ||
shouldFinalizeRelease: boolean; | ||
@@ -30,4 +29,4 @@ include?: string | IncludeEntry | Array<string | IncludeEntry>; | ||
} | ||
export declare function releaseManagementPlugin({ releaseName, include, dist, setCommitsOption, shouldCreateRelease, shouldCleanArtifacts, shouldFinalizeRelease, deployOptions, handleRecoverableError, sentryHub, sentryClient, sentryCliOptions, }: ReleaseManagementPluginOptions): UnpluginOptions; | ||
export declare function releaseManagementPlugin({ releaseName, include, dist, setCommitsOption, shouldCreateRelease, shouldFinalizeRelease, deployOptions, handleRecoverableError, sentryHub, sentryClient, sentryCliOptions, }: ReleaseManagementPluginOptions): UnpluginOptions; | ||
export {}; | ||
//# sourceMappingURL=release-management.d.ts.map |
@@ -191,2 +191,6 @@ export interface Options { | ||
* Defaults to `false`. | ||
* | ||
* @deprecated `cleanArtifacts` is deprecated and currently doesn't do anything. Historically it was needed | ||
* since uploading the same artifacts twice was not allowed. Nowadays, when uploading artifacts with the same name | ||
* more than once to the same release on Sentry, Sentry will prefer the most recent artifact for source mapping. | ||
*/ | ||
@@ -193,0 +197,0 @@ cleanArtifacts?: boolean; |
{ | ||
"name": "@sentry/bundler-plugin-core", | ||
"version": "2.16.1", | ||
"version": "2.17.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.16.1", | ||
"@sentry/babel-plugin-component-annotate": "2.17.0", | ||
"@sentry/cli": "^2.22.3", | ||
@@ -72,4 +72,4 @@ "dotenv": "^16.3.1", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@sentry-internal/eslint-config": "2.16.1", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.16.1", | ||
"@sentry-internal/eslint-config": "2.17.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.17.0", | ||
"@sentry/node": "7.102.0", | ||
@@ -76,0 +76,0 @@ "@sentry/utils": "7.102.0", |
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 2 instances 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
2879121
27281
106
+ Added@sentry/babel-plugin-component-annotate@2.17.0(transitive)
- Removed@sentry/babel-plugin-component-annotate@2.16.1(transitive)