From 0195e7da0f90e17bc0370bf278816dcd423aa957 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Wed, 26 Sep 2018 09:48:35 -0700 Subject: [PATCH] Remove global babelHelpers and regenerator (#21283) Summary: Follow up to /~https://github.com/facebook/metro/commit/8932a9caa8f9ffe82160f2da25342a0bde3bbb26 Babel helpers and regenerator runtime will be imported automatically from `babel/runtime`. We still need to add the global regeneratorRuntime for jest tests since we disable babel-runtime currently. Pull Request resolved: /~https://github.com/facebook/react-native/pull/21283 Reviewed By: mjesun Differential Revision: D10010963 Pulled By: rafeca fbshipit-source-id: da5e23dd901f8f8940d46816b4fc9290d0e28c76 --- package.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 78c64b3629245e..5cbeae812b5587 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native", - "version": "0.57.3", + "version": "1000.0.0", "description": "A framework for building native apps using React", "license": "MIT", "repository": { @@ -68,7 +68,6 @@ "node_modules/fbjs/lib/flattenArray.js", "node_modules/fbjs/lib/forEachObject.js", "node_modules/fbjs/lib/isEmpty.js", - "node_modules/fbjs/lib/nullthrows.js", "node_modules/fbjs/lib/removeFromArray.js", "node_modules/fbjs/lib/resolveImmediate.js", "node_modules/fbjs/lib/someObject.js", @@ -86,7 +85,8 @@ "source-map", "fastpath", "denodeify", - "fbjs" + "fbjs", + "sinon" ], "testEnvironment": "node" }, @@ -145,10 +145,10 @@ "react-native": "local-cli/wrong-react-native.js" }, "peerDependencies": { - "react": "16.6.0-alpha.8af6728" + "react": "16.5.0" }, "dependencies": { - "@babel/runtime": "7.0.0-beta.55", + "@babel/runtime": "^7.0.0", "absolute-path": "^0.0.0", "art": "^0.10.0", "base64-js": "^1.1.2", @@ -163,17 +163,17 @@ "errorhandler": "^1.5.0", "escape-string-regexp": "^1.0.5", "event-target-shim": "^1.0.5", - "fbjs": "^1.0.0", + "fbjs": "0.8.17", "fbjs-scripts": "^0.8.1", "fs-extra": "^1.0.0", "glob": "^7.1.1", "graceful-fs": "^4.1.3", "inquirer": "^3.0.6", "lodash": "^4.17.5", - "metro": "^0.48.1", - "metro-babel-register": "^0.48.1", - "metro-core": "^0.48.1", - "metro-memory-fs": "^0.48.1", + "metro": "^0.46.0", + "metro-babel-register": "^0.46.0", + "metro-core": "^0.46.0", + "metro-memory-fs": "^0.46.0", "mime": "^1.3.4", "minimist": "^1.2.0", "mkdirp": "^0.5.1", @@ -181,6 +181,7 @@ "node-fetch": "^2.2.0", "node-notifier": "^5.2.1", "npmlog": "^2.0.4", + "nullthrows": "^1.1.0", "opn": "^3.0.2", "optimist": "^0.6.1", "plist": "^3.0.0", @@ -206,7 +207,7 @@ "async": "^2.4.0", "babel-eslint": "9.0.0", "babel-generator": "^6.26.0", - "detox": "9.0.4", + "detox": "^8.2.3", "eslint": "5.1.0", "eslint-config-fb-strict": "22.1.0", "eslint-config-fbjs": "2.0.1", @@ -216,15 +217,14 @@ "eslint-plugin-prettier": "2.6.0", "eslint-plugin-react": "7.8.2", "eslint-plugin-react-native": "^3.2.1", - "flow-bin": "^0.78.0", + "flow-bin": "^0.81.0", "jest": "23.4.1", "jest-junit": "5.1.0", "prettier": "1.13.6", - "react": "16.6.0-alpha.8af6728", - "react-native-dummy": "0.1.0", - "react-test-renderer": "16.6.0-alpha.8af6728", + "react": "16.5.0", + "react-test-renderer": "16.5.0", "shelljs": "^0.7.8", - "schedule": "0.4.0" + "sinon": "^2.2.0" }, "detox": { "test-runner": "jest",