From a334fd85d23f58f39984e43e7eb0ad455ce2b428 Mon Sep 17 00:00:00 2001 From: Peter van der Zee Date: Fri, 20 Apr 2018 05:21:44 -0700 Subject: [PATCH] Lock down more @babel packages Reviewed By: davidaurelio Differential Revision: D7687595 fbshipit-source-id: 839be2c7d8aed392a6b5b398b72d2255a16111b4 --- packages/metro-babylon7/package.json | 2 +- packages/metro/package.json | 13 ++--- yarn.lock | 77 +++++++++++++++++++++++++--- 3 files changed, 78 insertions(+), 14 deletions(-) diff --git a/packages/metro-babylon7/package.json b/packages/metro-babylon7/package.json index 426db633..f18e3680 100644 --- a/packages/metro-babylon7/package.json +++ b/packages/metro-babylon7/package.json @@ -12,6 +12,6 @@ "cleanup-release": "test ! -e build && mv src build && mv src.real src" }, "dependencies": { - "babylon": "^7.0.0-beta" + "babylon": "7.0.0-beta.40" } } diff --git a/packages/metro/package.json b/packages/metro/package.json index aecbf670..1342a193 100644 --- a/packages/metro/package.json +++ b/packages/metro/package.json @@ -13,8 +13,8 @@ "cleanup-release": "test ! -e build && mv src build && mv src.real src" }, "dependencies": { - "@babel/core": "^7.0.0-beta", - "@babel/generator": "^7.0.0-beta", + "@babel/core": "7.0.0-beta.40", + "@babel/generator": "7.0.0-beta.40", "@babel/helper-remap-async-to-generator": "7.0.0-beta.40", "@babel/plugin-external-helpers": "7.0.0-beta.40", "@babel/plugin-proposal-class-properties": "7.0.0-beta.40", @@ -41,10 +41,11 @@ "@babel/plugin-transform-shorthand-properties": "7.0.0-beta.40", "@babel/plugin-transform-spread": "7.0.0-beta.40", "@babel/plugin-transform-template-literals": "7.0.0-beta.40", - "@babel/register": "^7.0.0-beta", - "@babel/template": "^7.0.0-beta", - "@babel/traverse": "^7.0.0-beta", - "@babel/types": "^7.0.0-beta", + "@babel/plugin-transform-unicode-regex": "7.0.0-beta.40", + "@babel/register": "7.0.0-beta.40", + "@babel/template": "7.0.0-beta.40", + "@babel/traverse": "7.0.0-beta.40", + "@babel/types": "7.0.0-beta.40", "absolute-path": "^0.0.0", "async": "^2.4.0", "babel-core": "^6.24.1", diff --git a/yarn.lock b/yarn.lock index af83b0f4..5fa51185 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,7 +24,7 @@ esutils "^2.0.2" js-tokens "^3.0.0" -"@babel/core@^7.0.0-beta": +"@babel/core@7.0.0-beta.40": version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.0.0-beta.40.tgz#455464dd81d499fd97d32b473f0331f74379a33f" dependencies: @@ -43,7 +43,7 @@ resolve "^1.3.2" source-map "^0.5.0" -"@babel/generator@7.0.0-beta.40", "@babel/generator@^7.0.0-beta": +"@babel/generator@7.0.0-beta.40": version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.40.tgz#ab61f9556f4f71dbd1138949c795bb9a21e302ea" dependencies: @@ -153,6 +153,12 @@ dependencies: "@babel/types" "7.0.0-beta.40" +"@babel/helper-regex@7.0.0-beta.40": + version "7.0.0-beta.40" + resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.0.0-beta.40.tgz#b47018ecca8ff66bb390c34a95ff71bc01495833" + dependencies: + lodash "^4.2.0" + "@babel/helper-remap-async-to-generator@7.0.0-beta.40": version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0-beta.40.tgz#33414d1cc160ebf0991ebc60afebe36b08feae05" @@ -359,7 +365,14 @@ dependencies: "@babel/helper-annotate-as-pure" "7.0.0-beta.40" -"@babel/register@^7.0.0-beta": +"@babel/plugin-transform-unicode-regex@7.0.0-beta.40": + version "7.0.0-beta.40" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0-beta.40.tgz#a956187aad2965d7c095d64b1ae87eba10e0a2c6" + dependencies: + "@babel/helper-regex" "7.0.0-beta.40" + regexpu-core "^4.1.3" + +"@babel/register@7.0.0-beta.40": version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.0.0-beta.40.tgz#40df0bdbb2fe74a7c7b09af3d59b71c8cd53c4da" dependencies: @@ -380,7 +393,7 @@ babylon "7.0.0-beta.36" lodash "^4.2.0" -"@babel/template@7.0.0-beta.40", "@babel/template@^7.0.0-beta": +"@babel/template@7.0.0-beta.40": version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.40.tgz#034988c6424eb5c3268fe6a608626de1f4410fc8" dependencies: @@ -402,7 +415,7 @@ invariant "^2.2.0" lodash "^4.2.0" -"@babel/traverse@7.0.0-beta.40", "@babel/traverse@^7.0.0-beta": +"@babel/traverse@7.0.0-beta.40": version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.40.tgz#d140e449b2e093ef9fe1a2eecc28421ffb4e521e" dependencies: @@ -424,7 +437,7 @@ lodash "^4.2.0" to-fast-properties "^2.0.0" -"@babel/types@7.0.0-beta.40", "@babel/types@^7.0.0-beta": +"@babel/types@7.0.0-beta.40": version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.40.tgz#25c3d7aae14126abe05fcb098c65a66b6d6b8c14" dependencies: @@ -1525,7 +1538,7 @@ babylon@7.0.0-beta.36: version "7.0.0-beta.36" resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.36.tgz#3a3683ba6a9a1e02b0aa507c8e63435e39305b9e" -babylon@7.0.0-beta.40, babylon@^7.0.0-beta: +babylon@7.0.0-beta.40: version "7.0.0-beta.40" resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.40.tgz#91fc8cd56d5eb98b28e6fde41045f2957779940a" @@ -5167,10 +5180,20 @@ redent@^1.0.0: indent-string "^2.1.0" strip-indent "^1.0.1" +regenerate-unicode-properties@^5.1.1: + version "5.1.3" + resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-5.1.3.tgz#54f5891543468f36f2274b67c6bc4c033c27b308" + dependencies: + regenerate "^1.3.3" + regenerate@^1.2.1: version "1.3.2" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260" +regenerate@^1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f" + regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5: version "0.10.5" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" @@ -5215,16 +5238,37 @@ regexpu-core@^2.0.0: regjsgen "^0.2.0" regjsparser "^0.1.4" +regexpu-core@^4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.1.3.tgz#fb81616dbbc2a917a7419b33f8379144f51eb8d0" + dependencies: + regenerate "^1.3.3" + regenerate-unicode-properties "^5.1.1" + regjsgen "^0.3.0" + regjsparser "^0.2.1" + unicode-match-property-ecmascript "^1.0.3" + unicode-match-property-value-ecmascript "^1.0.1" + regjsgen@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" +regjsgen@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.3.0.tgz#0ee4a3e9276430cda25f1e789ea6c15b87b0cb43" + regjsparser@^0.1.4: version "0.1.5" resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" dependencies: jsesc "~0.5.0" +regjsparser@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.2.1.tgz#c3787553faf04e775c302102ef346d995000ec1c" + dependencies: + jsesc "~0.5.0" + remove-trailing-separator@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4" @@ -6069,6 +6113,25 @@ ultron@1.0.x: version "1.0.2" resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa" +unicode-canonical-property-names-ecmascript@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.3.tgz#f6119f417467593c0086357c85546b6ad5abc583" + +unicode-match-property-ecmascript@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.3.tgz#db9b1cb4ffc67e0c5583780b1b59370e4cbe97b9" + dependencies: + unicode-canonical-property-names-ecmascript "^1.0.2" + unicode-property-aliases-ecmascript "^1.0.3" + +unicode-match-property-value-ecmascript@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.1.tgz#fea059120a016f403afd3bf586162b4db03e0604" + +unicode-property-aliases-ecmascript@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.3.tgz#ac3522583b9e630580f916635333e00c5ead690d" + union-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4"