Commit 6e6f13f
authored
chore(deps): update all non-major dependencies (examples, templates & patterns) (minor) (#8162)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[eslint-plugin-react-refresh](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh)
| [`0.4.26` →
`0.5.0`](https://renovatebot.com/diffs/npm/eslint-plugin-react-refresh/0.4.26/0.5.0)
|

|

|
| [globals](https://redirect.github.com/sindresorhus/globals) |
[`17.1.0` →
`17.3.0`](https://renovatebot.com/diffs/npm/globals/17.1.0/17.3.0) |

|

|
|
[typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint)
([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint))
| [`8.53.1` →
`8.54.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.53.1/8.54.0)
|

|

|
---
### Release Notes
<details>
<summary>ArnaudBarre/eslint-plugin-react-refresh
(eslint-plugin-react-refresh)</summary>
###
[`v0.5.0`](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/HEAD/CHANGELOG.md#050)
[Compare
Source](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.26...v0.5.0)
##### Breaking changes
- The package now ships as ESM and requires ESLint 9 + node 20. Because
legacy config doesn't support ESM, this requires to use [flat
config](https://eslint.org/docs/latest/use/configure/migration-guide)
- A new `reactRefresh` export is available and prefered over the default
export. It's an object with two properties:
- `plugin`: The plugin object with the rules
- `configs`: An object containing configuration presets, each exposed as
a function. These functions accept your custom options, merge them with
sensible defaults for that config, and return the final config object.
- `customHOCs` option was renamed to `extraHOCs`
- Validation of HOCs calls is now more strict, you may need to add some
HOCs to the `extraHOCs` option
Config example:
```js
import { defineConfig } from "eslint/config";
import { reactRefresh } from "eslint-plugin-react-refresh";
export default defineConfig(
/* Main config */
reactRefresh.configs.vite({ extraHOCs: ["someLibHOC"] }),
);
```
Config example without config:
```js
import { defineConfig } from "eslint/config";
import { reactRefresh } from "eslint-plugin-react-refresh";
export default defineConfig({
files: ["**/*.ts", "**/*.tsx"],
plugins: {
// other plugins
"react-refresh": reactRefresh.plugin,
},
rules: {
// other rules
"react-refresh/only-export-components": [
"warn",
{ extraHOCs: ["someLibHOC"] },
],
},
});
```
##### Why
This version follows a revamp of the internal logic to better make the
difference between random call expressions like `export const Enum =
Object.keys(Record)` and actual React HOC calls like `export const
MemoComponent = memo(Component)`. (fixes
[#​93](https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/93))
The rule now handles ternaries and patterns like `export default
customHOC(props)(Component)` which makes it able to correctly support
files like [this
one](https://redirect.github.com/eclipse-apoapsis/ort-server/blob/ddfc624ce71b9f2ca6bad9b8c82d4c3249dd9c8b/ui/src/routes/__root.tsx)
given this config:
```json
{
"react-refresh/only-export-components": [
"warn",
{ "extraHOCs": ["createRootRouteWithContext"] }
]
}
```
> \[!NOTE]
> Actually createRoute functions from TanStack Router are not React
HOCs, they return route objects that [fake to be a memoized
component](https://redirect.github.com/TanStack/router/blob/8628d0189412ccb8d3a01840aa18bac8295e18c8/packages/react-router/src/route.tsx#L263)
but are not. When only doing `createRootRoute({ component: Foo })`, HMR
will work fine, but as soon as you add a prop to the options that is not
a React component, HMR will not work. I would recommend to avoid adding
any TanStack function to `extraHOCs` it you want to preserve good HMR in
the long term. [Bluesky
thread](https://bsky.app/profile/arnaud-barre.bsky.social/post/3ma5h5tf2sk2e).
Because I'm not 100% sure this new logic doesn't introduce any false
positive, this is done in a major-like version. This also give me the
occasion to remove the hardcoded `connect` from the rule. If you are
using `connect` from `react-redux`, you should now add it to `extraHOCs`
like this:
```json
{
"react-refresh/only-export-components": ["warn", { "extraHOCs": ["connect"] }]
}
```
</details>
<details>
<summary>sindresorhus/globals (globals)</summary>
###
[`v17.3.0`](https://redirect.github.com/sindresorhus/globals/releases/tag/v17.3.0)
[Compare
Source](https://redirect.github.com/sindresorhus/globals/compare/v17.2.0...v17.3.0)
- Update globals (2026-02-01)
([#​336](https://redirect.github.com/sindresorhus/globals/issues/336))
[`295fba9`](https://redirect.github.com/sindresorhus/globals/commit/295fba9)
***
###
[`v17.2.0`](https://redirect.github.com/sindresorhus/globals/releases/tag/v17.2.0)
[Compare
Source](https://redirect.github.com/sindresorhus/globals/compare/v17.1.0...v17.2.0)
- `jasmine`: Add `throwUnless` and `throwUnlessAsync` globals
([#​335](https://redirect.github.com/sindresorhus/globals/issues/335))
[`97f23a7`](https://redirect.github.com/sindresorhus/globals/commit/97f23a7)
***
</details>
<details>
<summary>typescript-eslint/typescript-eslint
(typescript-eslint)</summary>
###
[`v8.54.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#8540-2026-01-26)
[Compare
Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.53.1...v8.54.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://typescript-eslint.io/users/versioning) and
[releases](https://typescript-eslint.io/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/UI5/webcomponents-react).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 712c45a commit 6e6f13f
8 files changed
Lines changed: 290 additions & 290 deletions
File tree
- examples
- react-router-ts
- vite-ts
- templates/vite-ts
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments