@code-pushup/utils 0.34.0 → 0.35.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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1829,7 +1829,7 @@ function formatDiffGroupsSection(diff) {
1829
1829
  return "";
1830
1830
  }
1831
1831
  return paragraphs(
1832
- h2("\u{1F397}\uFE0F Groups"),
1832
+ h2("\u{1F5C3}\uFE0F Groups"),
1833
1833
  formatGroupsOrAuditsDetails("group", diff.groups, {
1834
1834
  headings: [
1835
1835
  "\u{1F50C} Plugin",
@@ -1893,7 +1893,7 @@ function formatGroupsOrAuditsDetails(token, { changed, unchanged }, table) {
1893
1893
  }
1894
1894
  function formatScoreChange(diff) {
1895
1895
  const marker = getDiffMarker(diff);
1896
- const text = formatDiffNumber(Math.round(diff * 100));
1896
+ const text = formatDiffNumber(Math.round(diff * 1e3) / 10);
1897
1897
  return colorByScoreDiff(`${marker} ${text}`, diff);
1898
1898
  }
1899
1899
  function formatValueChange({
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@code-pushup/utils",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "dependencies": {
5
- "@code-pushup/models": "0.34.0",
5
+ "@code-pushup/models": "0.35.0",
6
6
  "bundle-require": "^4.0.1",
7
7
  "chalk": "^5.3.0",
8
8
  "@isaacs/cliui": "^8.0.2",