MohGovIL / hamagen-react-native

Israel's Ministry of Health's COVID-19 Exposure Prevention App
https://health.gov.il/
MIT License
508 stars 153 forks source link

Update dependencies in package.json #197

Open emanuelb opened 4 years ago

emanuelb commented 4 years ago

The dependencies in package.json are old. running yarn upgrade --latest result in following changes to package.json file. before committing the change run yarn-deduplicate as described in https://github.com/MohGovIL/hamagen-react-native/issues/196

@@ -10,20 +10,20 @@
     "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
   },
   "dependencies": {
-    "@react-native-community/async-storage": "1.7.1",
-    "@react-native-community/cli": "2.9.0",
+    "@react-native-community/async-storage": "1.9.0",
+    "@react-native-community/cli": "4.7.0",
     "@react-native-community/cookies": "^2.0.8",
     "@react-native-community/masked-view": "^0.1.8",
-    "@react-native-community/netinfo": "5.6.2",
-    "@react-navigation/bottom-tabs": "5.0.3",
-    "@react-navigation/drawer": "5.0.3",
-    "@react-navigation/native": "5.0.3",
-    "@react-navigation/stack": "5.0.3",
-    "@redux-offline/redux-offline": "2.5.2-native.3",
+    "@react-native-community/netinfo": "5.8.0",
+    "@react-navigation/bottom-tabs": "5.2.7",
+    "@react-navigation/drawer": "5.5.0",
+    "@react-navigation/native": "5.1.6",
+    "@react-navigation/stack": "5.2.13",
+    "@redux-offline/redux-offline": "2.5.2",
     "@tmcw/togeojson": "https://github.com/tmcw/togeojson.git",
     "async-lock": "1.2.2",
-    "axios": "0.19.0",
-    "events": "3.0.0",
+    "axios": "0.19.2",
+    "events": "3.1.0",
     "haversine": "1.1.1",
     "latlon-geohash": "02.0.0",
     "lodash": "4.17.15",
@@ -31,29 +31,29 @@
     "lottie-react-native": "03.3.2",
     "moment": "2.24.0",
     "moment-timezone": "0.5.28",
-    "react": "16.9.0",
-    "react-native": "0.61.5",
+    "react": "16.13.1",
+    "react-native": "0.62.2",
     "react-native-animatable": "1.3.3",
-    "react-native-background-fetch": "2.7.1",
-    "react-native-background-geolocation": "3.4.2",
+    "react-native-background-fetch": "3.0.4",
+    "react-native-background-geolocation": "3.6.2",
     "react-native-background-timer": "02.2.0",
-    "react-native-device-info": "5.4.0",
+    "react-native-device-info": "5.5.5",
     "react-native-extra-dimensions-android": "https://github.com/greenyossi/react-native-extra-dimensions-android.git",
     "react-native-firebase": "5.6.0",
-    "react-native-gesture-handler": "1.5.2",
+    "react-native-gesture-handler": "1.6.1",
     "react-native-network-info": "5.2.1",
-    "react-native-permissions": "2.0.10",
-    "react-native-reanimated": "1.4.0",
+    "react-native-permissions": "2.1.3",
+    "react-native-reanimated": "1.8.0",
     "react-native-safe-area-context": "0.7.3",
-    "react-native-screens": "2.0.0-beta.2",
+    "react-native-screens": "2.5.0",
     "react-native-settings": "0.2.3",
     "react-native-sha1": "1.2.3",
     "react-native-splash-screen": "https://github.com/greenyossi/react-native-splash-screen.git",
-    "react-native-sqlite-storage": "4.1.0",
+    "react-native-sqlite-storage": "5.0.0",
     "react-native-uuid-generator": "6.1.1",
-    "react-native-webview": "9.0.1",
-    "react-native-wifi-reborn": "2.4.0",
-    "react-redux": "7.1.3",
+    "react-native-webview": "9.2.2",
+    "react-native-wifi-reborn": "3.1.2",
+    "react-redux": "7.2.0",
     "redux": "4.0.5",
     "redux-thunk": "2.3.0",
     "rn-fetch-blob": "0.12.0",
@@ -62,45 +62,45 @@
     "xmldom": "0.3.0"
   },
   "devDependencies": {
-    "@babel/core": "7.6.2",
-    "@babel/runtime": "7.6.2",
-    "@react-native-community/eslint-config": "0.0.5",
-    "@types/async-lock": "1.1.1",
+    "@babel/core": "7.9.0",
+    "@babel/runtime": "7.9.2",
+    "@react-native-community/eslint-config": "1.1.0",
+    "@types/async-lock": "1.1.2",
     "@types/jest": "^25.1.4",
     "@types/latlon-geohash": "2.0.0",
-    "@types/lodash": "4.14.149",
-    "@types/node": "13.1.0",
-    "@types/react": "16.9.19",
-    "@types/react-native": "0.60.25",
+    "@types/lodash": "4.14.150",
+    "@types/node": "13.13.2",
+    "@types/react": "16.9.34",
+    "@types/react-native": "0.62.3",
     "@types/react-native-background-timer": "02.0.0",
     "@types/react-native-uuid-generator": "4.0.0",
-    "@types/react-redux": "7.1.5",
-    "@types/react-test-renderer": "16.9.1",
+    "@types/react-redux": "7.1.7",
+    "@types/react-test-renderer": "16.9.2",
     "@types/redux-mock-store": "^1.0.2",
     "@types/seedrandom": "^2.4.28",
     "@types/xmldom": "0.1.29",
-    "@typescript-eslint/eslint-plugin": "2.12.0",
-    "@typescript-eslint/parser": "2.12.0",
-    "babel-eslint": "10.0.1",
-    "babel-jest": "24.9.0",
+    "@typescript-eslint/eslint-plugin": "2.29.0",
+    "@typescript-eslint/parser": "2.29.0",
+    "babel-eslint": "10.1.0",
+    "babel-jest": "25.4.0",
     "cross-fetch": "3.0.4",
-    "eslint": "6.5.1",
-    "eslint-config-airbnb": "17.1.0",
+    "eslint": "6.8.0",
+    "eslint-config-airbnb": "18.1.0",
     "eslint-import-resolver-reactnative": "1.0.2",
-    "eslint-plugin-import": "2.17.3",
-    "eslint-plugin-jsx-a11y": "6.2.1",
-    "eslint-plugin-react": "7.13.0",
-    "eslint-plugin-react-hooks": "1.6.0",
+    "eslint-plugin-import": "2.20.2",
+    "eslint-plugin-jsx-a11y": "6.2.3",
+    "eslint-plugin-react": "7.19.0",
+    "eslint-plugin-react-hooks": "3.0.0",
     "jest": "^25.2.4",
     "jest-fetch-mock": "3.0.3",
-    "metro-react-native-babel-preset": "0.56.0",
+    "metro-react-native-babel-preset": "0.59.0",
     "mock-async-storage": "2.2.0",
-    "react-test-renderer": "16.9.0",
+    "react-test-renderer": "16.13.1",
     "redux-mock-store": "^1.5.4",
-    "tslint": "5.17.0",
+    "tslint": "6.1.1",
     "tslint-config-prettier": "1.18.0",
     "tslint-eslint-rules": "5.4.0",
-    "tslint-react": "4.0.0",
-    "typescript": "3.7.3"
+    "tslint-react": "5.0.0",
+    "typescript": "3.8.3"
   }
 }
emanuelb commented 4 years ago

When this issue will be fixed?

here is updated diff after running yarn upgrade --latest:

   "dependencies": {
-    "@react-native-community/async-storage": "1.7.1",
-    "@react-native-community/cli": "2.9.0",
-    "@react-native-community/cookies": "^2.0.8",
+    "@react-native-community/async-storage": "1.11.0",
+    "@react-native-community/cli": "4.10.1",
+    "@react-native-community/cookies": "^4.0.0",
     "@react-native-community/masked-view": "^0.1.8",
-    "@react-native-community/netinfo": "5.6.2",
-    "@react-navigation/bottom-tabs": "5.0.3",
-    "@react-navigation/drawer": "5.4.0",
-    "@react-navigation/native": "5.0.3",
-    "@react-navigation/routers": "5.1.0",
-    "@react-navigation/stack": "5.0.3",
-    "@redux-offline/redux-offline": "2.5.2-native.3",
+    "@react-native-community/netinfo": "5.9.5",
+    "@react-navigation/bottom-tabs": "5.7.3",
+    "@react-navigation/drawer": "5.8.7",
+    "@react-navigation/native": "5.7.2",
+    "@react-navigation/routers": "5.4.10",
+    "@react-navigation/stack": "5.8.0",
+    "@redux-offline/redux-offline": "2.6.0",
     "@tmcw/togeojson": "https://github.com/tmcw/togeojson.git",
-    "async-lock": "1.2.2",
-    "axios": "0.19.0",
-    "events": "3.0.0",
+    "async-lock": "1.2.4",
+    "axios": "0.19.2",
+    "events": "3.2.0",
     "haversine": "1.1.1",
     "jsrsasign": "^8.0.14",
     "latlon-geohash": "2.0.0",
-    "lodash": "4.17.15",
+    "lodash": "4.17.19",
     "logkitty": "0.7.1",
-    "lottie-ios": "3.1.6",
-    "lottie-react-native": "3.3.2",
-    "moment": "2.24.0",
-    "moment-timezone": "0.5.28",
+    "lottie-ios": "3.1.8",
+    "lottie-react-native": "3.5.0",
+    "moment": "2.27.0",
+    "moment-timezone": "0.5.31",
     "random-location": "^1.1.2",
-    "react": "16.9.0",
-    "react-native": "0.61.5",
+    "react": "16.13.1",
+    "react-native": "0.63.2",
     "react-native-animatable": "1.3.3",
-    "react-native-background-fetch": "2.7.1",
-    "react-native-background-geolocation": "3.4.2",
-    "react-native-background-timer": "2.2.0",
+    "react-native-background-fetch": "3.1.0",
+    "react-native-background-geolocation": "3.8.1",
+    "react-native-background-timer": "2.3.1",
     "react-native-bluetooth-state-manager": "https://github.com/greenyossi/react-native-bluetooth-state-manager.git",
-    "react-native-common-intents": "^0.2.0",
-    "react-native-device-info": "5.4.0",
+    "react-native-common-intents": "^0.3.0",
+    "react-native-device-info": "5.6.3",
     "react-native-disable-battery-optimizations-android": "^1.0.7",
     "react-native-extra-dimensions-android": "https://github.com/greenyossi/react-native-extra-dimensions-android.git",
     "react-native-firebase": "5.6.0",
-    "react-native-gesture-handler": "1.5.2",
+    "react-native-gesture-handler": "1.7.0",
     "react-native-maps": "0.27.1",
     "react-native-network-info": "5.2.1",
     "react-native-permissions": "2.1.5",
-    "react-native-reanimated": "1.4.0",
-    "react-native-safe-area-context": "0.7.3",
-    "react-native-screens": "2.0.0-beta.2",
+    "react-native-reanimated": "1.10.1",
+    "react-native-safe-area-context": "3.1.1",
+    "react-native-screens": "2.9.0",
     "react-native-settings": "0.2.3",
     "react-native-sha1": "1.2.3",
     "react-native-splash-screen": "https://github.com/greenyossi/react-native-splash-screen.git",
-    "react-native-sqlite-storage": "4.1.0",
+    "react-native-sqlite-storage": "5.0.0",
     "react-native-uuid-generator": "^6.1.1",
-    "react-native-webview": "^9.4.0",
-    "react-native-wifi-reborn": "2.4.0",
-    "react-redux": "7.1.3",
+    "react-native-webview": "^10.3.3",
+    "react-native-wifi-reborn": "4.2.0",
+    "react-redux": "7.2.1",
     "redux": "4.0.5",
     "redux-thunk": "2.3.0",
     "rn-contact-tracing": "https://github.com/MohGovIL/rn-contact-tracing.git#IOS_battery_opt",
@@ -73,47 +73,47 @@
     "xmldom": "0.3.0"
   },
   "devDependencies": {
-    "@babel/core": "7.6.2",
-    "@babel/runtime": "7.6.2",
-    "@react-native-community/eslint-config": "0.0.5",
-    "@types/async-lock": "1.1.1",
-    "@types/jest": "^25.1.4",
+    "@babel/core": "7.11.0",
+    "@babel/runtime": "7.11.0",
+    "@react-native-community/eslint-config": "2.0.0",
+    "@types/async-lock": "1.1.2",
+    "@types/jest": "^26.0.8",
     "@types/jsrsasign": "^8.0.2",
     "@types/latlon-geohash": "2.0.0",
-    "@types/lodash": "4.14.149",
-    "@types/node": "13.1.0",
-    "@types/react": "16.9.19",
-    "@types/react-native": "0.60.25",
+    "@types/lodash": "4.14.158",
+    "@types/node": "14.0.27",
+    "@types/react": "16.9.44",
+    "@types/react-native": "0.63.3",
     "@types/react-native-background-timer": "2.0.0",
-    "@types/react-native-sqlite-storage": "^3.3.2",
+    "@types/react-native-sqlite-storage": "^5.0.0",
     "@types/react-native-uuid-generator": "4.0.0",
-    "@types/react-redux": "7.1.5",
-    "@types/react-test-renderer": "16.9.1",
+    "@types/react-redux": "7.1.9",
+    "@types/react-test-renderer": "16.9.2",
     "@types/redux-mock-store": "^1.0.2",
     "@types/seedrandom": "^2.4.28",
-    "@types/xmldom": "0.1.29",
-    "@typescript-eslint/eslint-plugin": "2.12.0",
-    "@typescript-eslint/parser": "2.12.0",
-    "babel-eslint": "10.0.1",
-    "babel-jest": "24.9.0",
-    "cross-fetch": "3.0.4",
-    "eslint": "6.5.1",
-    "eslint-config-airbnb": "17.1.0",
+    "@types/xmldom": "0.1.30",
+    "@typescript-eslint/eslint-plugin": "3.7.1",
+    "@typescript-eslint/parser": "3.7.1",
+    "babel-eslint": "10.1.0",
+    "babel-jest": "26.2.2",
+    "cross-fetch": "3.0.5",
+    "eslint": "7.6.0",
+    "eslint-config-airbnb": "18.2.0",
     "eslint-import-resolver-reactnative": "1.0.2",
-    "eslint-plugin-import": "2.17.3",
-    "eslint-plugin-jsx-a11y": "6.2.1",
-    "eslint-plugin-react": "7.13.0",
-    "eslint-plugin-react-hooks": "1.6.0",
-    "jest": "^25.2.4",
+    "eslint-plugin-import": "2.22.0",
+    "eslint-plugin-jsx-a11y": "6.3.1",
+    "eslint-plugin-react": "7.20.5",
+    "eslint-plugin-react-hooks": "4.0.8",
+    "jest": "^26.2.2",
     "jest-fetch-mock": "3.0.3",
-    "metro-react-native-babel-preset": "0.56.0",
+    "metro-react-native-babel-preset": "0.61.0",
     "mock-async-storage": "2.2.0",
-    "react-test-renderer": "16.9.0",
+    "react-test-renderer": "16.13.1",
     "redux-mock-store": "^1.5.4",
-    "tslint": "5.17.0",
+    "tslint": "6.1.3",
     "tslint-config-prettier": "1.18.0",
     "tslint-eslint-rules": "5.4.0",
-    "tslint-react": "4.0.0",
-    "typescript": "3.8.3"
+    "tslint-react": "5.0.0",
+    "typescript": "3.9.7"