Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Node.js <=v17, and v19 #550

Merged
merged 5 commits into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/calm-onions-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-regexp": major
---

Drop support for Node.js <=v17, and v19
18 changes: 7 additions & 11 deletions .github/workflows/NodeCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Install Packages
run: npm ci
- name: Build
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -41,24 +41,20 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12.13.x
node-version: 18.x
- name: Install Target Packages
run: |+
npm ci
npm i -D eslint@6 mocha@9
npm i -D eslint@6 mocha@9 --legacy-peer-deps
- name: Test
run: npm test
test-with-eslint7:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
- name: Install Target Packages
run: |+
npm ci
Expand All @@ -84,7 +80,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
- name: Install Packages
run: npm ci
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ npm install --save-dev eslint eslint-plugin-regexp
> **Requirements**
>
> - ESLint v6.0.0 and above
> - Node.js v12.x, v14.x and above
> - Node.js v18.x, v20.x and above

<!--DOCS_IGNORE_END-->

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ npm install --save-dev eslint eslint-plugin-regexp
::: tip Requirements

- ESLint v6.0.0 and above
- Node.js v12.x, v14.x and above
- Node.js v18.x, v20.x and above

:::

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.15.0",
"description": "ESLint plugin for finding RegExp mistakes and RegExp style guide violations.",
"engines": {
"node": "^12 || >=14"
"node": "^18 || >=20"
},
"main": "dist/index.js",
"files": [
Expand Down
Loading