Skip to content

Commit 47d8a5b

Browse files
committed
Update dependencies and fix Node.js 25
1 parent 51c596e commit 47d8a5b

File tree

5 files changed

+299
-209
lines changed

5 files changed

+299
-209
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout the repository
15-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
- name: Extract the changelog
1717
id: changelog
1818
run: |

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout the repository
15-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
- name: Install pnpm
1717
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1818
with:
@@ -38,7 +38,7 @@ jobs:
3838
name: Node.js ${{ matrix.node-version }} Quick
3939
steps:
4040
- name: Checkout the repository
41-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4242
- name: Install pnpm
4343
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
4444
with:
@@ -64,7 +64,7 @@ jobs:
6464
name: Node.js ${{ matrix.node-version }} Quick
6565
steps:
6666
- name: Checkout the repository
67-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
67+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6868
- name: Install pnpm
6969
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
7070
with:

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"scripts": {
1616
"unit": "uvu . '\\.test\\.js$'",
17-
"test:coverage": "c8 pnpm unit",
17+
"test:coverage": "c8 node node_modules/uvu/bin.js . '\\.test\\.js$'",
1818
"test:lint": "eslint . bin/*",
1919
"test:size": "size-limit",
2020
"test": "pnpm run /^test:/"
@@ -47,18 +47,18 @@
4747
},
4848
"dependencies": {
4949
"browserslist": "^4.28.1",
50-
"caniuse-lite": "^1.0.30001766",
50+
"caniuse-lite": "^1.0.30001774",
5151
"fraction.js": "^5.3.4",
5252
"picocolors": "^1.1.1",
5353
"postcss-value-parser": "^4.2.0"
5454
},
5555
"devDependencies": {
56-
"@logux/eslint-config": "^57.0.1",
56+
"@logux/eslint-config": "^57.0.2",
5757
"@size-limit/preset-small-lib": "12.0.0",
58-
"actions-up": "^1.9.0",
58+
"actions-up": "^1.12.0",
5959
"c8": "^10.1.3",
6060
"clean-publish": "^6.0.1",
61-
"eslint": "^9.39.2",
61+
"eslint": "^10.0.2",
6262
"nanospy": "^1.0.0",
6363
"postcss": "^8.5.6",
6464
"size-limit": "^12.0.0",
@@ -92,5 +92,10 @@
9292
},
9393
"clean-publish": {
9494
"cleanDocs": true
95+
},
96+
"pnpm": {
97+
"patchedDependencies": {
98+
"yargs@17.7.2": "patches/yargs@17.7.2.patch"
99+
}
95100
}
96101
}

patches/yargs@17.7.2.patch

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
diff --git a/browser.d.ts b/browser.d.ts
2+
deleted file mode 100644
3+
index 21f3fc69190b574ab8456514d3da1972afa53973..0000000000000000000000000000000000000000
4+
diff --git a/package.json b/package.json
5+
index 389cc6b064b5f888e7f9d718f5440feabdce57ad..c1ae265542ad386fa2214914b0186ade81dd6ee2 100644
6+
--- a/package.json
7+
+++ b/package.json
8+
@@ -20,13 +20,10 @@
9+
"import": "./browser.mjs",
10+
"types": "./browser.d.ts"
11+
},
12+
- "./yargs": [
13+
- {
14+
- "import": "./yargs.mjs",
15+
- "require": "./yargs"
16+
- },
17+
- "./yargs"
18+
- ]
19+
+ "./yargs": {
20+
+ "require": "./index.cjs",
21+
+ "import": "./yargs.mjs"
22+
+ }
23+
},
24+
"type": "module",
25+
"module": "./index.mjs",

0 commit comments

Comments
 (0)