Skip to content

Commit

Permalink
Remove Node.js 14 support (#7020)
Browse files Browse the repository at this point in the history
Node.js 16.13.0 is the first version of Node.js 16.x LTS series.
See https://nodejs.org/en/blog/release/v16.13.0
  • Loading branch information
ybiquitous authored and mattxwang committed Jul 4, 2023
1 parent 6892022 commit 18d0202
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-cars-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stylelint": major
---

Removed: Node.js 14 support
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
test:
uses: stylelint/.github/.github/workflows/test.yml@main
with:
node-version: '["14", "16", "18", "20"]'
node-version: '["16", "18", "20"]'
os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
exclude: '[{"node-version": "18", "os": "ubuntu-latest"}]' # for coverage
# HACK: `--workerIdleMemoryLimit` can avoid failures on Node.js 20. See https://github.com/jestjs/jest/issues/11956
Expand Down
7 changes: 7 additions & 0 deletions docs/migration-guide/to-16.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ This release contains breaking changes.
## Removed deprecated stylistic rules

We've removed the stylistic rules we deprecated in 15.0.0. See the [15.0.0 migration guide](./to-15.md) for details on how to migrate.

## Removed support for Node.js 14

Node.js 14 has reached end-of-life. We've removed support for it so that we could update some of our dependencies. You should use the following or higher versions of Node.js:

- 16.13.0
- 18.0.0
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 @@ -215,6 +215,6 @@
"typescript": "^5.1.6"
},
"engines": {
"node": "^14.13.1 || >=16.0.0"
"node": "^16.13.0 || >=18.0.0"
}
}

0 comments on commit 18d0202

Please sign in to comment.