diff --git a/enatega-multivendor-restaurant/package-lock.json b/enatega-multivendor-restaurant/package-lock.json index 54a9a5e..22f7808 100644 --- a/enatega-multivendor-restaurant/package-lock.json +++ b/enatega-multivendor-restaurant/package-lock.json @@ -12,7 +12,7 @@ "@react-native-community/masked-view": "0.1.11", "@react-navigation/bottom-tabs": "^6.2.0", "@react-navigation/drawer": "^6.3.1", - "@react-navigation/material-top-tabs": "^5.3.19", + "@react-navigation/material-top-tabs": "^7.4.4", "@react-navigation/native": "^7.0.14", "@react-navigation/native-stack": "^6.5.0", "@sentry/react-native": "~5.22.0", @@ -5353,28 +5353,58 @@ } }, "node_modules/@react-navigation/material-top-tabs": { - "version": "5.3.19", - "resolved": "https://registry.npmjs.org/@react-navigation/material-top-tabs/-/material-top-tabs-5.3.19.tgz", - "integrity": "sha512-I7bEF99THxxcY7kCUZ5pPmwXr6kgo6L2sg3P1YJo+CcBWSGvGiHyNbZXNs15HuKRuFvEuueChNV9n8QuKBWbDA==", + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@react-navigation/material-top-tabs/-/material-top-tabs-7.4.4.tgz", + "integrity": "sha512-8OCT+tW4dlkEPhjmQWFEw867CKTL3och5N9TLt56lA+3pm55x1kljsVO6DF6BxF41iHrhIJIr09UrojVJDr5TQ==", + "license": "MIT", "dependencies": { - "color": "^3.1.3" + "@react-navigation/elements": "^2.8.3", + "color": "^4.2.3", + "react-native-tab-view": "^4.2.0" }, "peerDependencies": { - "@react-navigation/native": "^5.0.5", - "react": "*", + "@react-navigation/native": "^7.1.21", + "react": ">= 18.2.0", "react-native": "*", - "react-native-gesture-handler": ">= 1.0.0", - "react-native-reanimated": ">= 1.0.0", - "react-native-tab-view": ">= 2.0.0" + "react-native-pager-view": ">= 6.0.0", + "react-native-safe-area-context": ">= 4.0.0" } }, - "node_modules/@react-navigation/material-top-tabs/node_modules/color": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "node_modules/@react-navigation/material-top-tabs/node_modules/@react-navigation/elements": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.8.3.tgz", + "integrity": "sha512-0c5nSDPP3bUFujgkSVqqMShaAup3XIxNe1KTK9LSmwKgWEneyo6OPIjIdiEwPlZvJZKi7ag5hDjacQLGwO0LGA==", + "license": "MIT", "dependencies": { - "color-convert": "^1.9.3", - "color-string": "^1.6.0" + "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.1.21", + "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/material-top-tabs/node_modules/react-native-tab-view": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/react-native-tab-view/-/react-native-tab-view-4.2.0.tgz", + "integrity": "sha512-TUbh7Yr0tE/99t1pJQLbQ+4/Px67xkT7/r3AhfV+93Q3WoUira0Lx7yuKUP2C118doqxub8NCLERwcqsHr29nQ==", + "license": "MIT", + "dependencies": { + "use-latest-callback": "^0.2.4" + }, + "peerDependencies": { + "react": ">= 18.2.0", + "react-native": "*", + "react-native-pager-view": ">= 6.0.0" } }, "node_modules/@react-navigation/native": { @@ -17064,18 +17094,18 @@ "integrity": "sha512-EGXjXJZhIHiQMK2pQukuFcL303nskqIRzWvPvV5O8miOfwoUb9G+a/Cld60kUyeaybEI94wvVClT10DtfeAExA==" }, "node_modules/use-latest-callback": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/use-latest-callback/-/use-latest-callback-0.2.3.tgz", - "integrity": "sha512-7vI3fBuyRcP91pazVboc4qu+6ZqM8izPWX9k7cRnT8hbD5svslcknsh3S9BUhaK11OmgTV4oWZZVSeQAiV53SQ==", + "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/use-sync-external-store": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.4.0.tgz", - "integrity": "sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==", + "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" diff --git a/enatega-multivendor-restaurant/package.json b/enatega-multivendor-restaurant/package.json index 2e68ab3..0fe5970 100644 --- a/enatega-multivendor-restaurant/package.json +++ b/enatega-multivendor-restaurant/package.json @@ -39,7 +39,7 @@ "@react-native-community/masked-view": "0.1.11", "@react-navigation/bottom-tabs": "^6.2.0", "@react-navigation/drawer": "^6.3.1", - "@react-navigation/material-top-tabs": "^5.3.19", + "@react-navigation/material-top-tabs": "^7.4.4", "@react-navigation/native": "^7.0.14", "@react-navigation/native-stack": "^6.5.0", "@sentry/react-native": "~5.22.0",