Skip to content

Commit

Permalink
fix: require Node.js 6+ for all packages (#7258)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRuf authored and SimenB committed Oct 25, 2018
1 parent b8619f8 commit c5e3683
Show file tree
Hide file tree
Showing 37 changed files with 109 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
- `[jest-diff]` Standardize filenames ([#7238](https://github.com/facebook/jest/pull/7238))
- `[*]` Add babel plugin to make sure Jest is unaffected by fake Promise implementations ([#7225](https://github.com/facebook/jest/pull/7225))
- `[jest-haste-map]` Standardize filenames ([#7266](https://github.com/facebook/jest/pull/7266))
- `[*]` [**BREAKING**] Require Node.js 6+ for all packages ([#7258](https://github.com/facebook/jest/pull/7258))

### Performance

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,8 @@
"type": "opencollective",
"url": "https://opencollective.com/jest",
"logo": "https://opencollective.com/jest/logo.txt"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/babel-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
},
"peerDependencies": {
"babel-core": "^6.0.0 || ^7.0.0-0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/babel-plugin-jest-hoist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js"
}
3 changes: 3 additions & 0 deletions packages/babel-preset-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"dependencies": {
"babel-plugin-jest-hoist": "^23.2.0",
"babel-plugin-syntax-object-rest-spread": "^6.13.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/diff-sequences/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"callback",
"diff"
],
"engines": {
"node": ">= 6"
},
"main": "build/index.js"
}
3 changes: 3 additions & 0 deletions packages/eslint-config-fb-strict/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-relay": "~0.0.8"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"jest-matcher-utils": "^23.6.0",
"jest-message-util": "^23.4.0",
"jest-regex-util": "^23.3.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-changed-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"dependencies": {
"execa": "^1.0.0",
"throat": "^4.0.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-circus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
"devDependencies": {
"execa": "^1.0.0",
"jest-runtime": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"jest-validate": "^23.6.0",
"micromatch": "^2.3.11",
"pretty-format": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"diff": "^3.2.0",
"jest-get-type": "^22.1.0",
"pretty-format": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-docblock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"main": "build/index.js",
"dependencies": {
"detect-newline": "^2.1.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-each/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"chalk": "^2.0.1",
"jest-util": "^23.4.0",
"pretty-format": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"jest-mock": "^23.2.0",
"jest-util": "^23.4.0",
"jsdom": "^11.5.1"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-environment-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"dependencies": {
"jest-mock": "^23.2.0",
"jest-util": "^23.4.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-get-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js"
}
3 changes: 3 additions & 0 deletions packages/jest-haste-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"jest-worker": "^23.2.0",
"micromatch": "^2.3.11",
"sane": "^3.0.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-jasmine2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
},
"devDependencies": {
"jest-runtime": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-leak-detector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
},
"devDependencies": {
"weak": "^1.0.1"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-matcher-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js",
"dependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/jest-message-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js",
"dependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/jest-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js",
"browser": "build-es5/index.js"
Expand Down
3 changes: 3 additions & 0 deletions packages/jest-phabricator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js"
}
3 changes: 3 additions & 0 deletions packages/jest-regex-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js"
}
3 changes: 3 additions & 0 deletions packages/jest-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
},
"bin": {
"jest-repl": "./bin/jest-repl.js"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-resolve-dependencies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"dependencies": {
"jest-regex-util": "^23.3.0",
"jest-snapshot": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
},
"devDependencies": {
"jest-haste-map": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"jest-worker": "^23.2.0",
"source-map-support": "^0.5.6",
"throat": "^4.0.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@
},
"bin": {
"jest-runtime": "./bin/jest-runtime.js"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "git",
"url": "https://github.com/facebook/jest.git"
},
"engines": {
"node": ">= 6"
},
"license": "MIT",
"main": "build/index.js"
}
3 changes: 3 additions & 0 deletions packages/jest-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
},
"devDependencies": {
"prettier": "^1.13.4"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
},
"devDependencies": {
"jest-mock": "^23.2.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-validate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"jest-get-type": "^22.1.0",
"leven": "^2.1.0",
"pretty-format": "^23.6.0"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/jest-watcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"bugs": {
"url": "https://github.com/facebook/jest/issues"
},
"engines": {
"node": ">= 6"
},
"homepage": "https://jestjs.io/",
"license": "MIT"
}
3 changes: 3 additions & 0 deletions packages/jest-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"main": "build/index.js",
"dependencies": {
"merge-stream": "^1.0.1"
},
"engines": {
"node": ">= 6"
}
}
3 changes: 3 additions & 0 deletions packages/pretty-format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"react": "*",
"react-dom": "*",
"react-test-renderer": "*"
},
"engines": {
"node": ">= 6"
}
}

0 comments on commit c5e3683

Please sign in to comment.