monstar-lab-oss / ml-frontend

A monorepo created to provide a starter kit for front-end projects at Monstar Lab, Inc.
https://www.npmjs.com/package/start-frontend
Mozilla Public License 2.0
14 stars 1 forks source link

fix(deps): update dependency wouter to v2.12.1 #1238

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
wouter 2.10.0 -> 2.12.1 age adoption passing confidence

Release Notes

molefrog/wouter (wouter) ### [`v2.12.1`](https://togithub.com/molefrog/wouter/compare/v2.12.0...v2.12.1) [Compare Source](https://togithub.com/molefrog/wouter/compare/v2.12.0...v2.12.1) ### [`v2.12.0`](https://togithub.com/molefrog/wouter/compare/v2.11.0...v2.12.0) [Compare Source](https://togithub.com/molefrog/wouter/compare/v2.11.0...v2.12.0) ### [`v2.11.0`](https://togithub.com/molefrog/wouter/releases/tag/v2.11.0): : Better SSR support [Compare Source](https://togithub.com/molefrog/wouter/compare/v2.10.1...v2.11.0) In this version, we are introducing a new prop that you can pass to the top-level Router component: `ssrPath`. The migration to the `useSyncExternalStore` hook in v2.10.0 made it possible for us to use a native way of telling React what the location should be when rendering on the server. Prior to this release, our users had to override the default location hook with `wouter/static-location`, which lacked a nice DX and could cause hydration warnings. We are deprecating the static location hook in favor of the new `ssrPath` prop. Rendering your app on the server is now as easy as: ```js const handleRequest = (req, res) => { // top-level Router is mandatory in SSR mode const prerendered = renderToString( ); // respond with prerendered html }; ``` You can find a [detailed guide in the README](https://togithub.com/molefrog/wouter#server-side-rendering-support-ssr). To see the new API in action, we have prepared a simple demo powered by Wouter and Ultra, a server-side rendering framework for Deno. Take a look at how the app is rendered on the [server](https://togithub.com/molefrog/wultra/blob/main/server.tsx#L18) and then hydrated in the [browser](https://togithub.com/molefrog/wultra/blob/main/client.tsx#L10). **[Demo: wultra.deno.dev](https://wultra.deno.dev/)** Full changelog: - SSR support in syncExternalStore [#​305](https://togithub.com/molefrog/wouter/issues/305) - `index.d.ts` now doesn't export types of methods that aren't present in the module [#​306](https://togithub.com/molefrog/wouter/issues/306) Thanks [@​Mati365](https://togithub.com/Mati365) - Fix incorrect TS4.1 type exports [#​291](https://togithub.com/molefrog/wouter/issues/291) Thanks [@​tec27](https://togithub.com/tec27) - **`wouter-preact`**: Preact type declarations are now up-to-date with the main package, type exports have been fixed [#​309](https://togithub.com/molefrog/wouter/issues/309) [#​294](https://togithub.com/molefrog/wouter/issues/294) Thanks [@​robertknight](https://togithub.com/robertknight) and [@​jerssonM](https://togithub.com/jerssonM) ### [`v2.10.1`](https://togithub.com/molefrog/wouter/releases/tag/v2.10.1): : Bugfixes [Compare Source](https://togithub.com/molefrog/wouter/compare/v2.10.0...v2.10.1) This release fixes missing export error caused by incorrect import of `useInsertionEffect` hook in React <18. See [https://github.com/molefrog/wouter/issues/292](https://togithub.com/molefrog/wouter/issues/292) Thanks to [@​hudochenkov](https://togithub.com/hudochenkov)! Other changes: - Rollup plugin is no longer listed as dependency, [https://github.com/molefrog/wouter/pull/301](https://togithub.com/molefrog/wouter/pull/301)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.

changeset-bot[bot] commented 6 months ago

⚠️ No Changeset found

Latest commit: e3cb716149a235b6aa2fd8e93edfa22d4b93e831

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR