Skip to content

Commit b02f9a4

Browse files
committed
chore!: drop support for Node.js 16
1 parent 27a743f commit b02f9a4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/verify-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
node: ['16', '18', '20']
33+
node: ['18', '20']
3434
steps:
3535
- uses: actions/checkout@v4
3636
- uses: actions/setup-node@v3
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
node: ['16', '18', '20']
50+
node: ['18', '20']
5151
steps:
5252
- uses: actions/checkout@v4
5353
- uses: actions/setup-node@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Express/connect middleware to handle 405 errors, when a request method is not su
1616

1717
This library requires the following to run:
1818

19-
* [Node.js](https://nodejs.org/) 16+
19+
* [Node.js](https://nodejs.org/) 18+
2020

2121

2222
## Usage

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"bugs": "https://github.com/rowanmanning/allow-methods/issues",
2020
"license": "MIT",
2121
"engines": {
22-
"node": "16.x || 18.x || 20.x",
22+
"node": "18.x || 20.x",
2323
"npm": "8.x || 9.x"
2424
},
2525
"scripts": {
@@ -32,8 +32,8 @@
3232
"test:unit": "mocha 'test/unit/**/*.test.js'",
3333
"test:coverage": "nyc npm run test:unit",
3434
"test:integration": "mocha 'test/integration/**/*.test.js'",
35-
"project:verify": "npx --yes @rowanmanning/validate-project@2 --type git node-library",
36-
"project:fix": "npx --yes @rowanmanning/validate-project@2 --type git node-library --fix",
35+
"project:verify": "npx --yes @rowanmanning/validate-project@3 --type git node-library",
36+
"project:fix": "npx --yes @rowanmanning/validate-project@3 --type git node-library --fix",
3737
"prepare": "husky install"
3838
},
3939
"devDependencies": {

0 commit comments

Comments
 (0)