@code-pushup/core 0.47.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@code-pushup/core",
3
- "version": "0.47.0",
3
+ "version": "0.49.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
- "@code-pushup/models": "0.47.0",
7
- "@code-pushup/utils": "0.47.0",
8
- "@code-pushup/portal-client": "^0.8.0",
9
- "chalk": "^5.3.0"
6
+ "@code-pushup/models": "0.49.0",
7
+ "@code-pushup/utils": "0.49.0",
8
+ "@code-pushup/portal-client": "^0.9.0",
9
+ "ansis": "^3.3.0"
10
10
  },
11
11
  "type": "module",
12
12
  "main": "./index.js",
@@ -1,4 +1,4 @@
1
- import { type PersistConfig, Report, ReportsDiff } from '@code-pushup/models';
1
+ import { type PersistConfig, Report, ReportsDiff, type UploadConfig } from '@code-pushup/models';
2
2
  import { Diff } from '@code-pushup/utils';
3
- export declare function compareReportFiles(inputPaths: Diff<string>, persistConfig: Required<PersistConfig>): Promise<string[]>;
3
+ export declare function compareReportFiles(inputPaths: Diff<string>, persistConfig: Required<PersistConfig>, uploadConfig: UploadConfig | undefined): Promise<string[]>;
4
4
  export declare function compareReports(reports: Diff<Report>): ReportsDiff;
@@ -9,5 +9,6 @@ export type UploadOptions = {
9
9
  /**
10
10
  * Uploads collected audits to the portal
11
11
  * @param options
12
+ * @param uploadFn
12
13
  */
13
14
  export declare function upload(options: UploadOptions, uploadFn?: typeof uploadToPortal): Promise<import("@code-pushup/portal-client").ReportFragment>;