Skip to content

Commit 2ecd29d

Browse files
committed
Require Node.js 18
1 parent 1d08326 commit 2ecd29d

File tree

5 files changed

+23
-27
lines changed

5 files changed

+23
-27
lines changed

.github/funding.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- 18
1515
- 16
1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ matrix.node-version }}
2121
- run: npm install

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"sideEffects": false,
1919
"engines": {
20-
"node": ">=16.10"
20+
"node": ">=18"
2121
},
2222
"scripts": {
2323
"prepare": "npm run build",
@@ -54,39 +54,39 @@
5454
"hard-rejection",
5555
"minimist-options",
5656
"normalize-package-data",
57-
"read-pkg-up",
57+
"read-package-up",
5858
"redent",
5959
"trim-newlines",
6060
"type-fest",
6161
"yargs-parser"
6262
],
6363
"devDependencies": {
64-
"@rollup/plugin-commonjs": "^25.0.3",
65-
"@rollup/plugin-json": "^6.0.0",
66-
"@rollup/plugin-node-resolve": "^15.1.0",
67-
"@types/minimist": "^1.2.2",
68-
"ava": "^5.3.1",
69-
"camelcase-keys": "^8.0.2",
64+
"@rollup/plugin-commonjs": "^25.0.7",
65+
"@rollup/plugin-json": "^6.1.0",
66+
"@rollup/plugin-node-resolve": "^15.2.3",
67+
"@types/minimist": "^1.2.5",
68+
"ava": "^6.0.1",
69+
"camelcase-keys": "^9.1.2",
7070
"common-tags": "^2.0.0-alpha.1",
7171
"decamelize": "^6.0.0",
7272
"decamelize-keys": "^2.0.1",
7373
"delete_comments": "^0.0.2",
74-
"execa": "^7.2.0",
75-
"globby": "^13.2.2",
74+
"execa": "^8.0.1",
75+
"globby": "^14.0.0",
7676
"hard-rejection": "^2.1.0",
7777
"indent-string": "^5.0.0",
7878
"minimist-options": "4.1.0",
79-
"normalize-package-data": "^5.0.0",
80-
"read-pkg": "^8.0.0",
81-
"read-pkg-up": "^10.0.0",
79+
"normalize-package-data": "^6.0.0",
80+
"read-package-up": "^11.0.0",
81+
"read-pkg": "^9.0.1",
8282
"redent": "^4.0.0",
83-
"rollup": "^3.27.0",
84-
"rollup-plugin-dts": "^6.0.0",
85-
"rollup-plugin-license": "^3.0.1",
83+
"rollup": "^4.9.1",
84+
"rollup-plugin-dts": "^6.1.0",
85+
"rollup-plugin-license": "^3.2.0",
8686
"trim-newlines": "^5.0.0",
87-
"tsd": "^0.28.1",
88-
"type-fest": "^4.3.1",
89-
"typescript": "~5.1.6",
87+
"tsd": "^0.30.0",
88+
"type-fest": "^4.8.3",
89+
"typescript": "^5.3.3",
9090
"xo": "^0.56.0",
9191
"yargs-parser": "^21.1.1"
9292
},

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const config = defineConfig({
4444
moduleSideEffects: 'no-external',
4545
},
4646
plugins: [
47-
nodeResolve(),
47+
nodeResolve({exportConditions: ['node']}),
4848
commonjs({
4949
include: 'node_modules/**',
5050
}),

source/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import process from 'node:process';
22
import {dirname} from 'node:path';
33
import {fileURLToPath} from 'node:url';
4-
import {readPackageUpSync} from 'read-pkg-up';
4+
import {readPackageUpSync} from 'read-package-up';
55
import {decamelizeFlagKey, joinFlagKeys} from './utils.js';
66

77
const validateOptions = options => {

0 commit comments

Comments
 (0)