diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc1851bba..abc53b8c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,9 +40,8 @@ jobs: test: strategy: matrix: - # Test with Node.js v12 (LTS), v14 (LTS), v16 (LTS), and 18 (Current) + # Test with Node.js v14 (LTS), v16 (LTS), and 18 (Current) node: - - 12 - 14 - 16 - 18 diff --git a/README.md b/README.md index 42b6938e2..9e1435077 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,10 @@ See [Releases](https://github.com/okonet/lint-staged/releases). ### Migration +#### v13 + +- Since `v13.0.0` _lint-staged_ no longer supports Node.js 12. Please upgrade your Node.js version to at least `14.13.1`, or `16.0.0` onward. + #### v12 - Since `v12.0.0` _lint-staged_ is a pure ESM module, so make sure your Node.js version is at least `12.20.0`, `14.13.1`, or `16.0.0`. Read more about ESM modules from the official [Node.js Documentation site here](https://nodejs.org/api/esm.html#introduction). diff --git a/package-lock.json b/package-lock.json index e50e5a289..91619350b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,7 @@ "prettier": "^2.6.2" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^14.13.1 || >=16.0.0" }, "funding": { "url": "https://opencollective.com/lint-staged" diff --git a/package.json b/package.json index 7483656d1..29fe518ff 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "url": "https://opencollective.com/lint-staged" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^14.13.1 || >=16.0.0" }, "type": "module", "bin": "./bin/lint-staged.js",