Skip to content

Commit 234e44d

Browse files
committed
Stop supporting Node.js v10.
The Node.js v10 end-of-life date is 2021-04-30.
1 parent f235704 commit 234e44d

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, macos-latest]
10-
node: ['10', '12', '14', '15']
10+
node: ['12', '14', '15']
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Setup Node.js v${{ matrix.node }}

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Major
66

7+
- Updated Node.js version support to `^12.0.0 || >= 13.7.0`.
78
- Stopped supporting Internet Explorer.
89
- Updated the [`react`](https://npm.im/react) and [`react-dom`](https://npm.im/react-dom) peer dependencies to `16.14 - 17`.
910
- Use [the new JSX runtime](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html).

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"./package.json": "./package.json"
4343
},
4444
"engines": {
45-
"node": "^10.17.0 || ^12.0.0 || >= 13.7.0"
45+
"node": "^12.0.0 || >= 13.7.0"
4646
},
47-
"browserslist": "Node 10.17 - 11 and Node < 11, Node 12 - 13 and Node < 13, Node >= 13.7, > 0.5%, not OperaMini all, not IE > 0, not dead",
47+
"browserslist": "Node 12 - 13 and Node < 13, Node >= 13.7, > 0.5%, not OperaMini all, not IE > 0, not dead",
4848
"peerDependencies": {
4949
"react": "16.14 - 17",
5050
"react-dom": "16.14 - 17"

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default function GitHubRepoStars({ repoId }) {
134134

135135
## Support
136136

137-
- [Node.js](https://nodejs.org): `^10.17.0 || ^12.0.0 || >= 13.7.0`
137+
- [Node.js](https://nodejs.org): `^12.0.0 || >= 13.7.0`
138138
- [Browsers](https://npm.im/browserslist): `> 0.5%, not OperaMini all, not IE > 0, not dead`
139139

140140
Consider polyfilling:

0 commit comments

Comments
 (0)