From ba03e4e7bb8d85514d9a9022aa756a4e78ab9ad4 Mon Sep 17 00:00:00 2001 From: Christoph Nakazawa Date: Wed, 10 Jul 2019 07:09:30 -0700 Subject: [PATCH] Use babel-core 7.5+ in new RN Apps Summary: We are running into some problems with the spread operator. The solution is to ask for a newer minimum babel version. See https://github.com/babel/babel/issues/10179 Note: this doesn't actually change behavior. When creating a new app a new babel version will already be used. This simply ensures that the minimum version fulfills the requirements. Reviewed By: axe-fb Differential Revision: D16181111 fbshipit-source-id: f5207318b3a7bd9f092c0e64a8065d0f713012da --- template/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/package.json b/template/package.json index c7edd0fbe2c..54f150654b9 100644 --- a/template/package.json +++ b/template/package.json @@ -11,8 +11,8 @@ "react-native": "1000.0.0" }, "devDependencies": { - "@babel/core": "^7.3.3", - "@babel/runtime": "^7.3.1", + "@babel/core": "^7.5.0", + "@babel/runtime": "^7.5.0", "@react-native-community/eslint-config": "^0.0.3", "babel-jest": "^24.1.0", "jest": "^24.1.0",