Skip to content

Commit fbf09c0

Browse files
authored
Merge pull request #19 from cto-af/update-dependencies
Update dependencies
2 parents be51ad2 + 4fae796 commit fbf09c0

File tree

5 files changed

+430
-456
lines changed

5 files changed

+430
-456
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [18.x, 20.x, 22.x]
14+
node-version: [18, 20, 22, 23]
1515
os: [ubuntu-latest]
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- uses: actions/checkout@v4
19-
- run: corepack enable
19+
- uses: pnpm/action-setup@v4
2020
- name: Use Node.js ${{ matrix.node-version }}
2121
uses: actions/setup-node@v4
2222
with:
@@ -27,6 +27,6 @@ jobs:
2727
- name: Test
2828
run: npm run build
2929
- name: Upload coverage reports to Codecov
30-
uses: codecov/codecov-action@v4
30+
uses: codecov/codecov-action@v5
3131
with:
3232
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
id-token: write
1111
steps:
1212
- uses: actions/checkout@v4
13-
- run: corepack enable
13+
- uses: pnpm/action-setup@v4
1414
- uses: actions/setup-node@v4
1515
with:
1616
node-version: '20.x'

package.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"url": "git+https://github.com/cto-af/string-width.git"
1111
},
1212
"scripts": {
13+
"clean": "rm -rf coverage docs types lib/widths.js",
1314
"docs": "typedoc",
1415
"lint": "eslint .",
1516
"trie": "node tools/genWidthTrie.js",
@@ -27,21 +28,28 @@
2728
"author": "Joe Hildebrand <[email protected]>",
2829
"license": "MIT",
2930
"devDependencies": {
30-
"@cto.af/eslint-config": "4.1.6",
31-
"@types/node": "22.5.4",
32-
"c8": "10.1.2",
33-
"eslint": "9.10.0",
31+
"@cto.af/eslint-config": "5.1.12",
32+
"@types/node": "22.13.5",
33+
"c8": "10.1.3",
34+
"eslint": "9.21.0",
3435
"eslint-plugin-mocha": "10.5.0",
35-
"mocha": "10.7.3",
36-
"typedoc": "0.26.7",
37-
"typescript": "5.5.4"
36+
"mocha": "11.1.0",
37+
"typedoc": "0.27.9",
38+
"typescript": "5.7.3"
3839
},
3940
"dependencies": {
4041
"@cto.af/unicode-trie": "2.0.1",
4142
"ansi-regex": "6.1.0",
4243
"emoji-regex": "10.4.0"
4344
},
44-
"packageManager": "[email protected]",
45+
"pnpm": {
46+
"overrides": {
47+
"chokidar": "4.0.3",
48+
"fast-glob": "3.3.3",
49+
"foreground-child": "3.3.1"
50+
}
51+
},
52+
"packageManager": "[email protected]",
4553
"engines": {
4654
"node": ">= 18"
4755
}

0 commit comments

Comments
 (0)