From 2b47385689f3f07f3f10f339d4867a5db0edd604 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 6 Apr 2020 08:47:06 +0200 Subject: [PATCH 1/8] feat: enable all babel syntax plugins --- CHANGELOG.md | 1 + packages/babel-jest/package.json | 4 ++-- packages/babel-preset-jest/index.js | 3 +-- packages/babel-preset-jest/package.json | 7 +++---- yarn.lock | 27 ++++++++++++++++--------- 5 files changed, 25 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8946e97c57a1..2d6d5b4351e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Features +- `[babel-preset-jest]` Enable all syntax plugins not enabled by default ([#9774](https://github.com/facebook/jest/pull/9774)) - `[babel-jest]` Support passing `supportsDynamicImport` and `supportsStaticESM` ([#9766](https://github.com/facebook/jest/pull/9766)) - `[jest-runtime, @jest/transformer]` Support passing `supportsDynamicImport` and `supportsStaticESM` ([#9597](https://github.com/facebook/jest/pull/9597)) diff --git a/packages/babel-jest/package.json b/packages/babel-jest/package.json index f4ba4805d801..cb1e277b1205 100644 --- a/packages/babel-jest/package.json +++ b/packages/babel-jest/package.json @@ -27,10 +27,10 @@ "slash": "^3.0.0" }, "devDependencies": { - "@babel/core": "^7.1.0" + "@babel/core": "^7.8.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^7.8.0" }, "engines": { "node": ">= 8.3" diff --git a/packages/babel-preset-jest/index.js b/packages/babel-preset-jest/index.js index c8c235eae479..b11129221ce1 100644 --- a/packages/babel-preset-jest/index.js +++ b/packages/babel-preset-jest/index.js @@ -8,7 +8,6 @@ module.exports = () => ({ plugins: [ require.resolve('babel-plugin-jest-hoist'), - require.resolve('@babel/plugin-syntax-object-rest-spread'), - require.resolve('@babel/plugin-syntax-bigint'), + require.resolve('babel-preset-current-node-syntax'), ], }); diff --git a/packages/babel-preset-jest/package.json b/packages/babel-preset-jest/package.json index 4db8b5daadae..8f52acf3db60 100644 --- a/packages/babel-preset-jest/package.json +++ b/packages/babel-preset-jest/package.json @@ -9,12 +9,11 @@ "license": "MIT", "main": "index.js", "dependencies": { - "@babel/plugin-syntax-bigint": "^7.0.0", - "@babel/plugin-syntax-object-rest-spread": "^7.0.0", - "babel-plugin-jest-hoist": "^25.2.6" + "babel-plugin-jest-hoist": "^25.2.6", + "babel-preset-current-node-syntax": "^0.1.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^7.8.0" }, "engines": { "node": ">= 8.3" diff --git a/yarn.lock b/yarn.lock index c026650daa0f..c643177771ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -55,7 +55,7 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@*", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.3.4", "@babel/core@^7.7.4", "@babel/core@^7.7.5": +"@babel/core@*", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.3.4", "@babel/core@^7.7.4", "@babel/core@^7.7.5", "@babel/core@^7.8.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz#ac977b538b77e132ff706f3b8a4dbad09c03c56e" integrity sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w== @@ -423,14 +423,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-bigint@^7.0.0": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" - integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-class-properties@^7.0.0": +"@babel/plugin-syntax-class-properties@^7.0.0", "@babel/plugin-syntax-class-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.8.3.tgz#6cb933a8872c8d359bfde69bbeaae5162fd1e8f7" integrity sha512-UcAyQWg2bAN647Q+O811tG9MrJ38Z10jjhQdKNAL8fsyPzE3cCN/uT+f55cFVY4aGO4jqJAvmqsuY3GQDwAoXg== @@ -479,6 +472,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.8.3.tgz#3995d7d7ffff432f6ddc742b47e730c054599897" + integrity sha512-Zpg2Sgc++37kuFl6ppq2Q7Awc6E6AIW671x5PY8E/f7MCIyPPGK/EoeZXvvY3P42exZ3Q4/t3YOzP/HiN79jDg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" @@ -3443,6 +3443,15 @@ babel-polyfill@6.23.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" +babel-preset-current-node-syntax@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.0.tgz#744b43eda7a164e5f90ad416dcd9615e8b7842c1" + integrity sha512-gVdIosHhVr8ZFaMo8FVOihafV0UOj26/v4A1etZAPy/XqrJO5dvTLfxGaIApumZ66n7AEkFy3e+SPGOv46YhKQ== + dependencies: + "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.8.3" + babel-preset-fbjs@^3.1.2, babel-preset-fbjs@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/babel-preset-fbjs/-/babel-preset-fbjs-3.3.0.tgz#a6024764ea86c8e06a22d794ca8b69534d263541" From 17a87c123210af50ed3c272bca9f5a58e3290d3e Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 6 Apr 2020 16:01:04 +0200 Subject: [PATCH 2/8] hoist plugins array --- packages/babel-preset-jest/index.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/babel-preset-jest/index.js b/packages/babel-preset-jest/index.js index b11129221ce1..ad92509afe6b 100644 --- a/packages/babel-preset-jest/index.js +++ b/packages/babel-preset-jest/index.js @@ -5,9 +5,10 @@ * LICENSE file in the root directory of this source tree. */ -module.exports = () => ({ - plugins: [ - require.resolve('babel-plugin-jest-hoist'), - require.resolve('babel-preset-current-node-syntax'), - ], -}); +const plugins = [ + require.resolve('babel-plugin-jest-hoist'), + require.resolve('babel-preset-current-node-syntax'), +]; + +// @babel/core requires us to export a function +module.exports = () => ({plugins}); From 7ff389d8e1d25e58d36db7e9827d8b0f99440304 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 7 Apr 2020 00:07:21 +0200 Subject: [PATCH 3/8] update --- packages/babel-preset-jest/package.json | 2 +- yarn.lock | 34 +++++++++++++++++-------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/packages/babel-preset-jest/package.json b/packages/babel-preset-jest/package.json index 8f52acf3db60..78b36e46747d 100644 --- a/packages/babel-preset-jest/package.json +++ b/packages/babel-preset-jest/package.json @@ -10,7 +10,7 @@ "main": "index.js", "dependencies": { "babel-plugin-jest-hoist": "^25.2.6", - "babel-preset-current-node-syntax": "^0.1.0" + "babel-preset-current-node-syntax": "^0.1.1" }, "peerDependencies": { "@babel/core": "^7.8.0" diff --git a/yarn.lock b/yarn.lock index c643177771ce..f4b4ea7f5fae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -416,13 +416,20 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.8" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-async-generators@^7.8.0": +"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-bigint@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + "@babel/plugin-syntax-class-properties@^7.0.0", "@babel/plugin-syntax-class-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.8.3.tgz#6cb933a8872c8d359bfde69bbeaae5162fd1e8f7" @@ -458,7 +465,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-json-strings@^7.8.0": +"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== @@ -479,7 +486,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== @@ -493,21 +500,21 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0": +"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.8.0": +"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.8.0": +"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== @@ -3443,14 +3450,21 @@ babel-polyfill@6.23.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" -babel-preset-current-node-syntax@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.0.tgz#744b43eda7a164e5f90ad416dcd9615e8b7842c1" - integrity sha512-gVdIosHhVr8ZFaMo8FVOihafV0UOj26/v4A1etZAPy/XqrJO5dvTLfxGaIApumZ66n7AEkFy3e+SPGOv46YhKQ== +babel-preset-current-node-syntax@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.1.tgz#5ee07a4150561245dceb3c36579113613f339e0b" + integrity sha512-1ez+0fDblFswjSvdnxBQpKd6UQgKKR91SA2NILzRdQf6u41cupRVrgV+Qc57PENcK+bzx5cYd65z9OO1NkPisg== dependencies: + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-bigint" "^7.8.3" "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" babel-preset-fbjs@^3.1.2, babel-preset-fbjs@^3.2.0: version "3.3.0" From 3519a4216971ba9f90f42b7346bab32a1012be82 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 7 Apr 2020 00:12:10 +0200 Subject: [PATCH 4/8] reset peer dep --- packages/babel-jest/package.json | 4 ++-- yarn.lock | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/babel-jest/package.json b/packages/babel-jest/package.json index cb1e277b1205..f4ba4805d801 100644 --- a/packages/babel-jest/package.json +++ b/packages/babel-jest/package.json @@ -27,10 +27,10 @@ "slash": "^3.0.0" }, "devDependencies": { - "@babel/core": "^7.8.0" + "@babel/core": "^7.1.0" }, "peerDependencies": { - "@babel/core": "^7.8.0" + "@babel/core": "^7.0.0" }, "engines": { "node": ">= 8.3" diff --git a/yarn.lock b/yarn.lock index f4b4ea7f5fae..81d289691304 100644 --- a/yarn.lock +++ b/yarn.lock @@ -55,7 +55,7 @@ invariant "^2.2.4" semver "^5.5.0" -"@babel/core@*", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.3.4", "@babel/core@^7.7.4", "@babel/core@^7.7.5", "@babel/core@^7.8.0": +"@babel/core@*", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.3.4", "@babel/core@^7.7.4", "@babel/core@^7.7.5": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz#ac977b538b77e132ff706f3b8a4dbad09c03c56e" integrity sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w== From 29c30ee3113a1b4d9816cb595eda110dd6615d97 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 7 Apr 2020 00:13:22 +0200 Subject: [PATCH 5/8] plugins and presets are separate --- packages/babel-preset-jest/index.js | 8 +++----- packages/babel-preset-jest/package.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/babel-preset-jest/index.js b/packages/babel-preset-jest/index.js index ad92509afe6b..1e8857745bf2 100644 --- a/packages/babel-preset-jest/index.js +++ b/packages/babel-preset-jest/index.js @@ -5,10 +5,8 @@ * LICENSE file in the root directory of this source tree. */ -const plugins = [ - require.resolve('babel-plugin-jest-hoist'), - require.resolve('babel-preset-current-node-syntax'), -]; +const plugins = [require.resolve('babel-plugin-jest-hoist')]; +const presets = [require.resolve('babel-preset-current-node-syntax')]; // @babel/core requires us to export a function -module.exports = () => ({plugins}); +module.exports = () => ({plugins, presets}); diff --git a/packages/babel-preset-jest/package.json b/packages/babel-preset-jest/package.json index 78b36e46747d..87bda44caf60 100644 --- a/packages/babel-preset-jest/package.json +++ b/packages/babel-preset-jest/package.json @@ -13,7 +13,7 @@ "babel-preset-current-node-syntax": "^0.1.1" }, "peerDependencies": { - "@babel/core": "^7.8.0" + "@babel/core": "^7.0.0" }, "engines": { "node": ">= 8.3" From cbed79ae85fead09235e0722dbf33d18530a4646 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 7 Apr 2020 00:17:07 +0200 Subject: [PATCH 6/8] create object once --- packages/babel-preset-jest/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/babel-preset-jest/index.js b/packages/babel-preset-jest/index.js index 1e8857745bf2..911bbf8d9930 100644 --- a/packages/babel-preset-jest/index.js +++ b/packages/babel-preset-jest/index.js @@ -5,8 +5,10 @@ * LICENSE file in the root directory of this source tree. */ -const plugins = [require.resolve('babel-plugin-jest-hoist')]; -const presets = [require.resolve('babel-preset-current-node-syntax')]; +const jestPreset = { + plugins: [require.resolve('babel-plugin-jest-hoist')], + presets: [require.resolve('babel-preset-current-node-syntax')], +}; // @babel/core requires us to export a function -module.exports = () => ({plugins, presets}); +module.exports = () => jestPreset; From e973418d191d6231f1361231c009b2e8bc06c883 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 7 Apr 2020 18:55:59 +0200 Subject: [PATCH 7/8] node 8 compat --- packages/babel-preset-jest/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/babel-preset-jest/package.json b/packages/babel-preset-jest/package.json index 87bda44caf60..073bbc02448e 100644 --- a/packages/babel-preset-jest/package.json +++ b/packages/babel-preset-jest/package.json @@ -10,7 +10,7 @@ "main": "index.js", "dependencies": { "babel-plugin-jest-hoist": "^25.2.6", - "babel-preset-current-node-syntax": "^0.1.1" + "babel-preset-current-node-syntax": "^0.1.2" }, "peerDependencies": { "@babel/core": "^7.0.0" diff --git a/yarn.lock b/yarn.lock index 81d289691304..349c5472d04a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3450,10 +3450,10 @@ babel-polyfill@6.23.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" -babel-preset-current-node-syntax@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.1.tgz#5ee07a4150561245dceb3c36579113613f339e0b" - integrity sha512-1ez+0fDblFswjSvdnxBQpKd6UQgKKR91SA2NILzRdQf6u41cupRVrgV+Qc57PENcK+bzx5cYd65z9OO1NkPisg== +babel-preset-current-node-syntax@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.2.tgz#fb4a4c51fe38ca60fede1dc74ab35eb843cb41d6" + integrity sha512-u/8cS+dEiK1SFILbOC8/rUI3ml9lboKuuMvZ/4aQnQmhecQAgPw5ew066C1ObnEAUmlx7dv/s2z52psWEtLNiw== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" From fc1d3f9e0dc7631e1ea62cbce47645aa0efce9ed Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 7 Apr 2020 19:02:30 +0200 Subject: [PATCH 8/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d6d5b4351e5..52907ddec033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ### Features -- `[babel-preset-jest]` Enable all syntax plugins not enabled by default ([#9774](https://github.com/facebook/jest/pull/9774)) - `[babel-jest]` Support passing `supportsDynamicImport` and `supportsStaticESM` ([#9766](https://github.com/facebook/jest/pull/9766)) +- `[babel-preset-jest]` Enable all syntax plugins not enabled by default that works on current version of Node ([#9774](https://github.com/facebook/jest/pull/9774)) - `[jest-runtime, @jest/transformer]` Support passing `supportsDynamicImport` and `supportsStaticESM` ([#9597](https://github.com/facebook/jest/pull/9597)) ### Fixes