@code-pushup/core 0.47.0 → 0.48.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/index.js +4 -4
- package/package.json +3 -3
- package/src/lib/upload.d.ts +1 -0
package/index.js
CHANGED
|
@@ -2022,8 +2022,8 @@ function formatDiffCategoriesSection(diff) {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
const columns = [
|
|
2024
2024
|
{ key: "category", label: "\u{1F3F7}\uFE0F Category", align: "left" },
|
|
2025
|
-
{ key: "before", label: "\u2B50 Previous score" },
|
|
2026
|
-
{ key: "after", label:
|
|
2025
|
+
{ key: "before", label: hasChanges ? "\u2B50 Previous score" : "\u2B50 Score" },
|
|
2026
|
+
{ key: "after", label: "\u2B50 Current score" },
|
|
2027
2027
|
{ key: "change", label: "\u{1F504} Score change" }
|
|
2028
2028
|
];
|
|
2029
2029
|
return lines5(
|
|
@@ -2052,7 +2052,7 @@ function formatDiffCategoriesSection(diff) {
|
|
|
2052
2052
|
change: "\u2013"
|
|
2053
2053
|
}))
|
|
2054
2054
|
].map(
|
|
2055
|
-
(row) => hasChanges ? row : { category: row.category,
|
|
2055
|
+
(row) => hasChanges ? row : { category: row.category, before: row.before }
|
|
2056
2056
|
)
|
|
2057
2057
|
}),
|
|
2058
2058
|
added.length > 0 && section5(italicMd("(\\*) New category."))
|
|
@@ -2461,7 +2461,7 @@ var verboseUtils = (verbose = false) => ({
|
|
|
2461
2461
|
|
|
2462
2462
|
// packages/core/package.json
|
|
2463
2463
|
var name = "@code-pushup/core";
|
|
2464
|
-
var version = "0.
|
|
2464
|
+
var version = "0.48.0";
|
|
2465
2465
|
|
|
2466
2466
|
// packages/core/src/lib/implementation/execute-plugin.ts
|
|
2467
2467
|
import chalk5 from "chalk";
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@code-pushup/models": "0.
|
|
7
|
-
"@code-pushup/utils": "0.
|
|
6
|
+
"@code-pushup/models": "0.48.0",
|
|
7
|
+
"@code-pushup/utils": "0.48.0",
|
|
8
8
|
"@code-pushup/portal-client": "^0.8.0",
|
|
9
9
|
"chalk": "^5.3.0"
|
|
10
10
|
},
|
package/src/lib/upload.d.ts
CHANGED
|
@@ -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>;
|