Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codecov/bundler-plugin-core

Package Overview
Dependencies
Maintainers
5
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codecov/bundler-plugin-core - npm Package Compare versions

Comparing version 0.0.1-beta.4 to 0.0.1-beta.5

dist/index.cjs.map

92

dist/index.d.ts

@@ -32,24 +32,2 @@ import * as unplugin from 'unplugin';

}>>;
sentry: z.ZodOptional<z.ZodObject<{
sentryOnly: z.ZodDefault<z.ZodBoolean>;
authToken: z.ZodString;
isEnabled: z.ZodDefault<z.ZodBoolean>;
org: z.ZodOptional<z.ZodString>;
project: z.ZodOptional<z.ZodString>;
environment: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
sentryOnly: boolean;
authToken: string;
isEnabled: boolean;
org?: string | undefined;
project?: string | undefined;
environment?: string | undefined;
}, {
authToken: string;
sentryOnly?: boolean | undefined;
isEnabled?: boolean | undefined;
org?: string | undefined;
project?: string | undefined;
environment?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {

@@ -69,10 +47,2 @@ apiUrl: string;

} | undefined;
sentry?: {
sentryOnly: boolean;
authToken: string;
isEnabled: boolean;
org?: string | undefined;
project?: string | undefined;
environment?: string | undefined;
} | undefined;
}, {

@@ -92,10 +62,2 @@ bundleName: string;

} | undefined;
sentry?: {
authToken: string;
sentryOnly?: boolean | undefined;
isEnabled?: boolean | undefined;
org?: string | undefined;
project?: string | undefined;
environment?: string | undefined;
} | undefined;
}>;

@@ -143,18 +105,50 @@

}
/** Configuration ptions for the Codcov bundler plugin. */
interface Options {
/**
* The upload token to use for uploading the bundle analysis information.
*
* This value can either be an global upload token or a repo token.
* - The global upload token can be found under the organization settings page.
* - The repo token can be found under the repo settings page under the general tab.
*/
uploadToken?: string;
/**
* The api url used to fetch the upload url.
*
* Only required if self-hosting codecov.
*
* Defaults to `https://api.codecov.io`.
*/
apiUrl?: string;
/**
* The amount of times the upload function will retry to upload bundle analysis information.
*
* Defaults to `3`
*/
retryCount?: number;
/**
* When enabled information will not be uploaded to Codecov.
*
* Defaults to `false`
*/
dryRun?: boolean;
/**
* The name for the bundle being built.
*
* Required for uploading bundle analysis information.
*
* The name must match the pattern `/^[\w\d_:/@\.{}\[\]$-]+$/`.
*
* Example: `@codecov/rollup-plugin`
*/
bundleName?: string;
/**
* Whether you would like bundle analysis to be enabled. *
*
* Defaults to `false`
*/
enableBundleAnalysis?: boolean;
/** Override values for passing custom information to API. */
uploadOverrides?: UploadOverrides;
sentry?: {
sentryOnly?: boolean;
isEnabled?: boolean;
authToken?: string;
org?: string;
project?: string;
environment?: string;
};
}

@@ -165,7 +159,13 @@ type BundleAnalysisUploadPlugin = (args: BundleAnalysisUploadPluginArgs) => UnpluginOptions & {

};
/** A set of overrides that are passed to Codecov. */
interface UploadOverrides {
/** Specify the branch manually. */
branch?: string;
/** Specify the build number manually. */
build?: string;
/** Specify the pull request number manually. */
pr?: string;
/** Specify the commit SHA manually. */
sha?: string;
/** Specify the slug manually. */
slug?: string;

@@ -172,0 +172,0 @@ }

{
"name": "@codecov/bundler-plugin-core",
"version": "0.0.1-beta.4",
"version": "0.0.1-beta.5",
"description": "Official Codecov Bundler Plugin Core",

@@ -38,8 +38,10 @@ "author": "Codecov",

"@types/semver": "^7.5.6",
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.3",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"msw": "^2.1.5",
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.2",
"testdouble": "^3.20.1",
"testdouble-jest": "^2.0.0",
"ts-node": "^10.9.2",
"typedoc": "^0.25.12",
"typescript": "^5.3.3",

@@ -64,4 +66,5 @@ "unbuild": "^2.0.0"

"test:unit": "jest",
"test:unit:ci": "jest --coverage"
"test:unit:ci": "JEST_JUNIT_OUTPUT_NAME='bundler-plugin-core.junit.xml' jest --coverage --reporters=jest-junit",
"generate:typedoc": "typedoc --options ./typedoc.json"
}
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc