diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0126ba3..66b1164 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 66c1b89..07d1ec5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Removed + +- **Breaking:** Dropped support for Node 12 and 13. Node 14+ is now required + ## 5.1.0 - 2022-05-17 ### Added diff --git a/bin/build-middleware-package.js b/bin/build-middleware-package.js index 155bb05..08230f0 100755 --- a/bin/build-middleware-package.js +++ b/bin/build-middleware-package.js @@ -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", diff --git a/package-lock.json b/package-lock.json index 14a066a..db2de0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "typescript": "^4.7.4" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 8ed5b01..734e5c1 100644 --- a/package.json +++ b/package.json @@ -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",