Browse Source

Update dependencies, fix prettier

Janic Duplessis 4 years ago
parent
commit
dfd2c6a5d4
3 changed files with 2831 additions and 2627 deletions
  1. 19
    19
      package.json
  2. 1
    3
      src/index.tsx
  3. 2811
    2605
      yarn.lock

+ 19
- 19
package.json View File

43
   },
43
   },
44
   "dependencies": {},
44
   "dependencies": {},
45
   "devDependencies": {
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
     "react": "^16.11.0",
61
     "react": "^16.11.0",
62
-    "react-dom": "^16.11.0",
62
+    "react-dom": "^16.12.0",
63
     "react-native": "^0.61.0",
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
   "repository": {
68
   "repository": {
69
     "type": "git",
69
     "type": "git",

+ 1
- 3
src/index.tsx View File

3
 import { EdgeInsets as EdgeInsetsT, InsetChangedEvent } from './SafeArea.types';
3
 import { EdgeInsets as EdgeInsetsT, InsetChangedEvent } from './SafeArea.types';
4
 import NativeSafeAreaView from './NativeSafeAreaView';
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
 export const SafeAreaContext = React.createContext<EdgeInsetsT | null>(null);
8
 export const SafeAreaContext = React.createContext<EdgeInsetsT | null>(null);
11
 
9
 

+ 2811
- 2605
yarn.lock
File diff suppressed because it is too large
View File