Skip to content

Commit 807e35a

Browse files
authored
Drop support for Node.js <=v17, and v19 (#550)
* Drop support fro Node.js <=v17, and v19 * Create calm-onions-yell.md * Update calm-onions-yell.md * format * fix ci
1 parent ac5d90e commit 807e35a

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

.changeset/calm-onions-yell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-regexp": major
3+
---
4+
5+
Drop support for Node.js <=v17, and v19

.github/workflows/NodeCI.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: 16
16+
node-version: 18
1717
- name: Install Packages
1818
run: npm ci
1919
- name: Build
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
strategy:
2626
matrix:
27-
node-version: [12.x, 14.x, 16.x, 18.x]
27+
node-version: [18.x, 20.x]
2828
steps:
2929
- uses: actions/checkout@v3
3030
- name: Use Node.js ${{ matrix.node-version }}
@@ -41,24 +41,20 @@ jobs:
4141
- uses: actions/checkout@v3
4242
- uses: actions/setup-node@v3
4343
with:
44-
node-version: 12.13.x
44+
node-version: 18.x
4545
- name: Install Target Packages
4646
run: |+
4747
npm ci
48-
npm i -D eslint@6 mocha@9
48+
npm i -D eslint@6 mocha@9 --legacy-peer-deps
4949
- name: Test
5050
run: npm test
5151
test-with-eslint7:
5252
runs-on: ubuntu-latest
53-
strategy:
54-
matrix:
55-
node-version: [12.x, 14.x, 16.x]
5653
steps:
5754
- uses: actions/checkout@v3
58-
- name: Use Node.js ${{ matrix.node-version }}
59-
uses: actions/setup-node@v3
55+
- uses: actions/setup-node@v3
6056
with:
61-
node-version: ${{ matrix.node-version }}
57+
node-version: 18.x
6258
- name: Install Target Packages
6359
run: |+
6460
npm ci
@@ -84,7 +80,7 @@ jobs:
8480
- uses: actions/checkout@v3
8581
- uses: actions/setup-node@v3
8682
with:
87-
node-version: 14
83+
node-version: 18
8884
- name: Install Packages
8985
run: npm ci
9086
- name: Build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ npm install --save-dev eslint eslint-plugin-regexp
4141
> **Requirements**
4242
>
4343
> - ESLint v6.0.0 and above
44-
> - Node.js v12.x, v14.x and above
44+
> - Node.js v18.x, v20.x and above
4545
4646
<!--DOCS_IGNORE_END-->
4747

docs/user-guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ npm install --save-dev eslint eslint-plugin-regexp
99
::: tip Requirements
1010

1111
- ESLint v6.0.0 and above
12-
- Node.js v12.x, v14.x and above
12+
- Node.js v18.x, v20.x and above
1313

1414
:::
1515

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.15.0",
44
"description": "ESLint plugin for finding RegExp mistakes and RegExp style guide violations.",
55
"engines": {
6-
"node": "^12 || >=14"
6+
"node": "^18 || >=20"
77
},
88
"main": "dist/index.js",
99
"files": [

0 commit comments

Comments
 (0)