Mathieu Acthernoene 5 лет назад
Родитель
Сommit
0a411b2c0b
4 измененных файлов: 69 добавлений и 77 удалений
  1. 2
    2
      example/package.json
  2. 20
    28
      example/yarn.lock
  3. 7
    7
      package.json
  4. 40
    40
      yarn.lock

+ 2
- 2
example/package.json Просмотреть файл

@@ -20,8 +20,8 @@
20 20
   "devDependencies": {
21 21
     "@babel/core": "7.6.2",
22 22
     "@babel/runtime": "7.6.2",
23
-    "@types/react": "16.9.3",
24
-    "@types/react-native": "0.60.17",
23
+    "@types/react": "16.9.5",
24
+    "@types/react-native": "0.60.18",
25 25
     "metro-react-native-babel-preset": "0.56.0",
26 26
     "typescript": "3.6.3"
27 27
   }

+ 20
- 28
example/yarn.lock Просмотреть файл

@@ -677,9 +677,9 @@
677 677
   integrity sha512-1dVNHT76Uu5N3eJNTYcvxee+jzX4Z9lfciqRRHCU27ihbUcYi+iSc2iml5Ke1LXe1SyJCLA0+14Jh4tXJgOppA==
678 678
 
679 679
 "@hapi/hoek@8.x.x":
680
-  version "8.2.5"
681
-  resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-8.2.5.tgz#b307d3f1aced22e05bd6a2403c302eaebb577da3"
682
-  integrity sha512-rmGFzok1zR3xZKd5m3ihWdqafXFxvPHoQ/78+AG5URKbEbJiwBBfRgzbu+07W5f3+07JRshw6QqGbVmCp8ntig==
680
+  version "8.3.0"
681
+  resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-8.3.0.tgz#2b9db1cd00f3891005c77b3a8d608b88a6d0aa4d"
682
+  integrity sha512-C0QL9bmgUXTSuf8nDeGrpMjtJG7tPUr8wG6/wxPbP62tGwCwQtdMSJYfESowmY4P3Hn593f+8OzNY5bckcu/LQ==
683 683
 
684 684
 "@hapi/joi@^15.0.3":
685 685
   version "15.1.1"
@@ -839,26 +839,18 @@
839 839
   resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
840 840
   integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==
841 841
 
842
-"@types/react-native@0.60.17":
843
-  version "0.60.17"
844
-  resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.60.17.tgz#3a4c2f3ebe1942fb267bba9374f0533c0ece261c"
845
-  integrity sha512-dvPdLYxrU74bU14GvGV+f1EMjyD6L2iDenEzDfUBWhxn7KKRgkWb289r2EIN+10XqvRP+H7YBgl+AoEHEfkcTA==
842
+"@types/react-native@0.60.18":
843
+  version "0.60.18"
844
+  resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.60.18.tgz#00cee391af17f2f1c0936c2143ffbd97c65fddfb"
845
+  integrity sha512-l/mZQ6r1Y3Owokp00wGZDTiSSkCbGGNscAsuc2ZFa86p1nBmYGot/a5tYvWrw1mRSbUqYb0/J/NqQZwoGoB+3A==
846 846
   dependencies:
847 847
     "@types/prop-types" "*"
848 848
     "@types/react" "*"
849 849
 
850
-"@types/react@*":
851
-  version "16.9.4"
852
-  resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.4.tgz#de8cf5e5e2838659fb78fa93181078469eeb19fc"
853
-  integrity sha512-ItGNmJvQ0IvWt8rbk5PLdpdQhvBVxAaXI9hDlx7UMd8Ie1iMIuwMNiKeTfmVN517CdplpyXvA22X4zm4jGGZnw==
854
-  dependencies:
855
-    "@types/prop-types" "*"
856
-    csstype "^2.2.0"
857
-
858
-"@types/react@16.9.3":
859
-  version "16.9.3"
860
-  resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.3.tgz#6d13251e441a3e67fb60d719d1fc8785b984a2ec"
861
-  integrity sha512-Ogb2nSn+2qQv5opoCv7Ls5yFxtyrdUYxp5G+SWTrlGk7dmFKw331GiezCgEZj9U7QeXJi1CDtws9pdXU1zUL4g==
850
+"@types/react@*", "@types/react@16.9.5":
851
+  version "16.9.5"
852
+  resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.5.tgz#079dabd918b19b32118c25fd00a786bb6d0d5e51"
853
+  integrity sha512-jQ12VMiFOWYlp+j66dghOWcmDDwhca0bnlcTxS4Qz/fh5gi6wpaZDthPEu/Gc/YlAuO87vbiUXL8qKstFvuOaA==
862 854
   dependencies:
863 855
     "@types/prop-types" "*"
864 856
     csstype "^2.2.0"
@@ -1173,9 +1165,9 @@ basic-auth@~2.0.0:
1173 1165
     safe-buffer "5.1.2"
1174 1166
 
1175 1167
 big-integer@^1.6.7:
1176
-  version "1.6.46"
1177
-  resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.46.tgz#e18a75f0515be0f3ad10c0d110e37fa882b3f223"
1178
-  integrity sha512-Vj2TNtZ8Y0XaL6HCkzJiEqfykjtv/9wVCWIutMe+QVIXLPe2tCLEzULtYvcX9WRtmNIj3Jqi5tNjIsR0N4QOsg==
1168
+  version "1.6.47"
1169
+  resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.47.tgz#e1e9320e26c4cc81f64fbf4b3bb20e025bf18e2d"
1170
+  integrity sha512-9t9f7X3as2XGX8b52GqG6ox0GvIdM86LyIXASJnDCFhYNgt+A+MByQZ3W2PyMRZjEvG5f8TEbSPfEotVuMJnQg==
1179 1171
 
1180 1172
 binary-extensions@^1.0.0:
1181 1173
   version "1.13.1"
@@ -1601,9 +1593,9 @@ cross-spawn@^6.0.0:
1601 1593
     which "^1.2.9"
1602 1594
 
1603 1595
 csstype@^2.2.0:
1604
-  version "2.6.6"
1605
-  resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.6.tgz#c34f8226a94bbb10c32cc0d714afdf942291fc41"
1606
-  integrity sha512-RpFbQGUE74iyPgvr46U9t1xoQBM8T4BL8SxrN66Le2xYAPSaDJJKeztV3awugusb3g3G9iL8StmkBBXhcbbXhg==
1596
+  version "2.6.7"
1597
+  resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.7.tgz#20b0024c20b6718f4eda3853a1f5a1cce7f5e4a5"
1598
+  integrity sha512-9Mcn9sFbGBAdmimWb2gLVDtFJzeKtDGIr76TUqmjZrw9LFXBMSU70lcs+C0/7fyCd6iBDqmksUcCOUIkisPHsQ==
1607 1599
 
1608 1600
 dayjs@^1.8.15:
1609 1601
   version "1.8.16"
@@ -3768,9 +3760,9 @@ react-devtools-core@^3.6.3:
3768 3760
     ws "^3.3.1"
3769 3761
 
3770 3762
 react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4:
3771
-  version "16.10.1"
3772
-  resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.10.1.tgz#0612786bf19df406502d935494f0450b40b8294f"
3773
-  integrity sha512-BXUMf9sIOPXXZWqr7+c5SeOKJykyVr2u0UDzEf4LNGc6taGkQe1A9DFD07umCIXz45RLr9oAAwZbAJ0Pkknfaw==
3763
+  version "16.10.2"
3764
+  resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.10.2.tgz#984120fd4d16800e9a738208ab1fba422d23b5ab"
3765
+  integrity sha512-INBT1QEgtcCCgvccr5/86CfD71fw9EPmDxgiJX4I2Ddr6ZsV6iFXsuby+qWJPtmNuMY0zByTsG4468P7nHuNWA==
3774 3766
 
3775 3767
 react-lifecycles-compat@^3.0.4:
3776 3768
   version "3.0.4"

+ 7
- 7
package.json Просмотреть файл

@@ -67,17 +67,17 @@
67 67
     "@babel/core": "7.6.2",
68 68
     "@react-native-community/bob": "0.7.0",
69 69
     "@react-native-community/eslint-config": "0.0.5",
70
-    "@types/react-native": "0.60.17",
71
-    "@typescript-eslint/eslint-plugin": "2.3.1",
72
-    "@typescript-eslint/parser": "2.3.1",
73
-    "eslint": "6.4.0",
70
+    "@types/react-native": "0.60.18",
71
+    "@typescript-eslint/eslint-plugin": "2.3.2",
72
+    "@typescript-eslint/parser": "2.3.2",
73
+    "eslint": "6.5.1",
74 74
     "eslint-config-prettier": "6.3.0",
75 75
     "eslint-plugin-prettier": "3.1.1",
76
-    "husky": "3.0.7",
77
-    "lint-staged": "9.4.0",
76
+    "husky": "3.0.8",
77
+    "lint-staged": "9.4.1",
78 78
     "prettier": "1.18.2",
79 79
     "react": "16.9.0",
80
-    "react-native": "0.61.1",
80
+    "react-native": "0.61.2",
81 81
     "typescript": "3.6.3"
82 82
   }
83 83
 }

+ 40
- 40
yarn.lock Просмотреть файл

@@ -1092,10 +1092,10 @@
1092 1092
   resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.1.tgz#f1a11e7babb0c3cad68100be381d1e064c68f1f6"
1093 1093
   integrity sha512-CFzn9idOEpHrgdw8JsoTkaDDyRWk1jrzIV8djzcgpq0y9tG4B4lFT+Nxh52DVpDXV+n4+NPNv7M1Dj5uMp6XFg==
1094 1094
 
1095
-"@types/react-native@0.60.17":
1096
-  version "0.60.17"
1097
-  resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.60.17.tgz#3a4c2f3ebe1942fb267bba9374f0533c0ece261c"
1098
-  integrity sha512-dvPdLYxrU74bU14GvGV+f1EMjyD6L2iDenEzDfUBWhxn7KKRgkWb289r2EIN+10XqvRP+H7YBgl+AoEHEfkcTA==
1095
+"@types/react-native@0.60.18":
1096
+  version "0.60.18"
1097
+  resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.60.18.tgz#00cee391af17f2f1c0936c2143ffbd97c65fddfb"
1098
+  integrity sha512-l/mZQ6r1Y3Owokp00wGZDTiSSkCbGGNscAsuc2ZFa86p1nBmYGot/a5tYvWrw1mRSbUqYb0/J/NqQZwoGoB+3A==
1099 1099
   dependencies:
1100 1100
     "@types/prop-types" "*"
1101 1101
     "@types/react" "*"
@@ -1125,12 +1125,12 @@
1125 1125
   dependencies:
1126 1126
     "@types/yargs-parser" "*"
1127 1127
 
1128
-"@typescript-eslint/eslint-plugin@2.3.1":
1129
-  version "2.3.1"
1130
-  resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.3.1.tgz#b0b1e6b9b3f84b3e1afbdd338f4194c8ab92db21"
1131
-  integrity sha512-VqVNEsvemviajlaWm03kVMabc6S3xCHGYuY0fReTrIIOZg+3WzB+wfw6fD3KYKerw5lYxmzogmHOZ0i7YKnuwA==
1128
+"@typescript-eslint/eslint-plugin@2.3.2":
1129
+  version "2.3.2"
1130
+  resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.3.2.tgz#7e112ca0bb29044d915baf10163a8199a20f7c69"
1131
+  integrity sha512-tcnpksq1bXzcIRbYLeXkgp6l+ggEMXXUcl1wsSvL807fRtmvVQKygElwEUf4hBA76dNag3VAK1q2m3vd7qJaZA==
1132 1132
   dependencies:
1133
-    "@typescript-eslint/experimental-utils" "2.3.1"
1133
+    "@typescript-eslint/experimental-utils" "2.3.2"
1134 1134
     eslint-utils "^1.4.2"
1135 1135
     functional-red-black-tree "^1.0.1"
1136 1136
     regexpp "^2.0.1"
@@ -1155,23 +1155,23 @@
1155 1155
     "@typescript-eslint/typescript-estree" "1.12.0"
1156 1156
     eslint-scope "^4.0.0"
1157 1157
 
1158
-"@typescript-eslint/experimental-utils@2.3.1":
1159
-  version "2.3.1"
1160
-  resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.3.1.tgz#92f2531d3e7c22e64a2cc10cfe89935deaf00f7c"
1161
-  integrity sha512-FaZEj73o4h6Wd0Lg+R4pZiJGdR0ZYbJr+O2+RbQ1aZjX8bZcfkVDtD+qm74Dv77rfSKkDKE64UTziLBo9UYHQA==
1158
+"@typescript-eslint/experimental-utils@2.3.2":
1159
+  version "2.3.2"
1160
+  resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.3.2.tgz#e50f31264507e6fec7b33840bb6af260c24f4ea8"
1161
+  integrity sha512-t+JGdTT6dRbmvKDlhlVkEueoZa0fhJNfG6z2cpnRPLwm3VwYr2BjR//acJGC1Yza0I9ZNcDfRY7ubQEvvfG6Jg==
1162 1162
   dependencies:
1163 1163
     "@types/json-schema" "^7.0.3"
1164
-    "@typescript-eslint/typescript-estree" "2.3.1"
1164
+    "@typescript-eslint/typescript-estree" "2.3.2"
1165 1165
     eslint-scope "^5.0.0"
1166 1166
 
1167
-"@typescript-eslint/parser@2.3.1":
1168
-  version "2.3.1"
1169
-  resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.3.1.tgz#f2b93b614d9b338825c44e75552a433e2ebf8c33"
1170
-  integrity sha512-ZlWdzhCJ2iZnSp/VBAJ/sowFbyHycIux8t0UEH0JsKgQvfSf7949hLYFMwTXdCMeEnpP1zRTHimrR+YHzs8LIw==
1167
+"@typescript-eslint/parser@2.3.2":
1168
+  version "2.3.2"
1169
+  resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.3.2.tgz#e9b742e191cd1209930da469cde379591ad0af5b"
1170
+  integrity sha512-nq1UQeNGdKdqdgF6Ww+Ov2OidWgiL96+JYdXXZ2rkP/OWyc6KMNSbs6MpRCpI8q+PmDa7hBnHNQIo7w/drYccA==
1171 1171
   dependencies:
1172 1172
     "@types/eslint-visitor-keys" "^1.0.0"
1173
-    "@typescript-eslint/experimental-utils" "2.3.1"
1174
-    "@typescript-eslint/typescript-estree" "2.3.1"
1173
+    "@typescript-eslint/experimental-utils" "2.3.2"
1174
+    "@typescript-eslint/typescript-estree" "2.3.2"
1175 1175
     eslint-visitor-keys "^1.1.0"
1176 1176
 
1177 1177
 "@typescript-eslint/parser@^1.5.0":
@@ -1192,10 +1192,10 @@
1192 1192
     lodash.unescape "4.0.1"
1193 1193
     semver "5.5.0"
1194 1194
 
1195
-"@typescript-eslint/typescript-estree@2.3.1":
1196
-  version "2.3.1"
1197
-  resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.3.1.tgz#62c64f149948473d06a129dc33b4fc76e6c051f9"
1198
-  integrity sha512-9SFhUgFuePJBB6jlLkOPPhMkZNiDCr+S8Ft7yAkkP2c5x5bxPhG3pe/exMiQaF8IGyVMDW6Ul0q4/cZ+uF3uog==
1195
+"@typescript-eslint/typescript-estree@2.3.2":
1196
+  version "2.3.2"
1197
+  resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.3.2.tgz#107414aa04e689fe6f7251eb63fb500217f2b7f4"
1198
+  integrity sha512-eZNEAai16nwyhIVIEaWQlaUgAU3S9CkQ58qvK0+3IuSdLJD3W1PNuehQFMIhW/mTP1oFR9GNoTcLg7gtXz6lzA==
1199 1199
   dependencies:
1200 1200
     glob "^7.1.4"
1201 1201
     is-glob "^4.0.1"
@@ -2342,10 +2342,10 @@ eslint-visitor-keys@^1.1.0:
2342 2342
   resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
2343 2343
   integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
2344 2344
 
2345
-eslint@6.4.0:
2346
-  version "6.4.0"
2347
-  resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.4.0.tgz#5aa9227c3fbe921982b2eda94ba0d7fae858611a"
2348
-  integrity sha512-WTVEzK3lSFoXUovDHEbkJqCVPEPwbhCq4trDktNI6ygs7aO41d4cDT0JFAT5MivzZeVLWlg7vHL+bgrQv/t3vA==
2345
+eslint@6.5.1:
2346
+  version "6.5.1"
2347
+  resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.5.1.tgz#828e4c469697d43bb586144be152198b91e96ed6"
2348
+  integrity sha512-32h99BoLYStT1iq1v2P9uwpyznQ4M2jRiFB6acitKz52Gqn+vPaMDUTB1bYi1WN4Nquj2w+t+bimYUG83DC55A==
2349 2349
   dependencies:
2350 2350
     "@babel/code-frame" "^7.0.0"
2351 2351
     ajv "^6.10.0"
@@ -3059,10 +3059,10 @@ http-errors@~1.7.2:
3059 3059
     statuses ">= 1.5.0 < 2"
3060 3060
     toidentifier "1.0.0"
3061 3061
 
3062
-husky@3.0.7:
3063
-  version "3.0.7"
3064
-  resolved "https://registry.yarnpkg.com/husky/-/husky-3.0.7.tgz#05e869006c7d9a31b27893aeda520e730bd125b9"
3065
-  integrity sha512-fIrkaREoQk6DO8KnSX16Aq7Kg9SxqYYQZH/9b+4AxXyXNNgpJLsc8lWlQCShLus1nbujIyZ/WQZBHGwClohK/w==
3062
+husky@3.0.8:
3063
+  version "3.0.8"
3064
+  resolved "https://registry.yarnpkg.com/husky/-/husky-3.0.8.tgz#8de3fed26ce9b43034ef51013c4ad368b6b74ea8"
3065
+  integrity sha512-HFOsgcyrX3qe/rBuqyTt+P4Gxn5P0seJmr215LAZ/vnwK3jWB3r0ck7swbzGRUbufCf9w/lgHPVbF/YXQALgfQ==
3066 3066
   dependencies:
3067 3067
     chalk "^2.4.2"
3068 3068
     cosmiconfig "^5.2.1"
@@ -3719,10 +3719,10 @@ lines-and-columns@^1.1.6:
3719 3719
   resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
3720 3720
   integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
3721 3721
 
3722
-lint-staged@9.4.0:
3723
-  version "9.4.0"
3724
-  resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-9.4.0.tgz#dd4abcc9a82539fd290aed1584e3241b8f8af687"
3725
-  integrity sha512-jTu1KoGiGTSffM539wK+3igVqDGVsby3KwDBaXL471YndahkjnavLX+R5Nsk49JwklyMo0ZAXay1BaoyA6d2Jw==
3722
+lint-staged@9.4.1:
3723
+  version "9.4.1"
3724
+  resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-9.4.1.tgz#60c0f85745bd398e6460aa7f5adb3cad3a2b862c"
3725
+  integrity sha512-zFRbo1bAJEVf1m33paTTjDVfy2v3lICCqHfmQSgNoI+lWpi7HPG5y/R2Y7Whdce+FKxlZYs/U1sDSx8+nmQdDA==
3726 3726
   dependencies:
3727 3727
     chalk "^2.4.2"
3728 3728
     commander "^2.20.0"
@@ -5101,10 +5101,10 @@ react-is@^16.8.4:
5101 5101
   resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.9.0.tgz#21ca9561399aad0ff1a7701c01683e8ca981edcb"
5102 5102
   integrity sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw==
5103 5103
 
5104
-react-native@0.61.1:
5105
-  version "0.61.1"
5106
-  resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.61.1.tgz#ac2559f78f9e689356fedfa93159026a25313d7d"
5107
-  integrity sha512-FjOhAgzjrPr2BjBITmCY+SHzWxfP/bv5ve3oN6ItoIPsVPjJG2QZE8yeByVdI4TzaZrGHU4Ag7/7hX4j39cj2Q==
5104
+react-native@0.61.2:
5105
+  version "0.61.2"
5106
+  resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.61.2.tgz#987b91b063557f8ebec803fdfea2044a24bdbe4d"
5107
+  integrity sha512-hhd8bYbkkZYHoOndxUwbjJ6Yd9HFn5PvwqqS41uJ1xADdw44rx/svuwmJNA1RKF7jH74uR2jpBViWYGd36zGyg==
5108 5108
   dependencies:
5109 5109
     "@babel/runtime" "^7.0.0"
5110 5110
     "@react-native-community/cli" "^3.0.0-alpha.1"