Skip to content

Commit 4888992

Browse files
committed
Update dependency babel-preset-react-native to v4
1 parent fa56516 commit 4888992

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
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.0",
1818
"jest": "22.4.3",
1919
"react-test-renderer": "15.4.1"
2020
},

yarn.lock

+16-4
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,12 @@ [email protected]:
487487
dependencies:
488488
lodash "^4.6.1"
489489

490+
babel-plugin-react-transform@^3.0.0:
491+
version "3.0.0"
492+
resolved "https://registry.yarnpkg.com/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz#402f25137b7bb66e9b54ead75557dfbc7ecaaa74"
493+
dependencies:
494+
lodash "^4.6.1"
495+
490496
babel-plugin-syntax-async-functions@^6.5.0:
491497
version "6.13.0"
492498
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
@@ -495,6 +501,10 @@ babel-plugin-syntax-class-properties@^6.5.0, babel-plugin-syntax-class-propertie
495501
version "6.13.0"
496502
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
497503

504+
babel-plugin-syntax-dynamic-import@^6.18.0:
505+
version "6.18.0"
506+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
507+
498508
babel-plugin-syntax-flow@^6.18.0, babel-plugin-syntax-flow@^6.5.0, babel-plugin-syntax-flow@^6.8.0:
499509
version "6.18.0"
500510
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
@@ -809,14 +819,15 @@ babel-preset-jest@^22.4.3:
809819
babel-plugin-jest-hoist "^22.4.3"
810820
babel-plugin-syntax-object-rest-spread "^6.13.0"
811821

812-
babel-preset-react-native@1.9.2:
813-
version "1.9.2"
814-
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.2.tgz#b22addd2e355ff3b39671b79be807e52dfa145f2"
822+
babel-preset-react-native@4.0.0:
823+
version "4.0.0"
824+
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-4.0.0.tgz#3df80dd33a453888cdd33bdb87224d17a5d73959"
815825
dependencies:
816826
babel-plugin-check-es2015-constants "^6.5.0"
817-
babel-plugin-react-transform "2.0.2"
827+
babel-plugin-react-transform "^3.0.0"
818828
babel-plugin-syntax-async-functions "^6.5.0"
819829
babel-plugin-syntax-class-properties "^6.5.0"
830+
babel-plugin-syntax-dynamic-import "^6.18.0"
820831
babel-plugin-syntax-flow "^6.5.0"
821832
babel-plugin-syntax-jsx "^6.5.0"
822833
babel-plugin-syntax-trailing-function-commas "^6.5.0"
@@ -841,6 +852,7 @@ [email protected]:
841852
babel-plugin-transform-react-jsx "^6.5.0"
842853
babel-plugin-transform-react-jsx-source "^6.5.0"
843854
babel-plugin-transform-regenerator "^6.5.0"
855+
babel-template "^6.24.1"
844856
react-transform-hmr "^1.0.4"
845857

846858
babel-preset-react-native@^1.9.0:

0 commit comments

Comments
 (0)