diff --git a/enatega-multivendor-restaurant/package-lock.json b/enatega-multivendor-restaurant/package-lock.json index bb5f239..c3af515 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.9", "@react-navigation/native": "^6.0.8", "@react-navigation/native-stack": "^6.5.0", "@sentry/react-native": "~5.22.0", @@ -5175,28 +5175,67 @@ } }, "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.9", + "resolved": "https://registry.npmjs.org/@react-navigation/material-top-tabs/-/material-top-tabs-7.4.9.tgz", + "integrity": "sha512-oYpdTfa2D1Tn0HJER9dRCR260agKGgYe+ydSHt3RIsJ9sLg8hU7ntKYWo1FnEC/Nsv1/N1u/tRst7ZpQRjjl4A==", + "license": "MIT", "dependencies": { - "color": "^3.1.3" + "@react-navigation/elements": "^2.9.2", + "color": "^4.2.3", + "react-native-tab-view": "^4.2.0" }, "peerDependencies": { - "@react-navigation/native": "^5.0.5", - "react": "*", + "@react-navigation/native": "^7.1.25", + "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.9.2", + "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.2.tgz", + "integrity": "sha512-J1GltOAGowNLznEphV/kr4zs0U7mUBO1wVA2CqpkN8ePBsoxrAmsd+T5sEYUCXN9KgTDFvc6IfcDqrGSQngd/g==", + "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.25", + "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/material-top-tabs/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/native": { @@ -17080,6 +17119,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 67b0490..6adb723 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.9", "@react-navigation/native": "^6.0.8", "@react-navigation/native-stack": "^6.5.0", "@sentry/react-native": "~5.22.0",