Parcourir la source

Update dependencies, fix prettier

Janic Duplessis il y a 4 ans
Parent
révision
dfd2c6a5d4
3 fichiers modifiés avec 2831 ajouts et 2627 suppressions
  1. 19
    19
      package.json
  2. 1
    3
      src/index.tsx
  3. 2811
    2605
      yarn.lock

+ 19
- 19
package.json Voir le fichier

@@ -43,27 +43,27 @@
43 43
   },
44 44
   "dependencies": {},
45 45
   "devDependencies": {
46
-    "@react-native-community/bob": "^0.7.0",
47
-    "@react-native-community/eslint-config": "^0.0.5",
48
-    "@types/jest": "^24.0.21",
49
-    "@types/react": "^16.9.11",
50
-    "@types/react-native": "^0.60.22",
51
-    "@types/react-test-renderer": "^16.9.1",
52
-    "@typescript-eslint/eslint-plugin": "^2.6.0",
53
-    "@typescript-eslint/parser": "^2.6.0",
54
-    "eslint": "6.6.0",
55
-    "eslint-config-prettier": "^6.5.0",
56
-    "eslint-plugin-prettier": "3.1.1",
57
-    "expo": "^35.0.0",
58
-    "jest": "^24.9.0",
59
-    "metro-react-native-babel-preset": "^0.57.0",
60
-    "prettier": "^1.18.2",
46
+    "@react-native-community/bob": "^0.8.0",
47
+    "@react-native-community/eslint-config": "^0.0.7",
48
+    "@types/jest": "^25.1.1",
49
+    "@types/react": "^16.9.19",
50
+    "@types/react-native": "^0.61.10",
51
+    "@types/react-test-renderer": "^16.9.2",
52
+    "@typescript-eslint/eslint-plugin": "^2.19.0",
53
+    "@typescript-eslint/parser": "^2.19.0",
54
+    "eslint": "6.8.0",
55
+    "eslint-config-prettier": "^6.10.0",
56
+    "eslint-plugin-prettier": "3.1.2",
57
+    "expo": "^36.0.2",
58
+    "jest": "^25.1.0",
59
+    "metro-react-native-babel-preset": "^0.58.0",
60
+    "prettier": "^1.19.1",
61 61
     "react": "^16.11.0",
62
-    "react-dom": "^16.11.0",
62
+    "react-dom": "^16.12.0",
63 63
     "react-native": "^0.61.0",
64
-    "react-native-web": "^0.11.7",
65
-    "react-test-renderer": "^16.11.0",
66
-    "typescript": "^3.6.4"
64
+    "react-native-web": "^0.12.0",
65
+    "react-test-renderer": "^16.12.0",
66
+    "typescript": "^3.7.5"
67 67
   },
68 68
   "repository": {
69 69
     "type": "git",

+ 1
- 3
src/index.tsx Voir le fichier

@@ -3,9 +3,7 @@ import { StyleSheet, View, ViewProps } from 'react-native';
3 3
 import { EdgeInsets as EdgeInsetsT, InsetChangedEvent } from './SafeArea.types';
4 4
 import NativeSafeAreaView from './NativeSafeAreaView';
5 5
 
6
-export {
7
-  default as initialWindowSafeAreaInsets,
8
-} from './InitialWindowSafeAreaInsets';
6
+export { default as initialWindowSafeAreaInsets } from './InitialWindowSafeAreaInsets';
9 7
 
10 8
 export const SafeAreaContext = React.createContext<EdgeInsetsT | null>(null);
11 9
 

+ 2811
- 2605
yarn.lock
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier