From d35f0d28091fc64083b18753cce50555e5f11ed9 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 11 Aug 2022 14:40:57 +0200 Subject: [PATCH] Require Node.js 14 --- .github/workflows/main.yml | 5 +++-- package.json | 15 +++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e56f690..dc47f7c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,11 +10,12 @@ jobs: fail-fast: false matrix: node-version: + - 18 - 16 - 14 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/package.json b/package.json index 7c5ed95..63a26fe 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "capture-website": "./cli.js" }, "engines": { - "node": ">=12.20" + "node": ">=14.16" }, "scripts": { "test": "xo && ava" @@ -42,17 +42,16 @@ ], "dependencies": { "arrify": "^3.0.0", - "capture-website": "^2.3.0", + "capture-website": "^3.0.0", "get-stdin": "^9.0.0", - "meow": "^10.1.2", + "meow": "^10.1.3", "split-on-first": "^3.0.0" }, "devDependencies": { - "ava": "^4.0.1", + "ava": "^4.3.1", "create-test-server": "^3.0.1", - "execa": "^6.0.0", - "file-type": "^17.1.1", - "typescript": "^4.5.5", - "xo": "^0.47.0" + "execa": "^6.1.0", + "file-type": "^17.1.6", + "xo": "^0.51.0" } }