From 9bb438ed1d111be38894bb07cdab277f573dd68e Mon Sep 17 00:00:00 2001 From: Kathy Gray Date: Thu, 12 Oct 2017 07:37:11 -0700 Subject: [PATCH] Upgrade babel generator Reviewed By: arcanis Differential Revision: D6008862 fbshipit-source-id: f8c0bc35d696453fd7cda82ce614d084cbc867e0 --- package.json | 1 + packages/metro-bundler/package.json | 2 +- yarn.lock | 35 ++++++++++++++++++++++++++++- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d276856c..8eb8ccad 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "babel-core": "^6.23.1", "babel-eslint": "^7.1.1", "babel-jest": "^19.0.0", + "babel-generator": "^6.26.0", "babel-plugin-syntax-trailing-function-commas": "^6.20.0", "babel-plugin-transform-async-to-generator": "^6.24.1", "babel-plugin-transform-class-properties": "^6.18.0", diff --git a/packages/metro-bundler/package.json b/packages/metro-bundler/package.json index ab8cd1bd..2886c260 100644 --- a/packages/metro-bundler/package.json +++ b/packages/metro-bundler/package.json @@ -15,7 +15,7 @@ "absolute-path": "^0.0.0", "async": "^2.4.0", "babel-core": "^6.24.1", - "babel-generator": "^6.24.1", + "babel-generator": "^6.26.0", "babel-plugin-external-helpers": "^6.18.0", "babel-preset-es2015-node": "^6.1.1", "babel-preset-fbjs": "^2.1.4", diff --git a/yarn.lock b/yarn.lock index b070bdc3..a87d03c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -273,6 +273,19 @@ babel-generator@^6.18.0, babel-generator@^6.24.1: source-map "^0.5.0" trim-right "^1.0.1" +babel-generator@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5" + dependencies: + babel-messages "^6.23.0" + babel-runtime "^6.26.0" + babel-types "^6.26.0" + detect-indent "^4.0.0" + jsesc "^1.3.0" + lodash "^4.17.4" + source-map "^0.5.6" + trim-right "^1.0.1" + babel-helper-builder-react-jsx@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.24.1.tgz#0ad7917e33c8d751e646daca4e77cc19377d2cbc" @@ -706,6 +719,13 @@ babel-runtime@^6.22.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" +babel-runtime@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" + dependencies: + core-js "^2.4.0" + regenerator-runtime "^0.11.0" + babel-template@^6.16.0, babel-template@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.24.1.tgz#04ae514f1f93b3a2537f2a0f60a5a45fb8308333" @@ -739,6 +759,15 @@ babel-types@^6.18.0, babel-types@^6.23.0, babel-types@^6.24.1: lodash "^4.2.0" to-fast-properties "^1.0.1" +babel-types@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" + dependencies: + babel-runtime "^6.26.0" + esutils "^2.0.2" + lodash "^4.17.4" + to-fast-properties "^1.0.3" + babylon@^6.11.0, babylon@^6.13.0, babylon@^6.15.0, babylon@^6.17.0, babylon@^6.17.4: version "6.18.0" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" @@ -3471,6 +3500,10 @@ regenerator-runtime@^0.10.0: version "0.10.5" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" +regenerator-runtime@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz#7e54fe5b5ccd5d6624ea6255c3473be090b802e1" + regex-cache@^0.4.2: version "0.4.3" resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" @@ -4028,7 +4061,7 @@ tmpl@1.0.x: version "1.0.4" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" -to-fast-properties@^1.0.1: +to-fast-properties@^1.0.1, to-fast-properties@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"