@sentry/bundler-plugin-core
Advanced tools
Comparing version 0.3.0 to 0.4.0
import { Logger } from "./sentry/logger"; | ||
import { IncludeEntry as UserIncludeEntry, Options as UserOptions } from "./types"; | ||
declare type RequiredInternalOptions = Required<Pick<UserOptions, "finalize" | "dryRun" | "debug" | "silent" | "cleanArtifacts" | "telemetry" | "injectReleasesMap">>; | ||
declare type OptionalInternalOptions = Partial<Pick<UserOptions, "org" | "project" | "authToken" | "url" | "vcsRemote" | "dist" | "errorHandler" | "setCommits" | "deploy" | "configFile" | "customHeader" | "headers">>; | ||
declare type OptionalInternalOptions = Partial<Pick<UserOptions, "org" | "project" | "authToken" | "url" | "vcsRemote" | "dist" | "errorHandler" | "setCommits" | "deploy" | "configFile" | "headers">>; | ||
declare type NormalizedInternalOptions = { | ||
@@ -6,0 +6,0 @@ releaseInjectionTargets: (string | RegExp)[] | ((filePath: string) => boolean) | undefined; |
@@ -63,5 +63,4 @@ import { Hub } from "@sentry/core"; | ||
* | ||
* By default, the release will be injected into all modules - however, bundlers | ||
* will include the injected release code only once per entrypoint. | ||
* If release injection should be disabled, provide an empty array here. | ||
* By default, the release will be injected into all entrypoints. If release | ||
* injection should be disabled, provide an empty array here. | ||
*/ | ||
@@ -94,11 +93,3 @@ releaseInjectionTargets?: (string | RegExp)[] | RegExp | string | ((filePath: string) => boolean); | ||
/** | ||
* A header added to every outgoing network request. | ||
* The format should be `header-key: header-value`. | ||
* | ||
* This value can also be specified via the `CUSTOM_HEADER` environment variable. | ||
*/ | ||
customHeader?: string; | ||
/** | ||
* Headers added to every outgoing network request. | ||
* This value does not set any env variable, and is overridden by customHeader. | ||
*/ | ||
@@ -105,0 +96,0 @@ headers?: Record<string, string>; |
{ | ||
"name": "@sentry/bundler-plugin-core", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Sentry Bundler Plugin Core", | ||
@@ -48,3 +48,3 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git", | ||
"magic-string": "0.27.0", | ||
"unplugin": "0.10.1" | ||
"unplugin": "1.0.1" | ||
}, | ||
@@ -60,4 +60,4 @@ "devDependencies": { | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@sentry-internal/eslint-config": "0.3.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "0.3.0", | ||
"@sentry-internal/eslint-config": "0.4.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "0.4.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -64,0 +64,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
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
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
9
406188
4008
+ Addedunplugin@1.0.1(transitive)
+ Addedwebpack-virtual-modules@0.5.0(transitive)
- Removedunplugin@0.10.1(transitive)
- Removedwebpack-virtual-modules@0.4.6(transitive)
Updatedunplugin@1.0.1