diff --git a/.pnp.cjs b/.pnp.cjs index 1211e317e..908c635fd 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -38,7 +38,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@react-native-community/eslint-plugin", "npm:1.3.0"],\ ["@react-native/metro-config", "npm:0.72.7"],\ ["@sinonjs/fake-timers", "npm:8.1.0"],\ - ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0"],\ + ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0"],\ ["@turf/along", "npm:6.5.0"],\ ["@turf/distance", "npm:6.5.0"],\ ["@turf/helpers", "npm:6.5.0"],\ @@ -5876,6 +5876,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@sinclair/typebox", "npm:0.27.8"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:29.6.3", {\ + "packageLocation": "./.yarn/cache/@jest-schemas-npm-29.6.3-292730e442-910040425f.zip/node_modules/@jest/schemas/",\ + "packageDependencies": [\ + ["@jest/schemas", "npm:29.6.3"],\ + ["@sinclair/typebox", "npm:0.27.8"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["@jest/source-map", [\ @@ -6135,7 +6143,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@react-native-community/eslint-plugin", "npm:1.3.0"],\ ["@react-native/metro-config", "npm:0.72.7"],\ ["@sinonjs/fake-timers", "npm:8.1.0"],\ - ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0"],\ + ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0"],\ ["@turf/along", "npm:6.5.0"],\ ["@turf/distance", "npm:6.5.0"],\ ["@turf/helpers", "npm:6.5.0"],\ @@ -6733,29 +6741,35 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@testing-library/react-native", [\ - ["npm:8.0.0", {\ - "packageLocation": "./.yarn/cache/@testing-library-react-native-npm-8.0.0-c53d89e22a-15cb8deea5.zip/node_modules/@testing-library/react-native/",\ + ["npm:12.3.0", {\ + "packageLocation": "./.yarn/cache/@testing-library-react-native-npm-12.3.0-798640199d-409b64207b.zip/node_modules/@testing-library/react-native/",\ "packageDependencies": [\ - ["@testing-library/react-native", "npm:8.0.0"]\ + ["@testing-library/react-native", "npm:12.3.0"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0", {\ - "packageLocation": "./.yarn/__virtual__/@testing-library-react-native-virtual-56bdb7e590/0/cache/@testing-library-react-native-npm-8.0.0-c53d89e22a-15cb8deea5.zip/node_modules/@testing-library/react-native/",\ + ["virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0", {\ + "packageLocation": "./.yarn/__virtual__/@testing-library-react-native-virtual-726bbccc36/0/cache/@testing-library-react-native-npm-12.3.0-798640199d-409b64207b.zip/node_modules/@testing-library/react-native/",\ "packageDependencies": [\ - ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:8.0.0"],\ + ["@testing-library/react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:12.3.0"],\ + ["@types/jest", "npm:27.5.2"],\ ["@types/react", "npm:18.2.15"],\ ["@types/react-native", "npm:0.67.8"],\ ["@types/react-test-renderer", null],\ - ["pretty-format", "npm:27.5.1"],\ + ["jest", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:29.6.0"],\ + ["jest-matcher-utils", "npm:29.7.0"],\ + ["pretty-format", "npm:29.7.0"],\ ["react", "npm:18.2.0"],\ ["react-native", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:0.72.1"],\ - ["react-test-renderer", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:18.2.0"]\ + ["react-test-renderer", "virtual:cce37341f1bd47a997e98e1a7d65a55e905402214e20352cf4048df3a7edd8e59456ea74ef47c4f395a6d5154d4005d441272de1beea6bfd91d8e1d39ae76247#npm:18.2.0"],\ + ["redent", "npm:3.0.0"]\ ],\ "packagePeers": [\ + "@types/jest",\ "@types/react-native",\ "@types/react-test-renderer",\ "@types/react",\ + "jest",\ "react-native",\ "react-test-renderer",\ "react"\ @@ -10125,6 +10139,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["diff-sequences", "npm:29.4.3"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:29.6.3", {\ + "packageLocation": "./.yarn/cache/diff-sequences-npm-29.6.3-18ab2c9949-f4914158e1.zip/node_modules/diff-sequences/",\ + "packageDependencies": [\ + ["diff-sequences", "npm:29.6.3"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["dir-glob", [\ @@ -13750,6 +13771,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["pretty-format", "npm:29.6.0"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:29.7.0", {\ + "packageLocation": "./.yarn/cache/jest-diff-npm-29.7.0-0149e01930-08e24a9dd4.zip/node_modules/jest-diff/",\ + "packageDependencies": [\ + ["jest-diff", "npm:29.7.0"],\ + ["chalk", "npm:4.1.2"],\ + ["diff-sequences", "npm:29.6.3"],\ + ["jest-get-type", "npm:29.6.3"],\ + ["pretty-format", "npm:29.7.0"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["jest-docblock", [\ @@ -13823,6 +13855,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["jest-get-type", "npm:29.4.3"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:29.6.3", {\ + "packageLocation": "./.yarn/cache/jest-get-type-npm-29.6.3-500477292e-88ac9102d4.zip/node_modules/jest-get-type/",\ + "packageDependencies": [\ + ["jest-get-type", "npm:29.6.3"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["jest-haste-map", [\ @@ -13900,6 +13939,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["pretty-format", "npm:29.6.0"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:29.7.0", {\ + "packageLocation": "./.yarn/cache/jest-matcher-utils-npm-29.7.0-dfc74b630e-d7259e5f99.zip/node_modules/jest-matcher-utils/",\ + "packageDependencies": [\ + ["jest-matcher-utils", "npm:29.7.0"],\ + ["chalk", "npm:4.1.2"],\ + ["jest-diff", "npm:29.7.0"],\ + ["jest-get-type", "npm:29.6.3"],\ + ["pretty-format", "npm:29.7.0"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["jest-message-util", [\ @@ -17229,6 +17279,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["react-is", "npm:18.2.0"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:29.7.0", {\ + "packageLocation": "./.yarn/cache/pretty-format-npm-29.7.0-7d330b2ea2-032c160238.zip/node_modules/pretty-format/",\ + "packageDependencies": [\ + ["pretty-format", "npm:29.7.0"],\ + ["@jest/schemas", "npm:29.6.3"],\ + ["ansi-styles", "npm:5.2.0"],\ + ["react-is", "npm:18.2.0"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["process-nextick-args", [\ @@ -17731,6 +17791,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["redent", [\ + ["npm:3.0.0", {\ + "packageLocation": "./.yarn/cache/redent-npm-3.0.0-31892f4906-fa1ef20404.zip/node_modules/redent/",\ + "packageDependencies": [\ + ["redent", "npm:3.0.0"],\ + ["indent-string", "npm:4.0.0"],\ + ["strip-indent", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["regenerate", [\ ["npm:1.4.2", {\ "packageLocation": "./.yarn/cache/regenerate-npm-1.4.2-b296c5b63a-3317a09b2f.zip/node_modules/regenerate/",\ diff --git a/package.json b/package.json index 4d76fc703..ef57ee171 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@react-native-community/eslint-plugin": "^1.3.0", "@react-native/metro-config": "^0.72.7", "@sinonjs/fake-timers": "^8.0.1", - "@testing-library/react-native": "^8.0.0", + "@testing-library/react-native": "^12.3.0", "@types/debounce": "^1.2.1", "@types/jest": "^27.4.1", "@types/mapbox__geo-viewport": "^0.4.1", diff --git a/yarn.lock b/yarn.lock index ebce000da..9dd6b2c86 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2437,6 +2437,15 @@ __metadata: languageName: node linkType: hard +"@jest/schemas@npm:^29.6.3": + version: 29.6.3 + resolution: "@jest/schemas@npm:29.6.3" + dependencies: + "@sinclair/typebox": ^0.27.8 + checksum: 910040425f0fc93cd13e68c750b7885590b8839066dfa0cd78e7def07bbb708ad869381f725945d66f2284de5663bbecf63e8fdd856e2ae6e261ba30b1687e93 + languageName: node + linkType: hard + "@jest/source-map@npm:^29.6.0": version: 29.6.0 resolution: "@jest/source-map@npm:29.6.0" @@ -2688,7 +2697,7 @@ __metadata: "@react-native-community/eslint-plugin": ^1.3.0 "@react-native/metro-config": ^0.72.7 "@sinonjs/fake-timers": ^8.0.1 - "@testing-library/react-native": ^8.0.0 + "@testing-library/react-native": ^12.3.0 "@turf/along": 6.5.0 "@turf/distance": 6.5.0 "@turf/helpers": 6.5.0 @@ -3202,16 +3211,22 @@ __metadata: languageName: node linkType: hard -"@testing-library/react-native@npm:^8.0.0": - version: 8.0.0 - resolution: "@testing-library/react-native@npm:8.0.0" +"@testing-library/react-native@npm:^12.3.0": + version: 12.3.0 + resolution: "@testing-library/react-native@npm:12.3.0" dependencies: - pretty-format: ^27.0.0 + jest-matcher-utils: ^29.6.2 + pretty-format: ^29.6.2 + redent: ^3.0.0 peerDependencies: - react: ">=16.0.0" + jest: ">=28.0.0" + react: ">=16.8.0" react-native: ">=0.59" - react-test-renderer: ">=16.0.0" - checksum: 15cb8deea536bcd29d091a23c51dfa36e74a5cf4176fd897e33e318a46bed6306dd9334c90589943c41ae0fc39107d8c36d927f08400fb817303b585a81b2c09 + react-test-renderer: ">=16.8.0" + peerDependenciesMeta: + jest: + optional: true + checksum: 409b64207b4c7319926e5ce590adf84fe7ddb17ebdec4a92d4562c2ddcb3c23d7cf2ffd8f1810ab3241590817296b019869116f6d91f4125b452bb88c90e9031 languageName: node linkType: hard @@ -5674,6 +5689,13 @@ __metadata: languageName: node linkType: hard +"diff-sequences@npm:^29.6.3": + version: 29.6.3 + resolution: "diff-sequences@npm:29.6.3" + checksum: f4914158e1f2276343d98ff5b31fc004e7304f5470bf0f1adb2ac6955d85a531a6458d33e87667f98f6ae52ebd3891bb47d420bb48a5bd8b7a27ee25b20e33aa + languageName: node + linkType: hard + "diff@npm:^5.0.0, diff@npm:^5.1.0": version: 5.1.0 resolution: "diff@npm:5.1.0" @@ -8463,6 +8485,18 @@ __metadata: languageName: node linkType: hard +"jest-diff@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-diff@npm:29.7.0" + dependencies: + chalk: ^4.0.0 + diff-sequences: ^29.6.3 + jest-get-type: ^29.6.3 + pretty-format: ^29.7.0 + checksum: 08e24a9dd43bfba1ef07a6374e5af138f53137b79ec3d5cc71a2303515335898888fa5409959172e1e05de966c9e714368d15e8994b0af7441f0721ee8e1bb77 + languageName: node + linkType: hard + "jest-docblock@npm:^29.4.3": version: 29.4.3 resolution: "jest-docblock@npm:29.4.3" @@ -8532,6 +8566,13 @@ __metadata: languageName: node linkType: hard +"jest-get-type@npm:^29.6.3": + version: 29.6.3 + resolution: "jest-get-type@npm:29.6.3" + checksum: 88ac9102d4679d768accae29f1e75f592b760b44277df288ad76ce5bf038c3f5ce3719dea8aa0f035dac30e9eb034b848ce716b9183ad7cc222d029f03e92205 + languageName: node + linkType: hard + "jest-haste-map@npm:^26.6.2": version: 26.6.2 resolution: "jest-haste-map@npm:26.6.2" @@ -8614,6 +8655,18 @@ __metadata: languageName: node linkType: hard +"jest-matcher-utils@npm:^29.6.2": + version: 29.7.0 + resolution: "jest-matcher-utils@npm:29.7.0" + dependencies: + chalk: ^4.0.0 + jest-diff: ^29.7.0 + jest-get-type: ^29.6.3 + pretty-format: ^29.7.0 + checksum: d7259e5f995d915e8a37a8fd494cb7d6af24cd2a287b200f831717ba0d015190375f9f5dc35393b8ba2aae9b2ebd60984635269c7f8cff7d85b077543b7744cd + languageName: node + linkType: hard + "jest-message-util@npm:^27.5.1": version: 27.5.1 resolution: "jest-message-util@npm:27.5.1" @@ -11647,6 +11700,17 @@ __metadata: languageName: node linkType: hard +"pretty-format@npm:^29.6.2, pretty-format@npm:^29.7.0": + version: 29.7.0 + resolution: "pretty-format@npm:29.7.0" + dependencies: + "@jest/schemas": ^29.6.3 + ansi-styles: ^5.0.0 + react-is: ^18.0.0 + checksum: 032c1602383e71e9c0c02a01bbd25d6759d60e9c7cf21937dde8357aa753da348fcec5def5d1002c9678a8524d5fe099ad98861286550ef44de8808cc61e43b6 + languageName: node + linkType: hard + "process-nextick-args@npm:~2.0.0": version: 2.0.1 resolution: "process-nextick-args@npm:2.0.1" @@ -12023,6 +12087,16 @@ __metadata: languageName: node linkType: hard +"redent@npm:^3.0.0": + version: 3.0.0 + resolution: "redent@npm:3.0.0" + dependencies: + indent-string: ^4.0.0 + strip-indent: ^3.0.0 + checksum: fa1ef20404a2d399235e83cc80bd55a956642e37dd197b4b612ba7327bf87fa32745aeb4a1634b2bab25467164ab4ed9c15be2c307923dd08b0fe7c52431ae6b + languageName: node + linkType: hard + "regenerate-unicode-properties@npm:^10.1.0": version: 10.1.0 resolution: "regenerate-unicode-properties@npm:10.1.0"