Skip to content

Commit

Permalink
fix: drop support for node 13 (#10685)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Nov 4, 2020
1 parent abaa556 commit 54955a4
Show file tree
Hide file tree
Showing 54 changed files with 101 additions and 165 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 @@ -8,6 +8,8 @@

### Chore & Maintenance

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

### Performance

## 26.6.3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"logo": "https://opencollective.com/jest/logo.txt"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"resolutions": {
"@types/jest/jest-diff": "^25.1.0",
Expand Down
5 changes: 2 additions & 3 deletions packages/babel-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
"@babel/core": "^7.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions 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.15.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand All @@ -29,6 +29,5 @@
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/babel-preset-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
"@babel/core": "^7.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions 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.15.0 || >=15.0.0"
},
"main": "build/index.js",
"types": "build/index.d.ts",
Expand All @@ -30,6 +30,5 @@
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@
"immutable": "^4.0.0-rc.12"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-changed-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
"throat": "^5.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-circus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@
"jest-snapshot-serializer-raw": "^1.1.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions 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.15.0 || >=15.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -71,6 +71,5 @@
],
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@
"typescript": "^4.0.3"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
"@types/node": "*"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"jest-snapshot-serializer-raw": "^1.1.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -84,6 +84,5 @@
],
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-create-cache-key-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
"@types/node": "*"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
"types": "build/index.d.ts",
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
"strip-ansi": "^6.0.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-docblock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
"@types/node": "*"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-each/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
"pretty-format": "^26.6.2"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@
"@types/jsdom": "^16.2.4"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-environment-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
"@jest/test-utils": "^26.6.2"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
"jest-mock": "^26.6.2"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-fake-timers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
"jest-snapshot-serializer-raw": "^1.1.0"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-get-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
"directory": "packages/jest-get-type"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
"types": "build/index.d.ts",
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
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.15.0 || >=15.0.0"
},
"license": "MIT",
"main": "build/index.js",
Expand Down
5 changes: 2 additions & 3 deletions packages/jest-haste-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@
"fsevents": "^2.1.2"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-jasmine2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@
"@types/co": "^4.6.2"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
5 changes: 2 additions & 3 deletions packages/jest-leak-detector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
"weak-napi": "^2.0.1"
},
"engines": {
"node": ">= 10.14.2"
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
}
}
Loading

0 comments on commit 54955a4

Please sign in to comment.