diff --git a/enatega-multivendor-restaurant/package-lock.json b/enatega-multivendor-restaurant/package-lock.json index 744a0b9c..5b1194a2 100644 --- a/enatega-multivendor-restaurant/package-lock.json +++ b/enatega-multivendor-restaurant/package-lock.json @@ -11,7 +11,7 @@ "@react-native-async-storage/async-storage": "1.23.1", "@react-native-community/masked-view": "0.1.11", "@react-navigation/bottom-tabs": "^6.2.0", - "@react-navigation/drawer": "^6.3.1", + "@react-navigation/drawer": "^7.12.7", "@react-navigation/material-top-tabs": "^5.3.19", "@react-navigation/native": "^6.0.8", "@react-navigation/native-stack": "^7.2.1", @@ -5466,22 +5466,56 @@ } }, "node_modules/@react-navigation/drawer": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/@react-navigation/drawer/-/drawer-6.6.2.tgz", - "integrity": "sha512-6qt4guBdz7bkdo/8BLSCcFNdQdSPYyNn05D9cD+VCY3mGThSiD8bRiP9ju+64im7LsSU+bNWXaP8RxA/FtTVQg==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@react-navigation/drawer/-/drawer-7.12.7.tgz", + "integrity": "sha512-MgQXr+Un6mMLnDIPzp89YlroKNij+hRnZhw4kM7wDJW7Z+UPKlowGscLcLrsAT9gGiNdHyluVO1JaoO7c5gKpA==", + "license": "MIT", "dependencies": { - "@react-navigation/elements": "^1.3.17", + "@react-navigation/elements": "^2.9.29", "color": "^4.2.3", - "warn-once": "^0.1.0" + "react-native-drawer-layout": "^4.2.7", + "use-latest-callback": "^0.2.4" }, "peerDependencies": { - "@react-navigation/native": "^6.0.0", - "react": "*", + "@react-navigation/native": "^7.3.7", + "react": ">= 18.2.0", "react-native": "*", - "react-native-gesture-handler": ">= 1.0.0", - "react-native-reanimated": ">= 1.0.0", - "react-native-safe-area-context": ">= 3.0.0", - "react-native-screens": ">= 3.0.0" + "react-native-gesture-handler": ">= 2.0.0", + "react-native-reanimated": ">= 2.0.0", + "react-native-safe-area-context": ">= 4.0.0", + "react-native-screens": ">= 4.0.0" + } + }, + "node_modules/@react-navigation/drawer/node_modules/@react-navigation/elements": { + "version": "2.9.29", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.29.tgz", + "integrity": "sha512-+QpClRQacrwqr4cbHcURJwspuJ6Rmi4GlFQZgqldexDV9e3ZuyGzYNYuIDp2pIBtEKXS18oTGcsdd9XHBaGNnA==", + "license": "MIT", + "dependencies": { + "color": "^4.2.3", + "use-latest-callback": "^0.2.4", + "use-sync-external-store": "^1.5.0" + }, + "peerDependencies": { + "@react-native-masked-view/masked-view": ">= 0.2.0", + "@react-navigation/native": "^7.3.7", + "react": ">= 18.2.0", + "react-native": "*", + "react-native-safe-area-context": ">= 4.0.0" + }, + "peerDependenciesMeta": { + "@react-native-masked-view/masked-view": { + "optional": true + } + } + }, + "node_modules/@react-navigation/drawer/node_modules/use-latest-callback": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz", + "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8" } }, "node_modules/@react-navigation/elements": { @@ -15015,6 +15049,31 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==" }, + "node_modules/react-native-drawer-layout": { + "version": "4.2.7", + "resolved": "https://registry.npmjs.org/react-native-drawer-layout/-/react-native-drawer-layout-4.2.7.tgz", + "integrity": "sha512-hhD+E0QmUPkP2Sj1MsUdrvU7GeOiHChPAFPtKahroTwlBGnpgJsUVSL0GWOy5cG3oCZfnu4Pb+gIzOa4ItGNuA==", + "license": "MIT", + "dependencies": { + "color": "^4.2.3", + "use-latest-callback": "^0.2.4" + }, + "peerDependencies": { + "react": ">= 18.2.0", + "react-native": "*", + "react-native-gesture-handler": ">= 2.0.0", + "react-native-reanimated": ">= 2.0.0" + } + }, + "node_modules/react-native-drawer-layout/node_modules/use-latest-callback": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.6.tgz", + "integrity": "sha512-FvRG9i1HSo0wagmX63Vrm8SnlUU3LMM3WyZkQ76RnslpBrX694AdG4A0zQBx2B3ZifFA0yv/BaEHGBnEax5rZg==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.8" + } + }, "node_modules/react-native-elements": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/react-native-elements/-/react-native-elements-3.4.3.tgz", @@ -17557,6 +17616,15 @@ "react": ">=16.8" } }, + "node_modules/use-sync-external-store": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz", + "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, "node_modules/util": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", diff --git a/enatega-multivendor-restaurant/package.json b/enatega-multivendor-restaurant/package.json index 70416ff5..22a1fa5f 100644 --- a/enatega-multivendor-restaurant/package.json +++ b/enatega-multivendor-restaurant/package.json @@ -38,7 +38,7 @@ "@react-native-async-storage/async-storage": "1.23.1", "@react-native-community/masked-view": "0.1.11", "@react-navigation/bottom-tabs": "^6.2.0", - "@react-navigation/drawer": "^6.3.1", + "@react-navigation/drawer": "^7.12.7", "@react-navigation/material-top-tabs": "^5.3.19", "@react-navigation/native": "^6.0.8", "@react-navigation/native-stack": "^7.2.1",