Skip to content

Commit 61d1a05

Browse files
authored
update dependencies, fix labels sizing, rebuild action (#87)
1 parent 875697e commit 61d1a05

File tree

5 files changed

+160
-666
lines changed

5 files changed

+160
-666
lines changed

dist/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import node from 'eslint-plugin-n';
55

66
export default [
77
{
8-
ignores: ['**/dist', '**/node_modules']
8+
ignores: ['**/.yarn', '**/dist', '**/node_modules']
99
},
1010
js.configs.recommended,
1111
prettierRecommended,

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@
1313
},
1414
"dependencies": {
1515
"@actions/core": "^1.11.1",
16-
"@actions/github": "^6.0.0",
17-
"js-base64": "^3.7.7",
16+
"@actions/github": "^6.0.1",
17+
"js-base64": "^3.7.8",
1818
"markdown-table": "^3.0.4",
19-
"semver": "^7.7.1"
19+
"semver": "^7.7.3"
2020
},
2121
"devDependencies": {
22-
"@eslint/js": "^9.26.0",
23-
"@vercel/ncc": "^0.38.3",
22+
"@eslint/js": "^9.38.0",
23+
"@vercel/ncc": "^0.38.4",
2424
"@yarnpkg/lockfile": "^1.1.0",
2525
"@yarnpkg/parsers": "^3.0.3",
26-
"eslint": "^9.26.0",
27-
"eslint-config-prettier": "^10.1.2",
28-
"eslint-plugin-n": "^17.17.0",
29-
"eslint-plugin-prettier": "^5.3.1",
30-
"globals": "^16.0.0",
31-
"prettier": "^3.5.3",
26+
"eslint": "^9.38.0",
27+
"eslint-config-prettier": "^10.1.8",
28+
"eslint-plugin-n": "^17.23.1",
29+
"eslint-plugin-prettier": "^5.5.4",
30+
"globals": "^16.4.0",
31+
"prettier": "^3.6.2",
3232
"svgo": "^3.3.2",
3333
"uvu": "^0.5.6"
3434
},

src/comment.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@ const ASSETS_URL = {
99
UPDATED: 'https://git.io/J38dY'
1010
};
1111

12+
const ASSETS_WIDTH = {
13+
ADDED: 53,
14+
DOWNGRADED: 89,
15+
REMOVED: 66,
16+
UPDATED: 60
17+
};
18+
1219
const getStatusLabel = status =>
13-
`[<sub><img alt="${status}" src="${ASSETS_URL[status]}" height="16" /></sub>](#)`;
20+
`[<sub><img alt="${status}" src="${ASSETS_URL[status]}" height="16" width="${ASSETS_WIDTH[status]}" /></sub>](#)`;
1421

1522
export const createTable = (lockChanges, groupByType = false, plainStatuses = false) =>
1623
markdownTable(

0 commit comments

Comments
 (0)