xocoinc / xoco

The comrade market
1 stars 0 forks source link

fix(deps): update dependency react-router-dom to v6 #21

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-router-dom 5.3.0 -> 6.2.1 age adoption passing confidence

Release Notes

remix-run/react-router ### [`v6.2.1`](https://togithub.com/remix-run/react-router/releases/v6.2.1) [Compare Source](https://togithub.com/remix-run/react-router/compare/v6.2.0...v6.2.1) This release updates the internal `history` dependency to `5.2.0`. **Full Changelog**: https://github.com/remix-run/react-router/compare/v6.2.0...v6.2.1 ### [`v6.2.0`](https://togithub.com/remix-run/react-router/releases/v6.2.0) [Compare Source](https://togithub.com/remix-run/react-router/compare/v6.1.1...v6.2.0) #### πŸ› Bug fixes - Fixed the `RouteProps` `element` type, which should be a `ReactNode` ([#​8473](https://togithub.com/remix-run/react-router/issues/8473)) - Fixed a bug with `useOutlet` for top-level routes ([#​8483](https://togithub.com/remix-run/react-router/issues/8483)) #### ✨ Features - We now use statically analyzable CJS exports. This enables named imports in Node ESM scripts ([See the commit](https://togithub.com/remix-run/react-router/commit/29c7fc8b5f853b0b06ecd0f5682a9bbe6eca0715)). #### New Contributors - [@​thisiskartik](https://togithub.com/thisiskartik) made their first contribution in [https://github.com/remix-run/react-router/pull/8487](https://togithub.com/remix-run/react-router/pull/8487) - [@​vijaypushkin](https://togithub.com/vijaypushkin) made their first contribution in [https://github.com/remix-run/react-router/pull/8491](https://togithub.com/remix-run/react-router/pull/8491) **Full Changelog**: https://github.com/remix-run/react-router/compare/v6.1.1...v6.2.0 ### [`v6.1.1`](https://togithub.com/remix-run/react-router/releases/v6.1.1) [Compare Source](https://togithub.com/remix-run/react-router/compare/v6.1.0...v6.1.1) In v6.1.0 we inadvertently shipped a new, undocumented API that will likely introduce bugs ([#​7586](https://togithub.com/remix-run/react-router/issues/7586)). We have flagged `HistoryRouter` as `unstable_HistoryRouter`, as this API will likely need to change before a new major release. **Full Changelog**: https://github.com/remix-run/react-router/compare/v6.1.0...v6.1.1 ### [`v6.1.0`](https://togithub.com/remix-run/react-router/releases/v6.1.0) [Compare Source](https://togithub.com/remix-run/react-router/compare/v6.0.2...v6.1.0) #### πŸ› Bug fixes - Fixed a bug that broke support for base64 encoded IDs on nested routes ([#​8291](https://togithub.com/remix-run/react-router/issues/8291)) #### ✨ Features - `` can now receive a `context` prop. This value is passed to child routes and is accessible via the new `useOutletContext` hook. See [the API docs](https://reactrouter.com/docs/en/v6/api#useoutletcontext) for details. ([#​8461](https://togithub.com/remix-run/react-router/issues/8461)) - `` can now receive a child function for access to its props. ([#​8164](https://togithub.com/remix-run/react-router/issues/8164)) #### πŸ’… Enhancements - Improved TypeScript signature for `useMatch` and `matchPath`. For example, when you call `useMatch("foo/:bar/:baz")`, the path is parsed and the return type will be `PathMatch<"bar" | "baz">`. ([#​8030](https://togithub.com/remix-run/react-router/issues/8030)) - A few error message improvements ([#​8202](https://togithub.com/remix-run/react-router/issues/8202)) #### New Contributors - [@​rwieruch](https://togithub.com/rwieruch) made their first contribution in [https://github.com/remix-run/react-router/pull/8244](https://togithub.com/remix-run/react-router/pull/8244) - [@​codeiotic](https://togithub.com/codeiotic) made their first contribution in [https://github.com/remix-run/react-router/pull/8247](https://togithub.com/remix-run/react-router/pull/8247) - [@​Sannnao](https://togithub.com/Sannnao) made their first contribution in [https://github.com/remix-run/react-router/pull/8263](https://togithub.com/remix-run/react-router/pull/8263) - [@​mattmazzola](https://togithub.com/mattmazzola) made their first contribution in [https://github.com/remix-run/react-router/pull/8255](https://togithub.com/remix-run/react-router/pull/8255) - [@​ngokevin](https://togithub.com/ngokevin) made their first contribution in [https://github.com/remix-run/react-router/pull/8267](https://togithub.com/remix-run/react-router/pull/8267) - [@​TimisRobert](https://togithub.com/TimisRobert) made their first contribution in [https://github.com/remix-run/react-router/pull/8269](https://togithub.com/remix-run/react-router/pull/8269) - [@​mikeldking](https://togithub.com/mikeldking) made their first contribution in [https://github.com/remix-run/react-router/pull/8279](https://togithub.com/remix-run/react-router/pull/8279) - [@​fishmandev](https://togithub.com/fishmandev) made their first contribution in [https://github.com/remix-run/react-router/pull/8289](https://togithub.com/remix-run/react-router/pull/8289) - [@​rjerue](https://togithub.com/rjerue) made their first contribution in [https://github.com/remix-run/react-router/pull/8304](https://togithub.com/remix-run/react-router/pull/8304) - [@​rockingskier](https://togithub.com/rockingskier) made their first contribution in [https://github.com/remix-run/react-router/pull/8314](https://togithub.com/remix-run/react-router/pull/8314) - [@​arinthros](https://togithub.com/arinthros) made their first contribution in [https://github.com/remix-run/react-router/pull/8337](https://togithub.com/remix-run/react-router/pull/8337) - [@​noisypigeon](https://togithub.com/noisypigeon) made their first contribution in [https://github.com/remix-run/react-router/pull/8361](https://togithub.com/remix-run/react-router/pull/8361) - [@​elylucas](https://togithub.com/elylucas) made their first contribution in [https://github.com/remix-run/react-router/pull/8368](https://togithub.com/remix-run/react-router/pull/8368) - [@​paulsmithkc](https://togithub.com/paulsmithkc) made their first contribution in [https://github.com/remix-run/react-router/pull/8357](https://togithub.com/remix-run/react-router/pull/8357) - [@​sanketshah19](https://togithub.com/sanketshah19) made their first contribution in [https://github.com/remix-run/react-router/pull/8372](https://togithub.com/remix-run/react-router/pull/8372) - [@​JakubDrozd](https://togithub.com/JakubDrozd) made their first contribution in [https://github.com/remix-run/react-router/pull/8402](https://togithub.com/remix-run/react-router/pull/8402) - [@​markivancho](https://togithub.com/markivancho) made their first contribution in [https://github.com/remix-run/react-router/pull/8414](https://togithub.com/remix-run/react-router/pull/8414) - [@​turansky](https://togithub.com/turansky) made their first contribution in [https://github.com/remix-run/react-router/pull/8420](https://togithub.com/remix-run/react-router/pull/8420) - [@​shivamsinghchahar](https://togithub.com/shivamsinghchahar) made their first contribution in [https://github.com/remix-run/react-router/pull/8423](https://togithub.com/remix-run/react-router/pull/8423) - [@​petersendidit](https://togithub.com/petersendidit) made their first contribution in [https://github.com/remix-run/react-router/pull/8436](https://togithub.com/remix-run/react-router/pull/8436) - [@​Ajayff4](https://togithub.com/Ajayff4) made their first contribution in [https://github.com/remix-run/react-router/pull/8373](https://togithub.com/remix-run/react-router/pull/8373) - [@​RobHannay](https://togithub.com/RobHannay) made their first contribution in [https://github.com/remix-run/react-router/pull/8455](https://togithub.com/remix-run/react-router/pull/8455) - [@​kddnewton](https://togithub.com/kddnewton) made their first contribution in [https://github.com/remix-run/react-router/pull/8030](https://togithub.com/remix-run/react-router/pull/8030) - [@​brockross](https://togithub.com/brockross) made their first contribution in [https://github.com/remix-run/react-router/pull/8462](https://togithub.com/remix-run/react-router/pull/8462) - [@​sergiodxa](https://togithub.com/sergiodxa) made their first contribution in [https://github.com/remix-run/react-router/pull/8164](https://togithub.com/remix-run/react-router/pull/8164) - [@​baozouai](https://togithub.com/baozouai) made their first contribution in [https://github.com/remix-run/react-router/pull/8171](https://togithub.com/remix-run/react-router/pull/8171) - [@​liuhanqu](https://togithub.com/liuhanqu) made their first contribution in [https://github.com/remix-run/react-router/pull/8374](https://togithub.com/remix-run/react-router/pull/8374) **Full Changelog**: https://github.com/remix-run/react-router/compare/v6.0.1...v6.1.0 ### [`v6.0.2`](https://togithub.com/remix-run/react-router/releases/v6.0.2) [Compare Source](https://togithub.com/remix-run/react-router/compare/v6.0.1...v6.0.2) #### ✨ Features - Added the `reloadDocument` prop to ``. This allows `` to function like a normal anchor tag by reloading the document after navigation while maintaining the relative `to` resolution. #### πŸ—’οΈ Docs - Fixed several issues in docblocks and the docs themselves. See the [full changelog](https://togithub.com/remix-run/react-router/compare/v6.0.1...v6.0.2) for the deets! #### 🀝 New Contributors - [@​rwieruch](https://togithub.com/rwieruch) made their first contribution in [https://github.com/remix-run/react-router/pull/8244](https://togithub.com/remix-run/react-router/pull/8244) - [@​ProProgrammer2504](https://togithub.com/ProProgrammer2504) made their first contribution in [https://github.com/remix-run/react-router/pull/8247](https://togithub.com/remix-run/react-router/pull/8247) - [@​Sannnao](https://togithub.com/Sannnao) made their first contribution in [https://github.com/remix-run/react-router/pull/8263](https://togithub.com/remix-run/react-router/pull/8263) - [@​mattmazzola](https://togithub.com/mattmazzola) made their first contribution in [https://github.com/remix-run/react-router/pull/8255](https://togithub.com/remix-run/react-router/pull/8255) - [@​ngokevin](https://togithub.com/ngokevin) made their first contribution in [https://github.com/remix-run/react-router/pull/8267](https://togithub.com/remix-run/react-router/pull/8267) - [@​TimisRobert](https://togithub.com/TimisRobert) made their first contribution in [https://github.com/remix-run/react-router/pull/8269](https://togithub.com/remix-run/react-router/pull/8269) - [@​mikeldking](https://togithub.com/mikeldking) made their first contribution in [https://github.com/remix-run/react-router/pull/8279](https://togithub.com/remix-run/react-router/pull/8279) - [@​fishmandev](https://togithub.com/fishmandev) made their first contribution in [https://github.com/remix-run/react-router/pull/8289](https://togithub.com/remix-run/react-router/pull/8289) ##### Full Changelog ### [`v6.0.1`](https://togithub.com/remix-run/react-router/releases/v6.0.1) [Compare Source](https://togithub.com/remix-run/react-router/compare/v6.0.0...v6.0.1) #### πŸ› Bug Fixes - Add a default `` value ([#​8243](https://togithub.com/remix-run/react-router/issues/8243)) - Add invariant for using `` inside `` to help people make the change ([#​8238](https://togithub.com/remix-run/react-router/issues/8238)) ### [`v6.0.0`](https://togithub.com/remix-run/react-router/releases/v6.0.0) [Compare Source](https://togithub.com/remix-run/react-router/compare/v5.3.0...v6.0.0) React Router v6 is here! Please go read [our blog post for more information on all the great stuff in v6](https://remix.run/blog/react-router-v6) including [notes about how to upgrade from React Router v5](https://remix.run/blog/react-router-v6#upgrading-to-react-router-v6) and Reach Router.

Configuration

πŸ“… Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.