From c7e5e0b6572e9859c291906f079f654dd5a37c97 Mon Sep 17 00:00:00 2001 From: "Masahiro Miyashiro (3846masa)" <3846masahiro+git@gmail.com> Date: Sun, 14 Jan 2024 15:25:49 +0900 Subject: [PATCH] feat: drop Node.js v14 and v16 (#880) BREAKING CHANGE: drop Node.js v14 and v16 --- .github/workflows/default.yml | 6 +++--- .node-version | 1 + package.json | 4 ++-- yarn.lock | 9 ++++----- 4 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 .node-version diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 3dda2178..915444c6 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: - node-version: "16" + node-version-file: .node-version cache: yarn - run: yarn install --frozen-lockfile - run: yarn lint @@ -22,7 +22,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: ["14", "16", "18"] + node: ["18", "20"] os: ["ubuntu-latest", "macos-latest", "windows-latest"] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -60,7 +60,7 @@ jobs: ssh-key: ${{ secrets.DEPLOY_GIT_SSH_PRIVATE_KEY }} - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: - node-version: "16" + node-version-file: .node-version cache: yarn - run: yarn install --frozen-lockfile - run: yarn patch-package diff --git a/.node-version b/.node-version new file mode 100644 index 00000000..a9d08739 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +18.19.0 diff --git a/package.json b/package.json index fa346811..b7d550e4 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ } }, "dependencies": { - "http-cookie-agent": "^5.0.4" + "http-cookie-agent": "^6.0.1" }, "devDependencies": { "@3846masa/configs": "github:3846masa/configs#ea36c5c02c9eb0a4f83e2c5ac448ebc3ae52568b", @@ -78,7 +78,7 @@ "tough-cookie": ">=4.0.0" }, "engines": { - "node": ">=14.18.0 <15.0.0 || >=16.0.0" + "node": ">=18.0.0" }, "publishConfig": { "access": "public" diff --git a/yarn.lock b/yarn.lock index df06d3c3..d2f2c055 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4,7 +4,6 @@ "@3846masa/configs@github:3846masa/configs#ea36c5c02c9eb0a4f83e2c5ac448ebc3ae52568b": version "1.0.288" - uid ea36c5c02c9eb0a4f83e2c5ac448ebc3ae52568b resolved "https://codeload.github.com/3846masa/configs/tar.gz/ea36c5c02c9eb0a4f83e2c5ac448ebc3ae52568b" dependencies: "@tsconfig/strictest" "2.0.2" @@ -2695,10 +2694,10 @@ http-cache-semantics@^4.1.0: resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== -http-cookie-agent@^5.0.4: - version "5.0.4" - resolved "https://registry.yarnpkg.com/http-cookie-agent/-/http-cookie-agent-5.0.4.tgz#b2dd3ba44f54f5c49387baac042c00ebba1216ae" - integrity sha512-OtvikW69RvfyP6Lsequ0fN5R49S+8QcS9zwd58k6VSr6r57T8G29BkPdyrBcSwLq6ExLs9V+rBlfxu7gDstJag== +http-cookie-agent@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/http-cookie-agent/-/http-cookie-agent-6.0.1.tgz#7a7b73f3f3a1a0e10d31e2efcb9a6c849e2aa6e9" + integrity sha512-AhPCqG7i3K8OVWORyuULoP7/Xv90wf14jBAKyLqjKpaJyGjutiwryYV+Lj1jqPYnQtbQFimwSaeY7NXw22TckQ== dependencies: agent-base "^7.1.0"