Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: drop support for node 13 #10685

Merged
merged 1 commit into from Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 0 additions & 15 deletions .circleci/config.yml
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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"
}
}