diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 928fff3..e5c4df3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,11 +10,11 @@ jobs: fail-fast: false matrix: node-version: + - 20 - 18 - - 16 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/package.json b/package.json index ea47d67..228a371 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "capture-website": "./cli.js" }, "engines": { - "node": ">=14.16" + "node": ">=18" }, "scripts": { "test": "xo && ava" @@ -41,16 +41,16 @@ "jpg" ], "dependencies": { - "capture-website": "^3.2.0", + "capture-website": "^4.0.0", "get-stdin": "^9.0.0", - "meow": "^11.0.0", + "meow": "^12.1.1", "split-on-first": "^3.0.0" }, "devDependencies": { - "ava": "^5.2.0", + "ava": "^5.3.1", "create-test-server": "^3.0.1", - "execa": "^7.1.1", - "file-type": "^18.2.1", - "xo": "^0.54.1" + "execa": "^8.0.1", + "file-type": "^18.6.0", + "xo": "^0.56.0" } } diff --git a/test.js b/test.js index f1388b0..4553a4f 100644 --- a/test.js +++ b/test.js @@ -62,8 +62,8 @@ test('check flags', async t => { `; flags = flags.trim() - .replace(/(?<==)"|(?