Skip to content

Commit

Permalink
Require Node 14+
Browse files Browse the repository at this point in the history
See [#368][0].

[0]: #368
  • Loading branch information
EvanHahn committed Jul 23, 2022
1 parent 0e95b6d commit 3d85834
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Removed

- **Breaking:** Dropped support for Node 12 and 13. Node 14+ is now required

## 5.1.1 - 2022-07-23

### Changed
Expand Down
2 changes: 1 addition & 1 deletion bin/build-middleware-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function main(argv) {
url: "git://github.com/helmetjs/helmet.git",
},
engines: {
node: ">=12.0.0",
node: ">=14.0.0",
},
files: ["CHANGELOG.md", "LICENSE", "README.md", "index.js", "index.d.ts"],
main: "index.js",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"url": "git://github.com/helmetjs/helmet.git"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.3",
Expand Down

0 comments on commit 3d85834

Please sign in to comment.