Browse Source

Updated libraries

Arnaud Vergnet 1 year ago
parent
commit
ddfac76f4e
2 changed files with 19 additions and 21 deletions
  1. 17
    19
      package.json
  2. 2
    2
      src/components/Home/ActionsDashboardItem.js

+ 17
- 19
package.json View File

@@ -21,13 +21,12 @@
21 21
   "dependencies": {
22 22
     "@nartc/react-native-barcode-mask": "^1.1.9",
23 23
     "@react-native-community/async-storage": "^1.9.0",
24
-    "@react-native-community/masked-view": "0.1.6",
24
+    "@react-native-community/masked-view": "^0.1.10",
25 25
     "@react-native-community/push-notification-ios": "^1.1.1",
26 26
     "@react-native-community/slider": "^2.0.9",
27
-    "@react-navigation/bottom-tabs": "^5.1.1",
28
-    "@react-navigation/drawer": "^5.1.1",
29
-    "@react-navigation/native": "^5.0.9",
30
-    "@react-navigation/stack": "^5.1.1",
27
+    "@react-navigation/bottom-tabs": "^5.3.2",
28
+    "@react-navigation/native": "^5.2.2",
29
+    "@react-navigation/stack": "^5.2.17",
31 30
     "i18n-js": "^3.3.0",
32 31
     "react": "~16.9.0",
33 32
     "react-dom": "16.9.0",
@@ -45,30 +44,29 @@
45 44
     "react-native-linear-gradient": "^2.5.6",
46 45
     "react-native-localize": "^1.4.0",
47 46
     "react-native-modalize": "^1.3.6",
48
-    "react-native-paper": "^3.8.0",
49
-    "react-native-permissions": "^2.1.3",
50
-    "react-native-push-notification": "^3.3.0",
51
-    "react-native-reanimated": "~1.7.0",
47
+    "react-native-paper": "^3.9.0",
48
+    "react-native-permissions": "^2.1.4",
49
+    "react-native-push-notification": "^3.3.1",
50
+    "react-native-reanimated": "^1.8.0",
52 51
     "react-native-render-html": "^4.1.2",
53 52
     "react-native-safe-area-context": "0.7.3",
54
-    "react-native-screens": "~2.2.0",
53
+    "react-native-screens": "^2.7.0",
55 54
     "react-native-splash-screen": "^3.2.0",
56 55
     "react-native-vector-icons": "^6.6.0",
57
-    "react-native-web": "~0.11.7",
58
-    "react-native-webview": "8.1.1",
56
+    "react-native-webview": "^9.4.0",
59 57
     "react-navigation-collapsible": "^5.5.0",
60 58
     "react-navigation-header-buttons": "^3.0.5"
61 59
   },
62 60
   "devDependencies": {
63
-    "@babel/core": "^7.6.2",
64
-    "@babel/runtime": "^7.6.2",
65
-    "@react-native-community/eslint-config": "^0.0.5",
66
-    "babel-jest": "^24.9.0",
61
+    "@babel/core": "^7.9.6",
62
+    "@babel/runtime": "^7.9.6",
63
+    "@react-native-community/eslint-config": "^1.1.0",
64
+    "babel-jest": "^25.5.1",
67 65
     "eslint": "^6.5.1",
68
-    "flow-bin": "^0.122.0",
69
-    "jest": "^24.9.0",
66
+    "flow-bin": "^0.123.0",
67
+    "jest": "^25.5.3",
70 68
     "jest-extended": "^0.11.5",
71
-    "metro-react-native-babel-preset": "^0.58.0",
69
+    "metro-react-native-babel-preset": "^0.59.0",
72 70
     "react-test-renderer": "16.9.0"
73 71
   }
74 72
 }

+ 2
- 2
src/components/Home/ActionsDashboardItem.js View File

@@ -3,14 +3,14 @@
3 3
 import * as React from 'react';
4 4
 import {Avatar, Card, List, withTheme} from 'react-native-paper';
5 5
 import {StyleSheet, View} from "react-native";
6
-import {DrawerNavigationProp} from "@react-navigation/drawer";
7 6
 import type {CustomTheme} from "../../managers/ThemeManager";
8 7
 import i18n from 'i18n-js';
8
+import {StackNavigationProp} from "@react-navigation/stack";
9 9
 
10 10
 const ICON_AMICALE = require("../../../assets/amicale.png");
11 11
 
12 12
 type Props = {
13
-    navigation: DrawerNavigationProp,
13
+    navigation: StackNavigationProp,
14 14
     theme: CustomTheme,
15 15
     isLoggedIn: boolean,
16 16
 }

Loading…
Cancel
Save