Skip to content

Commit ab00991

Browse files
committed
Update dependency babel-preset-react-native to v4
1 parent 224e75f commit ab00991

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": "18.0.0",
17-
"babel-preset-react-native": "1.9.2",
17+
"babel-preset-react-native": "4.0.0",
1818
"jest": "18.1.0",
1919
"react-test-renderer": "15.4.1"
2020
},

yarn.lock

+16-4
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,12 @@ [email protected]:
421421
dependencies:
422422
lodash "^4.6.1"
423423

424+
babel-plugin-react-transform@^3.0.0:
425+
version "3.0.0"
426+
resolved "https://registry.yarnpkg.com/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz#402f25137b7bb66e9b54ead75557dfbc7ecaaa74"
427+
dependencies:
428+
lodash "^4.6.1"
429+
424430
babel-plugin-syntax-async-functions@^6.5.0:
425431
version "6.13.0"
426432
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
@@ -429,6 +435,10 @@ babel-plugin-syntax-class-properties@^6.5.0, babel-plugin-syntax-class-propertie
429435
version "6.13.0"
430436
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
431437

438+
babel-plugin-syntax-dynamic-import@^6.18.0:
439+
version "6.18.0"
440+
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
441+
432442
babel-plugin-syntax-flow@^6.18.0, babel-plugin-syntax-flow@^6.5.0, babel-plugin-syntax-flow@^6.8.0:
433443
version "6.18.0"
434444
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
@@ -742,14 +752,15 @@ babel-preset-jest@^18.0.0:
742752
dependencies:
743753
babel-plugin-jest-hoist "^18.0.0"
744754

745-
babel-preset-react-native@1.9.2:
746-
version "1.9.2"
747-
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.2.tgz#b22addd2e355ff3b39671b79be807e52dfa145f2"
755+
babel-preset-react-native@4.0.0:
756+
version "4.0.0"
757+
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-4.0.0.tgz#3df80dd33a453888cdd33bdb87224d17a5d73959"
748758
dependencies:
749759
babel-plugin-check-es2015-constants "^6.5.0"
750-
babel-plugin-react-transform "2.0.2"
760+
babel-plugin-react-transform "^3.0.0"
751761
babel-plugin-syntax-async-functions "^6.5.0"
752762
babel-plugin-syntax-class-properties "^6.5.0"
763+
babel-plugin-syntax-dynamic-import "^6.18.0"
753764
babel-plugin-syntax-flow "^6.5.0"
754765
babel-plugin-syntax-jsx "^6.5.0"
755766
babel-plugin-syntax-trailing-function-commas "^6.5.0"
@@ -774,6 +785,7 @@ [email protected]:
774785
babel-plugin-transform-react-jsx "^6.5.0"
775786
babel-plugin-transform-react-jsx-source "^6.5.0"
776787
babel-plugin-transform-regenerator "^6.5.0"
788+
babel-template "^6.24.1"
777789
react-transform-hmr "^1.0.4"
778790

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

0 commit comments

Comments
 (0)