From ac3db340799a175f17f0c8bc985fe9e72426fd51 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 28 Sep 2026 21:34:28 +0200 Subject: [PATCH] fix: fix map rendering in react strict mode --- next.config.js | 7 +- package.json | 90 ++++++++++++++- patches/react-leaflet-cluster+2.1.0.patch | 19 ++++ src/components/Map.tsx | 2 + yarn.lock | 131 +++++++++++++++++++++- 5 files changed, 243 insertions(+), 6 deletions(-) create mode 100644 patches/react-leaflet-cluster+2.1.0.patch diff --git a/next.config.js b/next.config.js index 084b28d..574e2a7 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,10 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + // react-leaflet v4 creates maps in a render-phase ref callback, which breaks + // under React dev StrictMode's double-mount ("Map container is already + // initialized"). StrictMode only runs in dev, so production is unaffected. + reactStrictMode: false, +}; const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: process.env.ANALYZE === "true", diff --git a/package.json b/package.json index 2e699b9..b3f2f1e 100644 --- a/package.json +++ b/package.json @@ -1 +1,89 @@ -{ "name": "client", "version": "0.1.0", "private": true, "scripts": { "test": "vitest --config vitetest.config.ts", "dev": "next dev", "build": "next build --webpack", "start": "next start", "lint": "eslint .", "typeCheck": "tsc -p ./tsconfig.json", "format": "prettier --check \"**/*.{js,jsx,ts,tsx}\"", "format:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\"" }, "dependencies": { "@auth/mongodb-adapter": "^3.5.2", "@headlessui/react": "^2.1.8", "@headlessui/tailwindcss": "^0.2.1", "@hookform/resolvers": "^3.9.0", "@infra-blocks/zod-utils": "^0.4.2", "@next/bundle-analyzer": "^16.3.6", "@serwist/next": "^9.5.12", "@socialgouv/matomo-next": "^1.10.0", "@tanstack/react-query": "^5.29.0", "@trivago/prettier-plugin-sort-imports": "^4.2.0", "@turf/boolean-point-in-polygon": "^7.0.0-alpha.114", "@types/node": "^22.7.2", "autoprefixer": "^10.4.16", "class-variance-authority": "^0.7.0", "date-fns": "^4.1.0", "geojson": "^0.5.0", "jotai": "^2.6.1", "leaflet": "^1.9.4", "leaflet-defaulticon-compatibility": "^0.1.2", "leaflet-draw": "^1.0.4", "leaflet-gesture-handling": "^1.2.2", "leaflet.markercluster": "^1.5.3", "leaflet.smooth_marker_bouncing": "3.0.3", "lodash": "^4.17.21", "mongodb": "^7.0.0", "next": "^16.3.6", "next-auth": "^5.0.0-beta.32", "next-intl": "^4.14.7", "next-safe-action": "^7.9.3", "nodemailer": "^6.9.12", "postcss": "^8.4.47", "react": "^19.3.0", "react-date-range": "^2.0.1", "react-datepicker": "^7.4.0", "react-dom": "^19.3.0", "react-hook-form": "^7.46.1", "react-icons": "^5.3.0", "react-input-mask": "^2.0.4", "react-leaflet": "^4.2.1", "react-leaflet-cluster": "^2.1.0", "react-leaflet-draw": "^0.20.4", "react-select": "^5.7.4", "react-tooltip": "^5.18.0", "serwist": "^9.5.12", "sharp": "^0.33.0", "superjson": "^2.2.1", "tailwind-merge": "^2.0.0", "tailwindcss": "^3.3.5", "typescript": "^5.3.3", "vitest": "^4.0.12", "zod": "^3.22.4" }, "devDependencies": { "@swc-jotai/react-refresh": "^0.2.0", "@tailwindcss/forms": "^0.5.4", "@tailwindcss/typography": "^0.5.15", "@testing-library/jest-dom": "^6.1.2", "@types/leaflet": "^1.9.12", "@types/lodash": "^4.14.195", "@types/nodemailer": "^6.4.8", "@types/react": "^19.3.0", "@types/react-date-range": "^1.4.9", "@types/react-dom": "^19.3.0", "@types/react-input-mask": "^3.0.2", "eslint": "^9.0.0", "eslint-config-next": "^16.3.6", "eslint-config-prettier": "^9.0.0", "prettier": "^3.1.1", "prettier-plugin-tailwindcss": "^0.6.8" }, "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" } \ No newline at end of file +{ + "name": "client", + "version": "0.1.0", + "private": true, + "scripts": { + "test": "vitest --config vitetest.config.ts", + "dev": "next dev", + "build": "next build --webpack", + "start": "next start", + "lint": "eslint .", + "typeCheck": "tsc -p ./tsconfig.json", + "postinstall": "patch-package", + "format": "prettier --check \"**/*.{js,jsx,ts,tsx}\"", + "format:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\"" + }, + "dependencies": { + "@auth/mongodb-adapter": "^3.5.2", + "@headlessui/react": "^2.1.8", + "@headlessui/tailwindcss": "^0.2.1", + "@hookform/resolvers": "^3.9.0", + "@infra-blocks/zod-utils": "^0.4.2", + "@next/bundle-analyzer": "^16.3.6", + "@serwist/next": "^9.5.12", + "@socialgouv/matomo-next": "^1.10.0", + "@tanstack/react-query": "^5.29.0", + "@trivago/prettier-plugin-sort-imports": "^4.2.0", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.114", + "@types/node": "^22.7.2", + "autoprefixer": "^10.4.16", + "class-variance-authority": "^0.7.0", + "date-fns": "^4.1.0", + "geojson": "^0.5.0", + "jotai": "^2.6.1", + "leaflet": "^1.9.4", + "leaflet-defaulticon-compatibility": "^0.1.2", + "leaflet-draw": "^1.0.4", + "leaflet-gesture-handling": "^1.2.2", + "leaflet.markercluster": "^1.5.3", + "leaflet.smooth_marker_bouncing": "3.0.3", + "lodash": "^4.17.21", + "mongodb": "^7.0.0", + "next": "^16.3.6", + "next-auth": "^5.0.0-beta.32", + "next-intl": "^4.14.7", + "next-safe-action": "^7.9.3", + "nodemailer": "^6.9.12", + "postcss": "^8.4.47", + "react": "^19.3.0", + "react-date-range": "^2.0.1", + "react-datepicker": "^7.4.0", + "react-dom": "^19.3.0", + "react-hook-form": "^7.46.1", + "react-icons": "^5.3.0", + "react-input-mask": "^2.0.4", + "react-leaflet": "^4.2.1", + "react-leaflet-cluster": "^2.1.0", + "react-leaflet-draw": "^0.20.4", + "react-select": "^5.7.4", + "react-tooltip": "^5.18.0", + "serwist": "^9.5.12", + "sharp": "^0.33.0", + "superjson": "^2.2.1", + "tailwind-merge": "^2.0.0", + "tailwindcss": "^3.3.5", + "typescript": "^5.3.3", + "vitest": "^4.0.12", + "zod": "^3.22.4" + }, + "devDependencies": { + "@swc-jotai/react-refresh": "^0.2.0", + "@tailwindcss/forms": "^0.5.4", + "@tailwindcss/typography": "^0.5.15", + "@testing-library/jest-dom": "^6.1.2", + "@types/leaflet": "^1.9.12", + "@types/lodash": "^4.14.195", + "@types/nodemailer": "^6.4.8", + "@types/react": "^19.3.0", + "@types/react-date-range": "^1.4.9", + "@types/react-dom": "^19.3.0", + "@types/react-input-mask": "^3.0.2", + "eslint": "^9.0.0", + "eslint-config-next": "^16.3.6", + "eslint-config-prettier": "^9.0.0", + "patch-package": "^8.0.1", + "prettier": "^3.1.1", + "prettier-plugin-tailwindcss": "^0.6.8" + }, + "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" +} diff --git a/patches/react-leaflet-cluster+2.1.0.patch b/patches/react-leaflet-cluster+2.1.0.patch new file mode 100644 index 0000000..ae49eaa --- /dev/null +++ b/patches/react-leaflet-cluster+2.1.0.patch @@ -0,0 +1,19 @@ +diff --git a/node_modules/react-leaflet-cluster/lib/index.js b/node_modules/react-leaflet-cluster/lib/index.js +index 36ab0c1..ba2ae92 100644 +--- a/node_modules/react-leaflet-cluster/lib/index.js ++++ b/node_modules/react-leaflet-cluster/lib/index.js +@@ -28,14 +28,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); + var core_1 = require("@react-leaflet/core"); + var leaflet_1 = __importDefault(require("leaflet")); + require("leaflet.markercluster"); +-require("./assets/MarkerCluster.css"); +-require("./assets/MarkerCluster.Default.css"); +-delete leaflet_1.default.Icon.Default.prototype._getIconUrl; +-leaflet_1.default.Icon.Default.mergeOptions({ +- iconRetinaUrl: require('./assets/marker-icon-2x.png').default, +- iconUrl: require('./assets/marker-icon.png').default, +- shadowUrl: require('./assets/marker-shadow.png').default, +-}); + function getPropsAndEvents(props) { + var clusterProps = {}; + var clusterEvents = {}; diff --git a/src/components/Map.tsx b/src/components/Map.tsx index ce5ccdf..65e1cbf 100644 --- a/src/components/Map.tsx +++ b/src/components/Map.tsx @@ -12,6 +12,8 @@ import "leaflet/dist/leaflet.css"; import { FaAngleDoubleDown } from "react-icons/fa"; import { LayerGroup, MapContainer, TileLayer } from "react-leaflet"; import MarkerClusterGroup from "react-leaflet-cluster"; +import "react-leaflet-cluster/lib/assets/MarkerCluster.css"; +import "react-leaflet-cluster/lib/assets/MarkerCluster.Default.css"; import { debouncedHoveredListIdAtom, mapBoundsAtom } from "@/atoms"; import { MapEvents } from "@/components/MapEvents"; diff --git a/yarn.lock b/yarn.lock index b4f7aa2..c2efa24 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1891,6 +1891,11 @@ convert-source-map "^2.0.0" tinyrainbow "^3.1.0" +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" @@ -2218,7 +2223,7 @@ chai@^6.2.2: resolved "https://registry.yarnpkg.com/chai/-/chai-6.2.2.tgz#ae41b52c9aca87734505362717f3255facda360e" integrity sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg== -chalk@^4.0.0: +chalk@^4.0.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -2241,6 +2246,11 @@ chokidar@^3.6.0: optionalDependencies: fsevents "~2.3.2" +ci-info@^3.7.0: + version "3.9.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + class-variance-authority@^0.7.0: version "0.7.1" resolved "https://registry.yarnpkg.com/class-variance-authority/-/class-variance-authority-0.7.1.tgz#4008a798a0e4553a781a57ac5177c9fb5d043787" @@ -2342,7 +2352,7 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -cross-spawn@^7.0.6: +cross-spawn@^7.0.3, cross-spawn@^7.0.6: version "7.0.6" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== @@ -2990,6 +3000,13 @@ find-up@^5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" +find-yarn-workspace-root@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" + integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== + dependencies: + micromatch "^4.0.2" + flat-cache@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-4.0.1.tgz#0ece39fcb14ee012f4b0410bd33dd9c1f011127c" @@ -3015,6 +3032,15 @@ fraction.js@^5.3.4: resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-5.3.4.tgz#8c0fcc6a9908262df4ed197427bdeef563e0699a" integrity sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ== +fs-extra@^10.0.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" + integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fsevents@~2.3.2, fsevents@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" @@ -3151,6 +3177,11 @@ gopd@^1.0.1, gopd@^1.2.0: resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== +graceful-fs@^4.1.11, graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + gzip-size@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-6.0.0.tgz#065367fd50c239c0671cbcbad5be3e2eeb10e462" @@ -3377,6 +3408,11 @@ is-date-object@^1.1.0: call-bound "^1.0.2" has-tostringtag "^1.0.2" +is-docker@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + is-document.all@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-document.all/-/is-document.all-1.0.0.tgz#163a4bfb362c6ed7b118ce46cdecc4e37dee3195" @@ -3508,6 +3544,13 @@ is-weakset@^2.0.3: call-bound "^1.0.3" get-intrinsic "^1.2.6" +is-wsl@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + isarray@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" @@ -3592,6 +3635,17 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== +json-stable-stringify@^1.0.2: + version "1.3.0" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.3.0.tgz#8903cfac42ea1a0f97f35d63a4ce0518f0cc6a70" + integrity sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.4" + isarray "^2.0.5" + jsonify "^0.0.1" + object-keys "^1.1.1" + json5@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" @@ -3604,6 +3658,20 @@ json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== +jsonfile@^6.0.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.2.1.tgz#b6e31717f22cc37330b081ce0051ed5de53af2f6" + integrity sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + +jsonify@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.1.tgz#2aa3111dae3d34a0f151c63f3a45d995d9420978" + integrity sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg== + "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5: version "3.3.5" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a" @@ -3621,6 +3689,13 @@ keyv@^4.5.4: dependencies: json-buffer "3.0.1" +klaw-sync@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c" + integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ== + dependencies: + graceful-fs "^4.1.11" + kolorist@1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/kolorist/-/kolorist-1.8.0.tgz#edddbbbc7894bc13302cdf740af6374d4a04743c" @@ -3828,7 +3903,7 @@ merge2@^1.3.0: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -micromatch@^4.0.4, micromatch@^4.0.8: +micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== @@ -4094,6 +4169,14 @@ obug@^2.1.1: resolved "https://registry.yarnpkg.com/obug/-/obug-2.2.1.tgz#9c453efeeda822050eb9774242e969c784d64d78" integrity sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q== +open@^7.4.2: + version "7.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" + integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== + dependencies: + is-docker "^2.0.0" + is-wsl "^2.1.1" + opener@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" @@ -4152,6 +4235,26 @@ parse-json@^5.0.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" +patch-package@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-8.0.1.tgz#79d02f953f711e06d1f8949c8a13e5d3d7ba1a60" + integrity sha512-VsKRIA8f5uqHQ7NGhwIna6Bx6D9s/1iXlA1hthBVBEbkq+t4kXD0HHt+rJhf/Z+Ci0F/HCB2hvn0qLdLG+Qxlw== + dependencies: + "@yarnpkg/lockfile" "^1.1.0" + chalk "^4.1.2" + ci-info "^3.7.0" + cross-spawn "^7.0.3" + find-yarn-workspace-root "^2.0.0" + fs-extra "^10.0.0" + json-stable-stringify "^1.0.2" + klaw-sync "^6.0.0" + minimist "^1.2.6" + open "^7.4.2" + semver "^7.5.3" + slash "^2.0.0" + tmp "^0.2.4" + yaml "^2.2.2" + path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -4633,7 +4736,7 @@ scheduler@^0.28.0: resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.28.0.tgz#03d3ca348aeaf8b7502f64468f217b27523f9695" integrity sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw== -semver@7.8.5, semver@^7.6.3, semver@^7.7.1, semver@^7.7.3, semver@^7.8.5: +semver@7.8.5, semver@^7.5.3, semver@^7.6.3, semver@^7.7.1, semver@^7.7.3, semver@^7.8.5: version "7.8.5" resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.5.tgz#39b646037dd50c14fb451e7e4cac58ed8b863f69" integrity sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA== @@ -4824,6 +4927,11 @@ sirv@^2.0.3: mrmime "^2.0.0" totalist "^3.0.0" +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== + source-map-js@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" @@ -5079,6 +5187,11 @@ tinyrainbow@^3.1.0: resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-3.1.1.tgz#c0168387d3d8d70b6b3c2c0936de5fee738cea20" integrity sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw== +tmp@^0.2.4: + version "0.2.7" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.7.tgz#26f4db11d1601ce8012dcb8a798ece1c06a99059" + integrity sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw== + to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" @@ -5221,6 +5334,11 @@ undici-types@~8.9.0: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-8.9.0.tgz#e240d97c8b5d85e5347ce73d25865c7906c1ec9f" integrity sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg== +universalify@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== + unrs-resolver@^1.6.2: version "1.12.2" resolved "https://registry.yarnpkg.com/unrs-resolver/-/unrs-resolver-1.12.2.tgz#a6c6888396abba5adaac4cab6587df866f1d7afd" @@ -5457,6 +5575,11 @@ yaml@^1.10.0: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.3.tgz#76e407ed95c42684fb8e14641e5de62fe65bbcb3" integrity sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA== +yaml@^2.2.2: + version "2.9.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.9.1.tgz#c16233fb31944e705cfefaff38795587f57588ce" + integrity sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw== + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"