Skip to content

Commit 5dd636f

Browse files
chore(deps): update all non-major dependencies (examples & templates) (main) (patch) (#7382)
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.6.0` -> `7.6.1`](https://renovatebot.com/diffs/npm/@react-router%2fdev/7.6.0/7.6.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-router%2fdev/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-router%2fdev/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-router%2fdev/7.6.0/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-router%2fdev/7.6.0/7.6.1?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.6.0` -> `7.6.1`](https://renovatebot.com/diffs/npm/@react-router%2fnode/7.6.0/7.6.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-router%2fnode/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-router%2fnode/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-router%2fnode/7.6.0/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-router%2fnode/7.6.0/7.6.1?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.6.0` -> `7.6.1`](https://renovatebot.com/diffs/npm/@react-router%2fserve/7.6.0/7.6.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-router%2fserve/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-router%2fserve/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-router%2fserve/7.6.0/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-router%2fserve/7.6.0/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`22.15.19` -> `22.15.21`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.19/22.15.21) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/22.15.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/22.15.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/22.15.19/22.15.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/22.15.19/22.15.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`19.1.4` -> `19.1.5`](https://renovatebot.com/diffs/npm/@types%2freact/19.1.4/19.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/19.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/19.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/19.1.4/19.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/19.1.4/19.1.5?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.6.0` -> `7.6.1`](https://renovatebot.com/diffs/npm/react-router/7.6.0/7.6.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/7.6.0/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/7.6.0/7.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>remix-run/react-router (@&#8203;react-router/dev)</summary> ### [`v7.6.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-dev/CHANGELOG.md#761) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/@react-router/[email protected]...@react-router/[email protected]) ##### Patch Changes - Prevent typegen with route files are outside the app directory ([#&#8203;12996](https://redirect.github.com/remix-run/react-router/pull/12996)) - Fix typegen when same route is used at multiple paths ([#&#8203;13574](https://redirect.github.com/remix-run/react-router/pull/13574)) For example, `routes/route.tsx` is used at 4 different paths here: ```ts import { type RouteConfig, route } from "@&#8203;react-router/dev/routes"; export default [ route("base/:base", "routes/base.tsx", [ route("home/:home", "routes/route.tsx", { id: "home" }), route("changelog/:changelog", "routes/route.tsx", { id: "changelog" }), route("splat/*", "routes/route.tsx", { id: "splat" }), ]), route("other/:other", "routes/route.tsx", { id: "other" }), ] satisfies RouteConfig; ``` Previously, typegen would arbitrarily pick one of these paths to be the "winner" and generate types for the route module based on that path. Now, typegen creates unions as necessary for alternate paths for the same route file. - Add additional logging to `build` command output when cleaning assets from server build ([#&#8203;13547](https://redirect.github.com/remix-run/react-router/pull/13547)) - Better types for `params` ([#&#8203;13543](https://redirect.github.com/remix-run/react-router/pull/13543)) For example: ```ts // routes.ts import { type RouteConfig, route } from "@&#8203;react-router/dev/routes"; export default [ route("parent/:p", "routes/parent.tsx", [ route("layout/:l", "routes/layout.tsx", [ route("child1/:c1a/:c1b", "routes/child1.tsx"), route("child2/:c2a/:c2b", "routes/child2.tsx"), ]), ]), ] satisfies RouteConfig; ``` Previously, `params` for the `routes/layout.tsx` route were calculated as `{ p: string, l: string }`. This incorrectly ignores params that could come from child routes. If visiting `/parent/1/layout/2/child1/3/4`, the actual params passed to `routes/layout.tsx` will have a type of `{ p: string, l: string, c1a: string, c1b: string }`. Now, `params` are aware of child routes and autocompletion will include child params as optionals: ```ts params.| // ^ cursor is here and you ask for autocompletion // p: string // l: string // c1a?: string // c1b?: string // c2a?: string // c2b?: string ``` You can also narrow the types for `params` as it is implemented as a normalized union of params for each page that includes `routes/layout.tsx`: ```ts if (typeof params.c1a === 'string') { params.| // ^ cursor is here and you ask for autocompletion // p: string // l: string // c1a: string // c1b: string } ``` *** UNSTABLE: renamed internal `react-router/route-module` export to `react-router/internal` UNSTABLE: removed `Info` export from generated `+types/*` files - \[UNSTABLE] Normalize dirent entry path across node versions when generating SRI manifest ([#&#8203;13591](https://redirect.github.com/remix-run/react-router/pull/13591)) - Don't clean assets from server build when `build.ssrEmitAssets` has been enabled in Vite config ([#&#8203;13547](https://redirect.github.com/remix-run/react-router/pull/13547)) - Fix `href` for optional segments ([#&#8203;13595](https://redirect.github.com/remix-run/react-router/pull/13595)) Type generation now expands paths with optionals into their corresponding non-optional paths. For example, the path `/user/:id?` gets expanded into `/user` and `/user/:id` to more closely model visitable URLs. `href` then uses these expanded (non-optional) paths to construct type-safe paths for your app: ```ts // original: /user/:id? // expanded: /user & /user/:id href("/user"); // ✅ href("/user/:id", { id: 1 }); // ✅ ``` This becomes even more important for static optional paths where there wasn't a good way to indicate whether the optional should be included in the resulting path: ```ts // original: /products/:id/detail? // before href("/products/:id/detail?"); // ❌ How can we tell `href` to include or omit `detail?` segment with a complex API? // now // expanded: /products/:id & /products/:id/detail href("/product/:id"); // ✅ href("/product/:id/detail"); // ✅ ``` - 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.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-node/CHANGELOG.md#761) [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.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router-serve/CHANGELOG.md#761) [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>remix-run/react-router (react-router)</summary> ### [`v7.6.1`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#761) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/[email protected]@7.6.1) ##### Patch Changes - Update `Route.MetaArgs` to reflect that `data` can be potentially `undefined` ([#&#8203;13563](https://redirect.github.com/remix-run/react-router/pull/13563)) This is primarily for cases where a route `loader` threw an error to it's own `ErrorBoundary`. but it also arises in the case of a 404 which renders the root `ErrorBoundary`/`meta` but the root loader did not run because not routes matched. - Partially revert optimization added in `7.1.4` to reduce calls to `matchRoutes` because it surfaced other issues ([#&#8203;13562](https://redirect.github.com/remix-run/react-router/pull/13562)) - Fix typegen when same route is used at multiple paths ([#&#8203;13574](https://redirect.github.com/remix-run/react-router/pull/13574)) For example, `routes/route.tsx` is used at 4 different paths here: ```ts import { type RouteConfig, route } from "@&#8203;react-router/dev/routes"; export default [ route("base/:base", "routes/base.tsx", [ route("home/:home", "routes/route.tsx", { id: "home" }), route("changelog/:changelog", "routes/route.tsx", { id: "changelog" }), route("splat/*", "routes/route.tsx", { id: "splat" }), ]), route("other/:other", "routes/route.tsx", { id: "other" }), ] satisfies RouteConfig; ``` Previously, typegen would arbitrarily pick one of these paths to be the "winner" and generate types for the route module based on that path. Now, typegen creates unions as necessary for alternate paths for the same route file. - Better types for `params` ([#&#8203;13543](https://redirect.github.com/remix-run/react-router/pull/13543)) For example: ```ts // routes.ts import { type RouteConfig, route } from "@&#8203;react-router/dev/routes"; export default [ route("parent/:p", "routes/parent.tsx", [ route("layout/:l", "routes/layout.tsx", [ route("child1/:c1a/:c1b", "routes/child1.tsx"), route("child2/:c2a/:c2b", "routes/child2.tsx"), ]), ]), ] satisfies RouteConfig; ``` Previously, `params` for the `routes/layout.tsx` route were calculated as `{ p: string, l: string }`. This incorrectly ignores params that could come from child routes. If visiting `/parent/1/layout/2/child1/3/4`, the actual params passed to `routes/layout.tsx` will have a type of `{ p: string, l: string, c1a: string, c1b: string }`. Now, `params` are aware of child routes and autocompletion will include child params as optionals: ```ts params.| // ^ cursor is here and you ask for autocompletion // p: string // l: string // c1a?: string // c1b?: string // c2a?: string // c2b?: string ``` You can also narrow the types for `params` as it is implemented as a normalized union of params for each page that includes `routes/layout.tsx`: ```ts if (typeof params.c1a === 'string') { params.| // ^ cursor is here and you ask for autocompletion // p: string // l: string // c1a: string // c1b: string } ``` *** UNSTABLE: renamed internal `react-router/route-module` export to `react-router/internal` UNSTABLE: removed `Info` export from generated `+types/*` files - Avoid initial fetcher execution 404 error when Lazy Route Discovery is interrupted by a navigation ([#&#8203;13564](https://redirect.github.com/remix-run/react-router/pull/13564)) - href replaces splats `*` ([#&#8203;13593](https://redirect.github.com/remix-run/react-router/pull/13593)) ```ts const a = href("/products/*", { "*": "/1/edit" }); // -> /products/1/edit ``` </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:eyJjcmVhdGVkSW5WZXIiOiI0MC4xNi4wIiwidXBkYXRlZEluVmVyIjoiNDAuMTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent fee3777 commit 5dd636f

File tree

14 files changed

+92
-92
lines changed

14 files changed

+92
-92
lines changed

examples/nextjs-app/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nextjs-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"@ui5/webcomponents-base": "2.10.0",
1414
"@ui5/webcomponents-fiori": "2.10.0",
1515
"@ui5/webcomponents-react": "2.10.0",
16-
"@types/node": "22.15.19",
17-
"@types/react": "19.1.4",
16+
"@types/node": "22.15.21",
17+
"@types/react": "19.1.5",
1818
"@types/react-dom": "19.1.5",
1919
"eslint": "9.26.0",
2020
"eslint-config-next": "15.3.2",

examples/nextjs-pages/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nextjs-pages/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"@ui5/webcomponents-base": "2.10.0",
1414
"@ui5/webcomponents-fiori": "2.10.0",
1515
"@ui5/webcomponents-react": "2.10.0",
16-
"@types/node": "22.15.19",
17-
"@types/react": "19.1.4",
16+
"@types/node": "22.15.21",
17+
"@types/react": "19.1.5",
1818
"@types/react-dom": "19.1.5",
1919
"eslint": "9.26.0",
2020
"eslint-config-next": "15.3.2",

examples/react-router-ts/package-lock.json

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/react-router-ts/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"typecheck": "react-router typegen && tsc"
1212
},
1313
"dependencies": {
14-
"@react-router/node": "7.6.0",
15-
"@react-router/serve": "7.6.0",
14+
"@react-router/node": "7.6.1",
15+
"@react-router/serve": "7.6.1",
1616
"@ui5/webcomponents": "2.10.0",
1717
"@ui5/webcomponents-base": "2.10.0",
1818
"@ui5/webcomponents-fiori": "2.10.0",
@@ -21,11 +21,11 @@
2121
"isbot": "5.1.28",
2222
"react": "19.1.0",
2323
"react-dom": "19.1.0",
24-
"react-router": "7.6.0"
24+
"react-router": "7.6.1"
2525
},
2626
"devDependencies": {
27-
"@react-router/dev": "7.6.0",
28-
"@types/react": "19.1.4",
27+
"@react-router/dev": "7.6.1",
28+
"@types/react": "19.1.5",
2929
"@types/react-dom": "19.1.5",
3030
"eslint": "9.26.0",
3131
"eslint-import-resolver-typescript": "4.3.5",

examples/vite-ts/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/vite-ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"@ui5/webcomponents-react": "2.10.0",
2222
"react": "19.1.0",
2323
"react-dom": "19.1.0",
24-
"react-router": "7.6.0"
24+
"react-router": "7.6.1"
2525
},
2626
"devDependencies": {
27-
"@types/react": "19.1.4",
27+
"@types/react": "19.1.5",
2828
"@types/react-dom": "19.1.5",
2929
"@ui5/webcomponents-cypress-commands": "2.10.0",
3030
"@vitejs/plugin-react": "4.4.1",

templates/nextjs-app/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/nextjs-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"@ui5/webcomponents-base": "2.10.0",
1414
"@ui5/webcomponents-fiori": "2.10.0",
1515
"@ui5/webcomponents-react": "2.10.0",
16-
"@types/node": "22.15.19",
17-
"@types/react": "19.1.4",
16+
"@types/node": "22.15.21",
17+
"@types/react": "19.1.5",
1818
"@types/react-dom": "19.1.5",
1919
"eslint": "9.26.0",
2020
"eslint-config-next": "15.3.2",

0 commit comments

Comments
 (0)