From e9ee1acb16f6658b15d99188c76e17878758ec4e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:51:20 +0000 Subject: [PATCH] Update react-navigation monorepo to v7 --- package.json | 4 +- pnpm-lock.yaml | 112 +++++++++++++++++++++++++++++++++---------------- 2 files changed, 77 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index f3c1fce..9246322 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "@expo/xcpretty": "4.3.1", "@react-native-async-storage/async-storage": "1.18.2", "@react-native-community/masked-view": "0.1.11", - "@react-navigation/native": "6.1.18", - "@react-navigation/native-stack": "6.11.0", + "@react-navigation/native": "7.0.3", + "@react-navigation/native-stack": "7.1.0", "expo": "49.0.22", "expo-constants": "~14.4.2", "expo-image-picker": "~14.3.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cebdc14..280d32d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,11 +21,11 @@ importers: specifier: 0.1.11 version: 0.1.11(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) '@react-navigation/native': - specifier: 6.1.18 - version: 6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) + specifier: 7.0.3 + version: 7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) '@react-navigation/native-stack': - specifier: 6.11.0 - version: 6.11.0(@react-navigation/native@6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-screens@3.22.1(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) + specifier: 7.1.0 + version: 7.1.0(@react-navigation/native@7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-screens@3.22.1(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) expo: specifier: 49.0.22 version: 49.0.22(@babel/core@7.23.9) @@ -1273,36 +1273,40 @@ packages: peerDependencies: react-native: '*' - '@react-navigation/core@6.4.17': - resolution: {integrity: sha512-Nd76EpomzChWAosGqWOYE3ItayhDzIEzzZsT7PfGcRFDgW5miHV2t4MZcq9YIK4tzxZjVVpYbIynOOQQd1e0Cg==} + '@react-navigation/core@7.0.3': + resolution: {integrity: sha512-BYfsHuPT/Z50CWw1chTPBzlIG+y/sTQEYXPAN+WvHkS2UbCFvJ3zN/wYfb08RFcyX8+5cYdiZAfC4Ui8hJjJ/A==} peerDependencies: react: '*' - '@react-navigation/elements@1.3.31': - resolution: {integrity: sha512-bUzP4Awlljx5RKEExw8WYtif8EuQni2glDaieYROKTnaxsu9kEIA515sXQgUDZU4Ob12VoL7+z70uO3qrlfXcQ==} + '@react-navigation/elements@2.1.0': + resolution: {integrity: sha512-MTSSv5cKIITA8oN1lpAuGUsetv6i6xIeMpdzmuGSYc2ZIPN7z5t9dKxqG/dK29VKcLzkdEojIfpVh4IbEKKczw==} peerDependencies: - '@react-navigation/native': ^6.0.0 - react: '*' + '@react-native-masked-view/masked-view': '>= 0.2.0' + '@react-navigation/native': ^7.0.3 + react: '>= 18.2.0' react-native: '*' - react-native-safe-area-context: '>= 3.0.0' + react-native-safe-area-context: '>= 4.0.0' + peerDependenciesMeta: + '@react-native-masked-view/masked-view': + optional: true - '@react-navigation/native-stack@6.11.0': - resolution: {integrity: sha512-U5EcUB9Q2NQspCFwYGGNJm0h6wBCOv7T30QjndmvlawLkNt7S7KWbpWyxS9XBHSIKF57RgWjfxuJNTgTstpXxw==} + '@react-navigation/native-stack@7.1.0': + resolution: {integrity: sha512-9wp5YLFbT1TbIVCGN1B20TRRrA79UR3urhdNljbyHLxBHCB0DXCrY8asDC/l2ecTJCYVqNFLbRgPgSHYTBblfw==} peerDependencies: - '@react-navigation/native': ^6.0.0 - react: '*' + '@react-navigation/native': ^7.0.3 + react: '>= 18.2.0' react-native: '*' - react-native-safe-area-context: '>= 3.0.0' - react-native-screens: '>= 3.0.0' + react-native-safe-area-context: '>= 4.0.0' + react-native-screens: '>= 4.0.0' - '@react-navigation/native@6.1.18': - resolution: {integrity: sha512-mIT9MiL/vMm4eirLcmw2h6h/Nm5FICtnYSdohq4vTLA2FF/6PNhByM7s8ffqoVfE5L0uAa6Xda1B7oddolUiGg==} + '@react-navigation/native@7.0.3': + resolution: {integrity: sha512-GzHvM8HgCjLW+314+gFv2ElN6di4q4KUI7TxQ62lpZc2moi9p8Z78/mTHJ7DZeYjit0Z5ISF9Le+kFhH68avMw==} peerDependencies: - react: '*' + react: '>= 18.2.0' react-native: '*' - '@react-navigation/routers@6.1.9': - resolution: {integrity: sha512-lTM8gSFHSfkJvQkxacGM6VJtBt61ip2XO54aNfswD+KMw6eeZ4oehl7m0me3CR9hnDE4+60iAZR8sAhvCiI3NA==} + '@react-navigation/routers@7.0.0': + resolution: {integrity: sha512-b2ehNmgAfDziTd0EERm0C9JI9JH1kdRS4SNBWbKQOVPv23WG+5ExovwWet26sGtMabLJ5lxSE8Z2/fByfggjNQ==} '@segment/loosely-validate-event@2.0.0': resolution: {integrity: sha512-ZMCSfztDBqwotkl848ODgVcAmN4OItEWDCkshcKz0/W6gGSQayuuCtWV/MlodFivAZD793d6UgANd6wCXUfrIw==} @@ -1999,6 +2003,13 @@ packages: color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + color-string@1.9.1: + resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} + + color@4.2.3: + resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} + engines: {node: '>=12.5.0'} + colorette@1.4.0: resolution: {integrity: sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==} @@ -3131,6 +3142,9 @@ packages: is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + is-arrayish@0.3.2: + resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} + is-async-function@2.0.0: resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} engines: {node: '>= 0.4'} @@ -4826,6 +4840,9 @@ packages: simple-plist@1.3.1: resolution: {integrity: sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==} + simple-swizzle@0.2.2: + resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} + sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -5368,8 +5385,8 @@ packages: peerDependencies: react: '>=16.8' - use-sync-external-store@1.2.0: - resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} + use-sync-external-store@1.2.2: + resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -7405,43 +7422,48 @@ snapshots: nullthrows: 1.1.1 react-native: 0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0) - '@react-navigation/core@6.4.17(react@18.2.0)': + '@react-navigation/core@7.0.3(react@18.2.0)': dependencies: - '@react-navigation/routers': 6.1.9 + '@react-navigation/routers': 7.0.0 escape-string-regexp: 4.0.0 nanoid: 3.3.7 query-string: 7.1.3 react: 18.2.0 - react-is: 16.13.1 + react-is: 18.2.0 use-latest-callback: 0.2.1(react@18.2.0) + use-sync-external-store: 1.2.2(react@18.2.0) - '@react-navigation/elements@1.3.31(@react-navigation/native@6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0)': + '@react-navigation/elements@2.1.0(@react-navigation/native@7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0)': dependencies: - '@react-navigation/native': 6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) + '@react-navigation/native': 7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) + color: 4.2.3 react: 18.2.0 react-native: 0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0) react-native-safe-area-context: 4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) - '@react-navigation/native-stack@6.11.0(@react-navigation/native@6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-screens@3.22.1(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0)': + '@react-navigation/native-stack@7.1.0(@react-navigation/native@7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-screens@3.22.1(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0)': dependencies: - '@react-navigation/elements': 1.3.31(@react-navigation/native@6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) - '@react-navigation/native': 6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) + '@react-navigation/elements': 2.1.0(@react-navigation/native@7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native-safe-area-context@4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0))(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) + '@react-navigation/native': 7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) react: 18.2.0 react-native: 0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0) react-native-safe-area-context: 4.6.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) react-native-screens: 3.22.1(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0) warn-once: 0.1.1 + transitivePeerDependencies: + - '@react-native-masked-view/masked-view' - '@react-navigation/native@6.1.18(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0)': + '@react-navigation/native@7.0.3(react-native@0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0))(react@18.2.0)': dependencies: - '@react-navigation/core': 6.4.17(react@18.2.0) + '@react-navigation/core': 7.0.3(react@18.2.0) escape-string-regexp: 4.0.0 fast-deep-equal: 3.1.3 nanoid: 3.3.7 react: 18.2.0 react-native: 0.72.10(@babel/core@7.23.9)(@babel/preset-env@7.23.9(@babel/core@7.23.9))(react@18.2.0) + use-latest-callback: 0.2.1(react@18.2.0) - '@react-navigation/routers@6.1.9': + '@react-navigation/routers@7.0.0': dependencies: nanoid: 3.3.7 @@ -8301,6 +8323,16 @@ snapshots: color-name@1.1.4: {} + color-string@1.9.1: + dependencies: + color-name: 1.1.4 + simple-swizzle: 0.2.2 + + color@4.2.3: + dependencies: + color-convert: 2.0.1 + color-string: 1.9.1 + colorette@1.4.0: {} combined-stream@1.0.8: @@ -9730,6 +9762,8 @@ snapshots: is-arrayish@0.2.1: {} + is-arrayish@0.3.2: {} + is-async-function@2.0.0: dependencies: has-tostringtag: 1.0.2 @@ -11462,7 +11496,7 @@ snapshots: regenerator-runtime: 0.13.11 scheduler: 0.24.0-canary-efb381bbf-20230505 stacktrace-parser: 0.1.10 - use-sync-external-store: 1.2.0(react@18.2.0) + use-sync-external-store: 1.2.2(react@18.2.0) whatwg-fetch: 3.6.20 ws: 6.2.3 yargs: 17.7.2 @@ -11822,6 +11856,10 @@ snapshots: bplist-parser: 0.3.1 plist: 3.1.0 + simple-swizzle@0.2.2: + dependencies: + is-arrayish: 0.3.2 + sisteransi@1.0.5: {} slash@3.0.0: {} @@ -12351,7 +12389,7 @@ snapshots: dependencies: react: 18.2.0 - use-sync-external-store@1.2.0(react@18.2.0): + use-sync-external-store@1.2.2(react@18.2.0): dependencies: react: 18.2.0