Skip to content

Commit 7b68d03

Browse files
chore(deps): update all non-major dependencies (examples & templates) (main) (minor) (#7323)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@react-router/dev](https://reactrouter.com) ([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router-dev)) | [`7.5.3` -> `7.6.0`](https://renovatebot.com/diffs/npm/@react-router%2fdev/7.5.3/7.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-router%2fdev/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-router%2fdev/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-router%2fdev/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-router%2fdev/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@react-router/node](https://redirect.github.com/remix-run/react-router) ([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router-node)) | [`7.5.3` -> `7.6.0`](https://renovatebot.com/diffs/npm/@react-router%2fnode/7.5.3/7.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-router%2fnode/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-router%2fnode/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-router%2fnode/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-router%2fnode/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@react-router/serve](https://redirect.github.com/remix-run/react-router) ([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router-serve)) | [`7.5.3` -> `7.6.0`](https://renovatebot.com/diffs/npm/@react-router%2fserve/7.5.3/7.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-router%2fserve/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-router%2fserve/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-router%2fserve/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-router%2fserve/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [globals](https://redirect.github.com/sindresorhus/globals) | [`16.0.0` -> `16.1.0`](https://renovatebot.com/diffs/npm/globals/16.0.0/16.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/globals/16.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/globals/16.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/globals/16.0.0/16.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/globals/16.0.0/16.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react-router](https://redirect.github.com/remix-run/react-router) ([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router)) | [`7.5.3` -> `7.6.0`](https://renovatebot.com/diffs/npm/react-router/7.5.3/7.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/7.5.3/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint) ([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint)) | [`8.31.1` -> `8.32.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.31.1/8.32.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript-eslint/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript-eslint/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript-eslint/8.31.1/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript-eslint/8.31.1/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint) ([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint)) | [`8.31.0` -> `8.32.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.31.0/8.32.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript-eslint/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript-eslint/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript-eslint/8.31.0/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript-eslint/8.31.0/8.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>remix-run/react-router (@&#8203;react-router/dev)</summary> ### [`v7.6.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-dev/CHANGELOG.md#760) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/@react-router/[email protected]...@react-router/[email protected]) ##### Minor Changes - Added a new `react-router.config.ts` `routeDiscovery` option to configure Lazy Route Discovery behavior. ([#&#8203;13451](https://redirect.github.com/remix-run/react-router/pull/13451)) - By default, Lazy Route Discovery is enabled and makes manifest requests to the `/__manifest` path: - `routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }` - You can modify the manifest path used: - `routeDiscovery: { mode: "lazy", manifestPath: "/custom-manifest" }` - Or you can disable this feature entirely and include all routes in the manifest on initial document load: - `routeDiscovery: { mode: "initial" }` - Automatic types for future flags ([#&#8203;13506](https://redirect.github.com/remix-run/react-router/pull/13506)) Some future flags alter the way types should work in React Router. Previously, you had to remember to manually opt-in to the new types. For example, for `unstable_middleware`: ```ts // react-router.config.ts // Step 1: Enable middleware export default { future: { unstable_middleware: true, }, }; // Step 2: Enable middleware types declare module "react-router" { interface Future { unstable_middleware: true; // 👈 Enable middleware types } } ``` It was up to you to keep the runtime future flags synced with the types for those future flags. This was confusing and error-prone. Now, React Router will automatically enable types for future flags. That means you only need to specify the runtime future flag: ```ts // react-router.config.ts // Step 1: Enable middleware export default { future: { unstable_middleware: true, }, }; // No step 2! That's it! ``` Behind the scenes, React Router will generate the corresponding `declare module` into `.react-router/types`. Currently this is done in `.react-router/types/+register.ts` but this is an implementation detail that may change in the future. ##### Patch Changes - Support project root directories without a `package.json` if it exists in a parent directory ([#&#8203;13472](https://redirect.github.com/remix-run/react-router/pull/13472)) - When providing a custom Vite config path via the CLI `--config`/`-c` flag, default the project root directory to the directory containing the Vite config when not explicitly provided ([#&#8203;13472](https://redirect.github.com/remix-run/react-router/pull/13472)) - In a `routes.ts` context, ensure the `--mode` flag is respected for `import.meta.env.MODE` ([#&#8203;13485](https://redirect.github.com/remix-run/react-router/pull/13485)) Previously, `import.meta.env.MODE` within a `routes.ts` context was always `"development"` for the `dev` and `typegen --watch` commands, but otherwise resolved to `"production"`. These defaults are still in place, but if a `--mode` flag is provided, this will now take precedence. - Ensure consistent project root directory resolution logic in CLI commands ([#&#8203;13472](https://redirect.github.com/remix-run/react-router/pull/13472)) - When executing `react-router.config.ts` and `routes.ts` with `vite-node`, ensure that PostCSS config files are ignored ([#&#8203;13489](https://redirect.github.com/remix-run/react-router/pull/13489)) - When extracting critical CSS during development, ensure it's loaded from the client environment to avoid issues with plugins that handle the SSR environment differently ([#&#8203;13503](https://redirect.github.com/remix-run/react-router/pull/13503)) - When `future.unstable_viteEnvironmentApi` is enabled, ensure that `build.assetsDir` in Vite config is respected when `environments.client.build.assetsDir` is not configured ([#&#8203;13491](https://redirect.github.com/remix-run/react-router/pull/13491)) - Fix "Status message is not supported by HTTP/2" error during dev when using HTTPS ([#&#8203;13460](https://redirect.github.com/remix-run/react-router/pull/13460)) - Update config when `react-router.config.ts` is created or deleted during development. ([#&#8203;12319](https://redirect.github.com/remix-run/react-router/pull/12319)) - Skip unnecessary `routes.ts` evaluation before Vite build is started ([#&#8203;13513](https://redirect.github.com/remix-run/react-router/pull/13513)) - Fix `TS2300: Duplicate identifier` errors caused by generated types ([#&#8203;13499](https://redirect.github.com/remix-run/react-router/pull/13499)) Previously, routes that had the same full path would cause duplicate entries in the generated types for `href` (`.react-router/types/+register.ts`), causing type checking errors. - Updated dependencies: - `[email protected]` - `@react-router/[email protected]` - `@react-router/[email protected]` </details> <details> <summary>remix-run/react-router (@&#8203;react-router/node)</summary> ### [`v7.6.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-node/CHANGELOG.md#760) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/@react-router/[email protected]...@react-router/[email protected]) ##### Patch Changes - Updated dependencies: - `[email protected]` </details> <details> <summary>remix-run/react-router (@&#8203;react-router/serve)</summary> ### [`v7.6.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-serve/CHANGELOG.md#760) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/@react-router/[email protected]...@react-router/[email protected]) ##### Patch Changes - Updated dependencies: - `[email protected]` - `@react-router/[email protected]` - `@react-router/[email protected]` </details> <details> <summary>sindresorhus/globals (globals)</summary> ### [`v16.1.0`](https://redirect.github.com/sindresorhus/globals/releases/tag/v16.1.0) [Compare Source](https://redirect.github.com/sindresorhus/globals/compare/v16.0.0...v16.1.0) - Update globals ([#&#8203;293](https://redirect.github.com/sindresorhus/globals/issues/293)) [`5c58875`](https://redirect.github.com/sindresorhus/globals/commit/5c58875) *** </details> <details> <summary>remix-run/react-router (react-router)</summary> ### [`v7.6.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#760) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/[email protected]@7.6.0) ##### Minor Changes - Added a new `react-router.config.ts` `routeDiscovery` option to configure Lazy Route Discovery behavior. ([#&#8203;13451](https://redirect.github.com/remix-run/react-router/pull/13451)) - By default, Lazy Route Discovery is enabled and makes manifest requests to the `/__manifest` path: - `routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }` - You can modify the manifest path used: - `routeDiscovery: { mode: "lazy", manifestPath: "/custom-manifest" }` - Or you can disable this feature entirely and include all routes in the manifest on initial document load: - `routeDiscovery: { mode: "initial" }` - Add support for route component props in `createRoutesStub`. This allows you to unit test your route components using the props instead of the hooks: ([#&#8203;13528](https://redirect.github.com/remix-run/react-router/pull/13528)) ```tsx let RoutesStub = createRoutesStub([ { path: "/", Component({ loaderData }) { let data = loaderData as { message: string }; return <pre data-testid="data">Message: {data.message}</pre>; }, loader() { return { message: "hello" }; }, }, ]); render(<RoutesStub />); await waitFor(() => screen.findByText("Message: hello")); ``` ##### Patch Changes - Fix `react-router` module augmentation for `NodeNext` ([#&#8203;13498](https://redirect.github.com/remix-run/react-router/pull/13498)) - Don't bundle `react-router` in `react-router/dom` CJS export ([#&#8203;13497](https://redirect.github.com/remix-run/react-router/pull/13497)) - Fix bug where a submitting `fetcher` would get stuck in a `loading` state if a revalidating `loader` redirected ([#&#8203;12873](https://redirect.github.com/remix-run/react-router/pull/12873)) - Fix hydration error if a server `loader` returned `undefined` ([#&#8203;13496](https://redirect.github.com/remix-run/react-router/pull/13496)) - Fix initial load 404 scenarios in data mode ([#&#8203;13500](https://redirect.github.com/remix-run/react-router/pull/13500)) - Stabilize `useRevalidator`'s `revalidate` function ([#&#8203;13542](https://redirect.github.com/remix-run/react-router/pull/13542)) - Preserve status code if a `clientAction` throws a `data()` result in framework mode ([#&#8203;13522](https://redirect.github.com/remix-run/react-router/pull/13522)) - Be defensive against leading double slashes in paths to avoid `Invalid URL` errors from the URL constructor ([#&#8203;13510](https://redirect.github.com/remix-run/react-router/pull/13510)) - Note we do not sanitize/normalize these paths - we only detect them so we can avoid the error that would be thrown by `new URL("//", window.location.origin)` - Remove `Navigator` declaration for `navigator.connection.saveData` to avoid messing with any other types beyond `saveData` in userland ([#&#8203;13512](https://redirect.github.com/remix-run/react-router/pull/13512)) - Fix `handleError` `params` values on `.data` requests for routes with a dynamic param as the last URL segment ([#&#8203;13481](https://redirect.github.com/remix-run/react-router/pull/13481)) - Don't trigger an `ErrorBoundary` UI before the reload when we detect a manifest verison mismatch in Lazy Route Discovery ([#&#8203;13480](https://redirect.github.com/remix-run/react-router/pull/13480)) - Inline `[email protected]` dependency and fix decoding ordering of Map/Set instances ([#&#8203;13518](https://redirect.github.com/remix-run/react-router/pull/13518)) - Only render dev warnings in DEV mode ([#&#8203;13461](https://redirect.github.com/remix-run/react-router/pull/13461)) - UNSTABLE: Fix a few bugs with error bubbling in middleware use-cases ([#&#8203;13538](https://redirect.github.com/remix-run/react-router/pull/13538)) - Short circuit post-processing on aborted `dataStrategy` requests ([#&#8203;13521](https://redirect.github.com/remix-run/react-router/pull/13521)) - This resolves non-user-facing console errors of the form `Cannot read properties of undefined (reading 'result')` </details> <details> <summary>typescript-eslint/typescript-eslint (typescript-eslint)</summary> ### [`v8.32.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#8320-2025-05-05) [Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.31.1...v8.32.0) This was a version bump only for typescript-eslint to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/SAP/ui5-webcomponents-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MC43LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 52fd0bf commit 7b68d03

File tree

5 files changed

+214
-228
lines changed

5 files changed

+214
-228
lines changed

0 commit comments

Comments
 (0)