Skip to content

Commit 2c3e931

Browse files
Update dependency babel-preset-react-native to v4
1 parent 21240a2 commit 2c3e931

File tree

2 files changed

+55
-7
lines changed

2 files changed

+55
-7
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"babel-jest": "22.4.3",
17-
"babel-preset-react-native": "1.9.2",
17+
"babel-preset-react-native": "4.0.1",
1818
"jest": "22.4.3",
1919
"react-test-renderer": "16.3.2"
2020
},

yarn.lock

+54-6
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,15 @@ babel-generator@^6.19.0, babel-generator@^6.21.0:
346346
lodash "^4.2.0"
347347
source-map "^0.5.0"
348348

349+
babel-helper-builder-binary-assignment-operator-visitor@^6.24.1:
350+
version "6.24.1"
351+
resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664"
352+
integrity sha512-gCtfYORSG1fUMX4kKraymq607FWgMWg+j42IFPc18kFQEsmtaibP4UrqsXt8FlEJle25HUd4tsoDR7H2wDhe9Q==
353+
dependencies:
354+
babel-helper-explode-assignable-expression "^6.24.1"
355+
babel-runtime "^6.22.0"
356+
babel-types "^6.24.1"
357+
349358
babel-helper-builder-react-jsx@^6.8.0:
350359
version "6.21.1"
351360
resolved "https://registry.yarnpkg.com/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.21.1.tgz#c4a24208655be9dc1cccf14d366da176f20645e4"
@@ -373,6 +382,15 @@ babel-helper-define-map@^6.18.0, babel-helper-define-map@^6.8.0:
373382
babel-types "^6.18.0"
374383
lodash "^4.2.0"
375384

385+
babel-helper-explode-assignable-expression@^6.24.1:
386+
version "6.24.1"
387+
resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa"
388+
integrity sha512-qe5csbhbvq6ccry9G7tkXbzNtcDiH4r51rrPUbwwoTzZ18AqxWYRZT6AOmxrpxKnQBW0pYlBI/8vh73Z//78nQ==
389+
dependencies:
390+
babel-runtime "^6.22.0"
391+
babel-traverse "^6.24.1"
392+
babel-types "^6.24.1"
393+
376394
babel-helper-function-name@^6.18.0, babel-helper-function-name@^6.8.0:
377395
version "6.18.0"
378396
resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.18.0.tgz#68ec71aeba1f3e28b2a6f0730190b754a9bf30e6"
@@ -487,6 +505,13 @@ [email protected]:
487505
dependencies:
488506
lodash "^4.6.1"
489507

508+
babel-plugin-react-transform@^3.0.0:
509+
version "3.0.0"
510+
resolved "https://registry.yarnpkg.com/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz#402f25137b7bb66e9b54ead75557dfbc7ecaaa74"
511+
integrity sha512-4vJGddwPiHAOgshzZdGwYy4zRjjIr5SMY7gkOaCyIASjgpcsyLTlZNuB5rHOFoaTvGlhfo8/g4pobXPyHqm/3w==
512+
dependencies:
513+
lodash "^4.6.1"
514+
490515
babel-plugin-syntax-async-functions@^6.5.0:
491516
version "6.13.0"
492517
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
@@ -495,6 +520,16 @@ babel-plugin-syntax-class-properties@^6.5.0, babel-plugin-syntax-class-propertie
495520
version "6.13.0"
496521
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
497522

523+
babel-plugin-syntax-dynamic-import@^6.18.0:
524+
version "6.18.0"
525+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
526+
integrity sha512-MioUE+LfjCEz65Wf7Z/Rm4XCP5k2c+TbMd2Z2JKc7U9uwjBhAfNPE48KC4GTGKhppMeYVepwDBNO/nGY6NYHBA==
527+
528+
babel-plugin-syntax-exponentiation-operator@^6.8.0:
529+
version "6.13.0"
530+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de"
531+
integrity sha512-Z/flU+T9ta0aIEKl1tGEmN/pZiI1uXmCiGFRegKacQfEJzp7iNsKloZmyJlQr+75FCJtiFfGIK03SiCvCt9cPQ==
532+
498533
babel-plugin-syntax-flow@^6.18.0, babel-plugin-syntax-flow@^6.5.0, babel-plugin-syntax-flow@^6.8.0:
499534
version "6.18.0"
500535
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
@@ -664,6 +699,15 @@ babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3-
664699
dependencies:
665700
babel-runtime "^6.0.0"
666701

702+
babel-plugin-transform-exponentiation-operator@^6.5.0:
703+
version "6.24.1"
704+
resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e"
705+
integrity sha512-LzXDmbMkklvNhprr20//RStKVcT8Cu+SQtX18eMHLhjHf2yFzwtQ0S2f0jQ+89rokoNdmwoSqYzAhq86FxlLSQ==
706+
dependencies:
707+
babel-helper-builder-binary-assignment-operator-visitor "^6.24.1"
708+
babel-plugin-syntax-exponentiation-operator "^6.8.0"
709+
babel-runtime "^6.22.0"
710+
667711
babel-plugin-transform-flow-strip-types@^6.18.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0:
668712
version "6.21.0"
669713
resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.21.0.tgz#2eea3f8b5bb234339b47283feac155cfb237b948"
@@ -809,14 +853,16 @@ babel-preset-jest@^22.4.3:
809853
babel-plugin-jest-hoist "^22.4.3"
810854
babel-plugin-syntax-object-rest-spread "^6.13.0"
811855

812-
813-
version "1.9.2"
814-
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.2.tgz#b22addd2e355ff3b39671b79be807e52dfa145f2"
856+
857+
version "4.0.1"
858+
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-4.0.1.tgz#14ff07bdb6c8df9408082c0c18b2ce8e3392e76a"
859+
integrity sha512-uhFXnl1WbEWNG4W8QB/jeQaVXkd0a0AD+wh4D2VqtdRnEyvscahqyHExnwKLU9N0sXRYwDyed4JfbiBtiOSGgA==
815860
dependencies:
816861
babel-plugin-check-es2015-constants "^6.5.0"
817-
babel-plugin-react-transform "2.0.2"
862+
babel-plugin-react-transform "^3.0.0"
818863
babel-plugin-syntax-async-functions "^6.5.0"
819864
babel-plugin-syntax-class-properties "^6.5.0"
865+
babel-plugin-syntax-dynamic-import "^6.18.0"
820866
babel-plugin-syntax-flow "^6.5.0"
821867
babel-plugin-syntax-jsx "^6.5.0"
822868
babel-plugin-syntax-trailing-function-commas "^6.5.0"
@@ -834,13 +880,15 @@ [email protected]:
834880
babel-plugin-transform-es2015-shorthand-properties "^6.5.0"
835881
babel-plugin-transform-es2015-spread "^6.5.0"
836882
babel-plugin-transform-es2015-template-literals "^6.5.0"
883+
babel-plugin-transform-exponentiation-operator "^6.5.0"
837884
babel-plugin-transform-flow-strip-types "^6.5.0"
838885
babel-plugin-transform-object-assign "^6.5.0"
839886
babel-plugin-transform-object-rest-spread "^6.5.0"
840887
babel-plugin-transform-react-display-name "^6.5.0"
841888
babel-plugin-transform-react-jsx "^6.5.0"
842889
babel-plugin-transform-react-jsx-source "^6.5.0"
843890
babel-plugin-transform-regenerator "^6.5.0"
891+
babel-template "^6.24.1"
844892
react-transform-hmr "^1.0.4"
845893

846894
babel-preset-react-native@^1.9.0:
@@ -949,7 +997,7 @@ babel-traverse@^6.16.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-tr
949997
invariant "^2.2.0"
950998
lodash "^4.2.0"
951999

952-
babel-traverse@^6.26.0:
1000+
babel-traverse@^6.24.1, babel-traverse@^6.26.0:
9531001
version "6.26.0"
9541002
resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee"
9551003
dependencies:
@@ -972,7 +1020,7 @@ babel-types@^6.16.0, babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.21
9721020
lodash "^4.2.0"
9731021
to-fast-properties "^1.0.1"
9741022

975-
babel-types@^6.26.0:
1023+
babel-types@^6.24.1, babel-types@^6.26.0:
9761024
version "6.26.0"
9771025
resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497"
9781026
dependencies:

0 commit comments

Comments
 (0)