@codecov/bundler-plugin-core
Advanced tools
Comparing version 0.0.1-beta.2 to 0.0.1-beta.3
import * as unplugin from 'unplugin'; | ||
import { UnpluginOptions } from 'unplugin'; | ||
import { z } from 'zod'; | ||
type NormalizedOptions = z.infer<ReturnType<typeof optionsSchemaFactory>> & Options; | ||
declare const optionsSchemaFactory: (options: Options) => z.ZodObject<{ | ||
apiUrl: z.ZodDefault<z.ZodString>; | ||
bundleName: z.ZodString; | ||
dryRun: z.ZodDefault<z.ZodBoolean>; | ||
retryCount: z.ZodDefault<z.ZodNumber>; | ||
enableBundleAnalysis: z.ZodDefault<z.ZodBoolean>; | ||
uploadToken: z.ZodOptional<z.ZodString>; | ||
uploadOverrides: z.ZodOptional<z.ZodObject<{ | ||
branch: z.ZodOptional<z.ZodString>; | ||
build: z.ZodOptional<z.ZodString>; | ||
pr: z.ZodOptional<z.ZodString>; | ||
sha: z.ZodOptional<z.ZodString>; | ||
slug: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
branch?: string | undefined; | ||
build?: string | undefined; | ||
pr?: string | undefined; | ||
sha?: string | undefined; | ||
slug?: string | undefined; | ||
}, { | ||
branch?: string | undefined; | ||
build?: string | undefined; | ||
pr?: string | undefined; | ||
sha?: string | undefined; | ||
slug?: string | undefined; | ||
}>>; | ||
}, "strip", z.ZodTypeAny, { | ||
apiUrl: string; | ||
bundleName: string; | ||
dryRun: boolean; | ||
retryCount: number; | ||
enableBundleAnalysis: boolean; | ||
uploadToken?: string | undefined; | ||
uploadOverrides?: { | ||
branch?: string | undefined; | ||
build?: string | undefined; | ||
pr?: string | undefined; | ||
sha?: string | undefined; | ||
slug?: string | undefined; | ||
} | undefined; | ||
}, { | ||
bundleName: string; | ||
apiUrl?: string | undefined; | ||
dryRun?: boolean | undefined; | ||
retryCount?: number | undefined; | ||
enableBundleAnalysis?: boolean | undefined; | ||
uploadToken?: string | undefined; | ||
uploadOverrides?: { | ||
branch?: string | undefined; | ||
build?: string | undefined; | ||
pr?: string | undefined; | ||
sha?: string | undefined; | ||
slug?: string | undefined; | ||
} | undefined; | ||
}>; | ||
interface Asset { | ||
@@ -42,3 +100,3 @@ name: string; | ||
output: Output; | ||
userOptions: Options; | ||
options: NormalizedOptions; | ||
} | ||
@@ -49,6 +107,6 @@ interface Options { | ||
retryCount?: number; | ||
dryRun?: boolean; | ||
bundleName?: string; | ||
enableBundleAnalysis?: boolean; | ||
uploadOverrides?: UploadOverrides; | ||
dryRun?: boolean; | ||
bundleName?: string; | ||
} | ||
@@ -55,0 +113,0 @@ type BundleAnalysisUploadPlugin = (args: BundleAnalysisUploadPluginArgs) => UnpluginOptions & { |
{ | ||
"name": "@codecov/bundler-plugin-core", | ||
"version": "0.0.1-beta.2", | ||
"version": "0.0.1-beta.3", | ||
"description": "Official Codecov Bundler Plugin Core", | ||
@@ -40,2 +40,3 @@ "author": "Codecov", | ||
"msw": "^2.1.5", | ||
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.2", | ||
"testdouble": "^3.20.1", | ||
@@ -42,0 +43,0 @@ "testdouble-jest": "^2.0.0", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
4391
2
127233
13
8
7