From b8e1cb6b63eac305c0e5a65179866c25ecd27791 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sat, 8 Apr 2023 16:53:09 +0800 Subject: [PATCH] Changed some packages to versions compatible with expo --- package-lock.json | 140 ++++++++++++++++++---------------------------- package.json | 6 +- 2 files changed, 56 insertions(+), 90 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1642bdf..fe54c43 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "1.0.0", "dependencies": { "@expo/webpack-config": "^18.0.1", - "@react-native-async-storage/async-storage": "^1.18.1", + "@react-native-async-storage/async-storage": "1.17.11", "@react-navigation/drawer": "^6.6.2", "@react-navigation/native": "^6.1.6", - "@reduxjs/toolkit": "^1.9.3", - "axios": "^1.3.4", "@react-navigation/native-stack": "^6.9.12", "@react-navigation/stack": "^6.3.16", + "@reduxjs/toolkit": "^1.9.3", + "axios": "^1.3.4", "expo": "~48.0.5", - "expo-linear-gradient": "^12.1.1", + "expo-linear-gradient": "~12.1.2", "expo-status-bar": "~1.4.4", "react": "18.2.0", "react-dom": "18.2.0", @@ -30,10 +30,10 @@ "react-native-screens": "~3.20.0", "react-native-svg": "13.4.0", "react-native-web": "~0.18.10", + "react-native-webview": "11.26.0", "react-query": "^3.39.3", "react-redux": "^8.0.5", - "redux": "^4.2.1", - "react-native-webview": "^11.26.1" + "redux": "^4.2.1" }, "devDependencies": { "@babel/core": "^7.20.0", @@ -3757,14 +3757,14 @@ } }, "node_modules/@react-native-async-storage/async-storage": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-1.18.1.tgz", - "integrity": "sha512-70aFW8fVCKl+oA1AKPFDpE6s4t9pulj2QeLX+MabEmzfT3urd/3cckv45WJvtocdoIH/oXA3Y+YcCRJCcNa8mA==", + "version": "1.17.11", + "resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-1.17.11.tgz", + "integrity": "sha512-bzs45n5HNcDq6mxXnSsOHysZWn1SbbebNxldBXCQs8dSvF8Aor9KCdpm+TpnnGweK3R6diqsT8lFhX77VX0NFw==", "dependencies": { "merge-options": "^3.0.4" }, "peerDependencies": { - "react-native": "^0.0.0-0 || 0.60 - 0.72 || 1000.0.0" + "react-native": "^0.0.0-0 || 0.60 - 0.71 || 1000.0.0" } }, "node_modules/@react-native-community/cli": { @@ -5037,6 +5037,24 @@ "nanoid": "^3.1.23" } }, + "node_modules/@react-navigation/stack": { + "version": "6.3.16", + "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-6.3.16.tgz", + "integrity": "sha512-KTOn9cNuZ6p154Htbl2DiR95Wl+c7niLPRiGs7gjOkyVDGiaGQF9ODNQTYBDE1OxZGHe/EyYc6T2CbmiItLWDg==", + "dependencies": { + "@react-navigation/elements": "^1.3.17", + "color": "^4.2.3", + "warn-once": "^0.1.0" + }, + "peerDependencies": { + "@react-navigation/native": "^6.0.0", + "react": "*", + "react-native": "*", + "react-native-gesture-handler": ">= 1.0.0", + "react-native-safe-area-context": ">= 3.0.0", + "react-native-screens": ">= 3.0.0" + } + }, "node_modules/@reduxjs/toolkit": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.9.3.tgz", @@ -5060,24 +5078,6 @@ } } }, - "node_modules/@react-navigation/stack": { - "version": "6.3.16", - "resolved": "https://registry.npmjs.org/@react-navigation/stack/-/stack-6.3.16.tgz", - "integrity": "sha512-KTOn9cNuZ6p154Htbl2DiR95Wl+c7niLPRiGs7gjOkyVDGiaGQF9ODNQTYBDE1OxZGHe/EyYc6T2CbmiItLWDg==", - "dependencies": { - "@react-navigation/elements": "^1.3.17", - "color": "^4.2.3", - "warn-once": "^0.1.0" - }, - "peerDependencies": { - "@react-navigation/native": "^6.0.0", - "react": "*", - "react-native": "*", - "react-native-gesture-handler": ">= 1.0.0", - "react-native-safe-area-context": ">= 3.0.0", - "react-native-screens": ">= 3.0.0" - } - }, "node_modules/@segment/loosely-validate-event": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-2.0.0.tgz", @@ -8620,9 +8620,9 @@ } }, "node_modules/expo-linear-gradient": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/expo-linear-gradient/-/expo-linear-gradient-12.1.1.tgz", - "integrity": "sha512-W5WV9+SOlRSog/SLvDbpd0L/7g8WzoOKDE4WHv5wNk6m9iM1K0eAuP+MC+8JzVXoZOOj9OPuh9rkZ4KCzTOM1A==", + "version": "12.1.2", + "resolved": "https://registry.npmjs.org/expo-linear-gradient/-/expo-linear-gradient-12.1.2.tgz", + "integrity": "sha512-e1d6Hq5qsRL8sWutrOuQhuir4vHiRJ1PmvDIL8P33mt51Y8VFTQjTG/mr5qJlT8lUD/ADJfaBLzV7SNqSuDTLQ==", "peerDependencies": { "expo": "*" } @@ -14651,7 +14651,7 @@ } }, "node_modules/react-native-gradle-plugin": { - "version": "0.71.15", + "version": "0.71.17", "resolved": "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.71.17.tgz", "integrity": "sha512-OXXYgpISEqERwjSlaCiaQY6cTY5CH6j73gdkWpK0hedxtiWMWgH+i5TOi4hIGYitm9kQBeyDu+wim9fA8ROFJA==" }, @@ -14689,40 +14689,6 @@ "react-native-webview": ">=7.5.2" } }, - "node_modules/react-native-paper": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/react-native-paper/-/react-native-paper-5.4.0.tgz", - "integrity": "sha512-f1etvm1RZakDH/oKUNH5BSFBysip3dv++Wr63Ng2p0YfG/iH4rzeQ5DVhksHObnIFWPFHRkrPsqcisaUlkl0oA==", - "dependencies": { - "@callstack/react-theme-provider": "^3.0.8", - "color": "^3.1.2", - "use-event-callback": "^0.1.0" - }, - "peerDependencies": { - "react": "*", - "react-native": "*", - "react-native-safe-area-context": "*", - "react-native-vector-icons": "*" - } - }, - "node_modules/react-native-paper/node_modules/color": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", - "dependencies": { - "color-convert": "^1.9.3", - "color-string": "^1.6.0" - } - }, - "node_modules/react-native-pell-rich-editor": { - "version": "1.8.8", - "resolved": "https://registry.npmjs.org/react-native-pell-rich-editor/-/react-native-pell-rich-editor-1.8.8.tgz", - "integrity": "sha512-pPpj3rVEbmOcGbUMiutuQhpxp5HzOQlhVGhZ6B7aWlsliWWDtsi+lu3RXNV+g62PcQ07qDDtZwKOx1fSzff6HQ==", - "peerDependencies": { - "react-native": ">=0.50.0", - "react-native-webview": ">=7.5.2" - } - }, "node_modules/react-native-reanimated": { "version": "2.14.4", "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-2.14.4.tgz", @@ -14850,27 +14816,6 @@ "node": ">=10" } }, - "node_modules/react-native-webview": { - "version": "11.26.1", - "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-11.26.1.tgz", - "integrity": "sha512-hC7BkxOpf+z0UKhxFSFTPAM4shQzYmZHoELa6/8a/MspcjEP7ukYKpuSUTLDywQditT8yI9idfcKvfZDKQExGw==", - "dependencies": { - "escape-string-regexp": "2.0.0", - "invariant": "2.2.4" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - } - }, - "node_modules/react-native-webview/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "engines": { - "node": ">=8" - } - }, "node_modules/react-native-web": { "version": "0.18.12", "resolved": "https://registry.npmjs.org/react-native-web/-/react-native-web-0.18.12.tgz", @@ -14889,6 +14834,27 @@ "react-dom": "^17.0.2 || ^18.0.0" } }, + "node_modules/react-native-webview": { + "version": "11.26.0", + "resolved": "https://registry.npmjs.org/react-native-webview/-/react-native-webview-11.26.0.tgz", + "integrity": "sha512-4T4CKRm8xlaQDz9h/bCMPGAvtkesrhkRWqCX9FDJEzBToaVUIsV0ZOqtC4w/JSnCtFKKYiaC1ReJtCGv+4mFeQ==", + "dependencies": { + "escape-string-regexp": "2.0.0", + "invariant": "2.2.4" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + } + }, + "node_modules/react-native-webview/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "engines": { + "node": ">=8" + } + }, "node_modules/react-native/node_modules/promise": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz", diff --git a/package.json b/package.json index 4cc84dd..ab07ba3 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@expo/webpack-config": "^18.0.1", - "@react-native-async-storage/async-storage": "^1.18.1", + "@react-native-async-storage/async-storage": "1.17.11", "@react-navigation/drawer": "^6.6.2", "@react-navigation/native": "^6.1.6", "@react-navigation/native-stack": "^6.9.12", @@ -18,7 +18,7 @@ "@reduxjs/toolkit": "^1.9.3", "axios": "^1.3.4", "expo": "~48.0.5", - "expo-linear-gradient": "^12.1.1", + "expo-linear-gradient": "~12.1.2", "expo-status-bar": "~1.4.4", "react": "18.2.0", "react-dom": "18.2.0", @@ -30,7 +30,7 @@ "react-native-safe-area-context": "4.5.0", "react-native-screens": "~3.20.0", "react-native-svg": "13.4.0", - "react-native-webview": "^11.26.1", + "react-native-webview": "11.26.0", "react-native-web": "~0.18.10", "react-query": "^3.39.3", "react-redux": "^8.0.5",