Skip to content

Commit 54955a4

Browse files
authored
fix: drop support for node 13 (#10685)
1 parent abaa556 commit 54955a4

File tree

54 files changed

+101
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+101
-165
lines changed

.circleci/config.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,6 @@ jobs:
5555
- store_test_results:
5656
path: reports/junit
5757

58-
test-node-13:
59-
working_directory: ~/jest
60-
executor: node/default
61-
steps:
62-
- checkout
63-
- node/install:
64-
node-version: '13'
65-
install-npm: false
66-
- node/install-packages: *install
67-
- run:
68-
command: yarn test-ci-partial
69-
- store_test_results:
70-
path: reports/junit
71-
7258
test-node-14:
7359
working_directory: ~/jest
7460
executor: node/default
@@ -118,7 +104,6 @@ workflows:
118104
jobs:
119105
- test-node-10
120106
- test-node-12
121-
- test-node-13
122107
- test-node-14
123108
- test-node-15 # current
124109
- test-jest-circus

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
node-version: [10.x, 12.x, 13.x, 14.x, 15.x]
57+
node-version: [10.x, 12.x, 14.x, 15.x]
5858
os: [ubuntu-latest, macOS-latest, windows-latest]
5959
runs-on: ${{ matrix.os }}
6060

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
### Chore & Maintenance
1010

11+
- `[*]` [**BREAKING**] Only support Node LTS releases and Node 15 ([#10685](https://github.com/facebook/jest/pull/10685))
12+
1113
### Performance
1214

1315
## 26.6.3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"logo": "https://opencollective.com/jest/logo.txt"
139139
},
140140
"engines": {
141-
"node": ">= 10.14.2"
141+
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
142142
},
143143
"resolutions": {
144144
"@types/jest/jest-diff": "^25.1.0",

packages/babel-jest/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@
2929
"@babel/core": "^7.0.0"
3030
},
3131
"engines": {
32-
"node": ">= 10.14.2"
32+
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
3333
},
3434
"publishConfig": {
3535
"access": "public"
36-
},
37-
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
36+
}
3837
}

packages/babel-plugin-jest-hoist/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"directory": "packages/babel-plugin-jest-hoist"
88
},
99
"engines": {
10-
"node": ">= 10.14.2"
10+
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
1111
},
1212
"license": "MIT",
1313
"main": "build/index.js",
@@ -29,6 +29,5 @@
2929
},
3030
"publishConfig": {
3131
"access": "public"
32-
},
33-
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
32+
}
3433
}

packages/babel-preset-jest/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
"@babel/core": "^7.0.0"
1717
},
1818
"engines": {
19-
"node": ">= 10.14.2"
19+
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
2020
},
2121
"publishConfig": {
2222
"access": "public"
23-
},
24-
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
23+
}
2524
}

packages/diff-sequences/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"diff"
1717
],
1818
"engines": {
19-
"node": ">= 10.14.2"
19+
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
2020
},
2121
"main": "build/index.js",
2222
"types": "build/index.d.ts",
@@ -30,6 +30,5 @@
3030
},
3131
"publishConfig": {
3232
"access": "public"
33-
},
34-
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
33+
}
3534
}

packages/expect/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@
2424
"immutable": "^4.0.0-rc.12"
2525
},
2626
"engines": {
27-
"node": ">= 10.14.2"
27+
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
2828
},
2929
"publishConfig": {
3030
"access": "public"
31-
},
32-
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
31+
}
3332
}

packages/jest-changed-files/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
"throat": "^5.0.0"
1616
},
1717
"engines": {
18-
"node": ">= 10.14.2"
18+
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
1919
},
2020
"publishConfig": {
2121
"access": "public"
22-
},
23-
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
22+
}
2423
}

0 commit comments

Comments
 (0)