@code-pushup/core 0.28.0 → 0.29.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 +3 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1517,7 +1517,7 @@ function reportToDetailsSection(audit) {
|
|
|
1517
1517
|
function reportToAboutSection(report) {
|
|
1518
1518
|
const date = formatDate(/* @__PURE__ */ new Date());
|
|
1519
1519
|
const { duration, version: version2, commit, plugins, categories } = report;
|
|
1520
|
-
const commitInfo = commit ? `${commit.message} (${commit.hash
|
|
1520
|
+
const commitInfo = commit ? `${commit.message} (${commit.hash})` : "N/A";
|
|
1521
1521
|
const reportMetaTable = [
|
|
1522
1522
|
reportMetaTableHeaders,
|
|
1523
1523
|
[
|
|
@@ -1593,12 +1593,7 @@ function formatDiffHeaderSection(diff) {
|
|
|
1593
1593
|
...diff.audits.changed
|
|
1594
1594
|
])
|
|
1595
1595
|
);
|
|
1596
|
-
const
|
|
1597
|
-
const styleCommits = (commits) => {
|
|
1598
|
-
const src = styleCommit(commits.before);
|
|
1599
|
-
const tgt = styleCommit(commits.after);
|
|
1600
|
-
return `compared target commit ${tgt} with source commit ${src}`;
|
|
1601
|
-
};
|
|
1596
|
+
const styleCommits = (commits) => `compared target commit ${commits.after.hash} with source commit ${commits.before.hash}`;
|
|
1602
1597
|
return paragraphs(
|
|
1603
1598
|
h1("Code PushUp"),
|
|
1604
1599
|
diff.commits ? `${outcomeTexts[outcome]} \u2013 ${styleCommits(diff.commits)}.` : `${outcomeTexts[outcome]}.`
|
|
@@ -2039,7 +2034,7 @@ var verboseUtils = (verbose = false) => ({
|
|
|
2039
2034
|
|
|
2040
2035
|
// packages/core/package.json
|
|
2041
2036
|
var name = "@code-pushup/core";
|
|
2042
|
-
var version = "0.
|
|
2037
|
+
var version = "0.29.0";
|
|
2043
2038
|
|
|
2044
2039
|
// packages/core/src/lib/implementation/execute-plugin.ts
|
|
2045
2040
|
import chalk5 from "chalk";
|