Skip to content

Commit

Permalink
fix: drop support for node 13
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Oct 23, 2020
1 parent 399c7b3 commit 9fcac73
Show file tree
Hide file tree
Showing 55 changed files with 55 additions and 72 deletions.
15 changes: 0 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,6 @@ jobs:
- store_test_results:
path: reports/junit

test-node-13:
working_directory: ~/jest
executor: node/default
steps:
- checkout
- node/install:
node-version: '13'
install-npm: false
- node/install-packages: *install
- run:
command: yarn test-ci-partial
- store_test_results:
path: reports/junit

test-node-14:
working_directory: ~/jest
executor: node/default
Expand Down Expand Up @@ -118,7 +104,6 @@ workflows:
jobs:
- test-node-10
- test-node-12
- test-node-13
- test-node-14
- test-node-15 # current
- test-jest-circus
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 13.x, 14.x, 15.x]
node-version: [10.x, 12.x, 14.x, 15.x]
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

### Chore & Maintenance

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

### Performance

## 26.6.1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@
"logo": "https://opencollective.com/jest/logo.txt"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/babel-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@babel/core": "^7.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-jest-hoist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"directory": "packages/babel-plugin-jest-hoist"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@babel/core": "^7.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/diff-sequences/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"diff"
],
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-fb-strict/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint-plugin-react": "^7.1.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"immutable": "^4.0.0-rc.12"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-changed-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"throat": "^5.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-circus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"graceful-fs": "^4.2.4"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"jest": "./bin/jest.js"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "^4.0.3"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/node": "*"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"jest-snapshot-serializer-raw": "^1.1.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-create-cache-key-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@types/node": "*"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"strip-ansi": "^6.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-docblock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/node": "*"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-each/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"pretty-format": "^26.6.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/jsdom": "^16.2.4"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-environment-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"jest-util": "^26.6.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"jest-mock": "^26.6.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-fake-timers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/sinonjs__fake-timers": "^6.0.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-get-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"directory": "packages/jest-get-type"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-globals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"directory": "packages/jest-globals"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-haste-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"fsevents": "^2.1.2"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-jasmine2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/co": "^4.6.2"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-leak-detector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"weak-napi": "^2.0.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-matcher-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"directory": "packages/jest-matcher-utils"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-message-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"directory": "packages/jest-message-util"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"directory": "packages/jest-mock"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"dependencies": {
"@jest/types": "^26.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-phabricator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@jest/test-result": "^26.6.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-regex-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@types/node": "*"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"bin": "./bin/jest-repl.js",
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-reporters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"node-notifier": "^8.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-resolve-dependencies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"jest-runtime": "^26.6.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"jest-haste-map": "^26.6.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"jest-circus": "^26.6.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"bin": "./bin/jest-runtime.js",
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graceful-fs": "^4.2.4"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"prettier": "^1.19.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.14.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 9fcac73

Please sign in to comment.