Просмотр исходного кода

chore(deps): update react-i18next from 4.8.0 to 7.13.0

None of the breaking changes seemed to affect current
usage of react-i18next and light testing of features
and language switching did not produce issues.

This update is a pre-requisite for removing deprecated react
lifecycle methods, as older versions of react-i18next
have a higher order component that uses the deprecated
componentWillMount, and that issue has been fixed since 7.8.0.
j8
Leonard Kim 7 лет назад
Родитель
Сommit
5ccc397e47
2 измененных файлов: 23 добавлений и 8 удалений
  1. 22
    7
      package-lock.json
  2. 1
    1
      package.json

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

@@ -7460,9 +7460,9 @@
7460 7460
       "dev": true
7461 7461
     },
7462 7462
     "hoist-non-react-statics": {
7463
-      "version": "1.2.0",
7464
-      "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz",
7465
-      "integrity": "sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs="
7463
+      "version": "2.5.5",
7464
+      "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz",
7465
+      "integrity": "sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw=="
7466 7466
     },
7467 7467
     "home-or-tmp": {
7468 7468
       "version": "2.0.0",
@@ -7534,6 +7534,14 @@
7534 7534
       "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=",
7535 7535
       "dev": true
7536 7536
     },
7537
+    "html-parse-stringify2": {
7538
+      "version": "2.0.1",
7539
+      "resolved": "https://registry.npmjs.org/html-parse-stringify2/-/html-parse-stringify2-2.0.1.tgz",
7540
+      "integrity": "sha1-3FZwtyksoVi3vJFsmmc1rIhyg0o=",
7541
+      "requires": {
7542
+        "void-elements": "^2.0.1"
7543
+      }
7544
+    },
7537 7545
     "htmlparser2": {
7538 7546
       "version": "3.8.3",
7539 7547
       "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz",
@@ -11547,11 +11555,13 @@
11547 11555
       }
11548 11556
     },
11549 11557
     "react-i18next": {
11550
-      "version": "4.8.0",
11551
-      "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-4.8.0.tgz",
11552
-      "integrity": "sha1-kvDSgcXzmsjzw/OBVi1SPp2DAlQ=",
11558
+      "version": "7.13.0",
11559
+      "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-7.13.0.tgz",
11560
+      "integrity": "sha512-35M+MZFPqHwVIas7tXWQKFrf+ozCJukNplUTiGqL8mczSk+VRBsHxxXuuQKRkz/4CcWkONGWbp/AzxfM6wZncg==",
11553 11561
       "requires": {
11554
-        "hoist-non-react-statics": "1.2.0"
11562
+        "hoist-non-react-statics": "^2.3.1",
11563
+        "html-parse-stringify2": "2.0.1",
11564
+        "prop-types": "^15.6.0"
11555 11565
       }
11556 11566
     },
11557 11567
     "react-is": {
@@ -15145,6 +15155,11 @@
15145 15155
         "indexof": "0.0.1"
15146 15156
       }
15147 15157
     },
15158
+    "void-elements": {
15159
+      "version": "2.0.1",
15160
+      "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz",
15161
+      "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w="
15162
+    },
15148 15163
     "walker": {
15149 15164
       "version": "1.0.7",
15150 15165
       "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz",

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

@@ -60,7 +60,7 @@
60 60
     "prop-types": "15.6.0",
61 61
     "react": "16.5.0",
62 62
     "react-dom": "16.5.0",
63
-    "react-i18next": "4.8.0",
63
+    "react-i18next": "7.13.0",
64 64
     "react-native": "0.57.1",
65 65
     "react-native-background-timer": "2.0.0",
66 66
     "react-native-calendar-events": "github:wmcmahan/react-native-calendar-events#cb2731db6684a49b4343e09de7f9c2fcc68bcd9b",

Загрузка…
Отмена
Сохранить