From 4ac82369156bb081d131d3fb1bf4f488a16f509a Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Mon, 21 Oct 2024 17:24:32 +0900 Subject: [PATCH] feat!: drop support for old node versions (<18, 19, 21) (#579) --- .changeset/popular-waves-live.md | 5 +++++ .github/workflows/NodeCI.yml | 8 +++----- .github/workflows/Release.yml | 4 +--- package.json | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 .changeset/popular-waves-live.md diff --git a/.changeset/popular-waves-live.md b/.changeset/popular-waves-live.md new file mode 100644 index 00000000..0d2b99b4 --- /dev/null +++ b/.changeset/popular-waves-live.md @@ -0,0 +1,5 @@ +--- +"svelte-eslint-parser": major +--- + +feat!: drop support for old node versions (<18, 19, 21) diff --git a/.github/workflows/NodeCI.yml b/.github/workflows/NodeCI.yml index a25908f6..d2f4e179 100644 --- a/.github/workflows/NodeCI.yml +++ b/.github/workflows/NodeCI.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 17.x, 18.x, 19.x, 20.x] + node-version: [18.x, 20.x, 22.x, latest] steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x] + node-version: [18.x] steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 @@ -107,7 +107,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x] + node-version: [18.x] steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 @@ -129,8 +129,6 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 - uses: actions/setup-node@v4 - with: - node-version: 18 - name: Install Packages run: pnpm install - name: Update fixtures diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 67b2eb1a..5c8fefa8 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -24,10 +24,8 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v2 - - name: Setup Node.js 16 + - name: Setup Node.js uses: actions/setup-node@v4 - with: - node-version: 16 - name: Install Dependencies run: pnpm install diff --git a/package.json b/package.json index 8d54655a..69801966 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "license": "MIT", "packageManager": "pnpm@7.33.7", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.20.4 || ^20.18.0 || >=22.10.0" }, "type": "commonjs", "main": "lib/index.js",