Skip to content

Commit 5e903c1

Browse files
SimenBcpojer
authored andcommitted
Revert "jest-runtime: move babel-core to peer dependenies (#4557)" (#4923)
* Revert "jest-runtime: move babel-core to peer dependenies (#4557)" This reverts commit 1fcffab. * Update changelog
1 parent ad1d7f7 commit 5e903c1

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

CHANGELOG.md

-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
([#4599](https://github.com/facebook/jest/pull/4599))
2727
* `[jest-runtime]` Fix manual user mocks not working with custom resolver
2828
([#4489](https://github.com/facebook/jest/pull/4489))
29-
* `[jest-runtime]` Move `babel-core` to peer dependencies so it works with Babel
30-
7 ([#4557](https://github.com/facebook/jest/pull/4557))
3129
* `[jest-util]` Fix `runOnlyPendingTimers` for `setTimeout` inside
3230
`setImmediate` ([#4608](https://github.com/facebook/jest/pull/4608))
3331
* `[jest-message-util]` Always remove node internals from stacktraces

packages/jest-runtime/package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"license": "MIT",
99
"main": "build/index.js",
1010
"dependencies": {
11+
"babel-core": "^6.0.0",
1112
"babel-jest": "^21.2.0",
1213
"babel-plugin-istanbul": "^4.1.5",
1314
"chalk": "^2.0.1",
@@ -26,13 +27,9 @@
2627
"yargs": "^9.0.0"
2728
},
2829
"devDependencies": {
29-
"babel-core": "^6.0.0",
3030
"jest-environment-jsdom": "^21.2.1",
3131
"jest-environment-node": "^21.2.1"
3232
},
33-
"peerDependencies": {
34-
"babel-core": "^6.0.0 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0"
35-
},
3633
"bin": {
3734
"jest-runtime": "./bin/jest-runtime.js"
3835
}

0 commit comments

Comments
 (0)