Skip to content

Commit d317ba6

Browse files
chore(deps): update all non-major dependencies (minor) (#8505)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [chromatic](https://www.chromatic.com) ([source](https://redirect.github.com/chromaui/chromatic-cli)) | [`16.2.0` → `16.3.0`](https://renovatebot.com/diffs/npm/chromatic/16.2.0/16.3.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/16.3.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/16.2.0/16.3.0?slim=true) | | [cypress](https://cypress.io) ([source](https://redirect.github.com/cypress-io/cypress)) | [`15.13.1` → `15.14.0`](https://renovatebot.com/diffs/npm/cypress/15.13.1/15.14.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/15.14.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/15.13.1/15.14.0?slim=true) | | [eslint-plugin-react-hooks](https://react.dev/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)) | [`7.0.1` → `7.1.0`](https://renovatebot.com/diffs/npm/eslint-plugin-react-hooks/7.0.1/7.1.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-react-hooks/7.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-react-hooks/7.0.1/7.1.0?slim=true) | | [globals](https://redirect.github.com/sindresorhus/globals) | [`17.4.0` → `17.5.0`](https://renovatebot.com/diffs/npm/globals/17.4.0/17.5.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/globals/17.5.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/globals/17.4.0/17.5.0?slim=true) | | [yarn](https://redirect.github.com/yarnpkg/berry) ([source](https://redirect.github.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli)) | [`4.13.0` → `4.14.1`](https://renovatebot.com/diffs/npm/yarn/4.13.0/4.14.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@yarnpkg%2fcli/4.14.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@yarnpkg%2fcli/4.13.0/4.14.1?slim=true) | --- ### Release Notes <details> <summary>chromaui/chromatic-cli (chromatic)</summary> ### [`v16.3.0`](https://redirect.github.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1630-Tue-Apr-14-2026) [Compare Source](https://redirect.github.com/chromaui/chromatic-cli/compare/v16.2.0...v16.3.0) ##### 🚀 Enhancement - feat: add `--vitest` flag for `@chromatic-com/vitest` integration [#&#8203;1252](https://redirect.github.com/chromaui/chromatic-cli/pull/1252) ([@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio)) - Show more information on invalid React Native builds [#&#8203;1271](https://redirect.github.com/chromaui/chromatic-cli/pull/1271) ([@&#8203;codykaup](https://redirect.github.com/codykaup)) ##### Authors: 2 - Ari Perkkiö ([@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio)) - Cody Kaup ([@&#8203;codykaup](https://redirect.github.com/codykaup)) *** </details> <details> <summary>cypress-io/cypress (cypress)</summary> ### [`v15.14.0`](https://redirect.github.com/cypress-io/cypress/releases/tag/v15.14.0) [Compare Source](https://redirect.github.com/cypress-io/cypress/compare/v15.13.1...v15.14.0) Changelog: <https://docs.cypress.io/app/references/changelog#15-14-0> </details> <details> <summary>facebook/react (eslint-plugin-react-hooks)</summary> ### [`v7.1.0`](https://redirect.github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#710) [Compare Source](https://redirect.github.com/facebook/react/compare/408b38ef7304faf022d2a37110c57efce12c6bad...eslint-plugin-react-hooks@7.1.0) This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better `set-state-in-effect` detection, improved ref validation, and more helpful error reporting. - Add ESLint v10 support. ([@&#8203;nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo) in [#&#8203;35720](https://redirect.github.com/facebook/react/pull/35720)) - Skip compilation for non-React files to improve performance. ([@&#8203;josephsavona](https://redirect.github.com/josephsavona) in [#&#8203;35589](https://redirect.github.com/facebook/react/pull/35589)) - Fix exhaustive deps bug with Flow type casting. ([@&#8203;jorge-cab](https://redirect.github.com/jorge-cab) in [#&#8203;35691](https://redirect.github.com/facebook/react/pull/35691)) - Fix `useEffectEvent` checks in component syntax. ([@&#8203;jbrown215](https://redirect.github.com/jbrown215) in [#&#8203;35041](https://redirect.github.com/facebook/react/pull/35041)) - Improved `set-state-in-effect` validation with fewer false negatives. ([@&#8203;jorge-cab](https://redirect.github.com/jorge-cab) in [#&#8203;35134](https://redirect.github.com/facebook/react/pull/35134), [@&#8203;josephsavona](https://redirect.github.com/josephsavona) in [#&#8203;35147](https://redirect.github.com/facebook/react/pull/35147), [@&#8203;jackpope](https://redirect.github.com/jackpope) in [#&#8203;35214](https://redirect.github.com/facebook/react/pull/35214), [@&#8203;chesnokov-tony](https://redirect.github.com/chesnokov-tony) in [#&#8203;35419](https://redirect.github.com/facebook/react/pull/35419), [@&#8203;jsleitor](https://redirect.github.com/jsleitor) in [#&#8203;36107](https://redirect.github.com/facebook/react/pull/36107)) - Improved ref validation for non-mutating functions and event handler props. ([@&#8203;josephsavona](https://redirect.github.com/josephsavona) in [#&#8203;35893](https://redirect.github.com/facebook/react/pull/35893), [@&#8203;kolvian](https://redirect.github.com/kolvian) in [#&#8203;35062](https://redirect.github.com/facebook/react/pull/35062)) - Compiler now reports all errors instead of stopping at the first. ([@&#8203;josephsavona](https://redirect.github.com/josephsavona) in [#&#8203;35873](https://redirect.github.com/facebook/react/pull/35873)–[#&#8203;35884](https://redirect.github.com/facebook/react/pull/35884)) - Improved source locations and error display in compiler diagnostics. ([@&#8203;nathanmarks](https://redirect.github.com/nathanmarks) in [#&#8203;35348](https://redirect.github.com/facebook/react/pull/35348), [@&#8203;josephsavona](https://redirect.github.com/josephsavona) in [#&#8203;34963](https://redirect.github.com/facebook/react/pull/34963)) </details> <details> <summary>sindresorhus/globals (globals)</summary> ### [`v17.5.0`]() [Compare Source](https://redirect.github.com/sindresorhus/globals/compare/v17.4.0...v17.5.0) </details> <details> <summary>yarnpkg/berry (yarn)</summary> ### [`v4.14.1`](https://redirect.github.com/yarnpkg/berry/compare/38ebf0014ba8c0356168d4bbd23c09dbb2bdc9ba...72b4aa5d62a6c42dc765710ea66b6dd0f63f4941) [Compare Source](https://redirect.github.com/yarnpkg/berry/compare/38ebf0014ba8c0356168d4bbd23c09dbb2bdc9ba...72b4aa5d62a6c42dc765710ea66b6dd0f63f4941) ### [`v4.14.0`](https://redirect.github.com/yarnpkg/berry/compare/81f3e15d2b6259cb64245411220fa1bf61242526...38ebf0014ba8c0356168d4bbd23c09dbb2bdc9ba) [Compare Source](https://redirect.github.com/yarnpkg/berry/compare/81f3e15d2b6259cb64245411220fa1bf61242526...38ebf0014ba8c0356168d4bbd23c09dbb2bdc9ba) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Harbarth <lukas.harbarth@sap.com>
1 parent 0b27ab9 commit d317ba6

32 files changed

Lines changed: 372 additions & 394 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ jobs:
116116
name: build-${{ matrix.react }}
117117
path: packages
118118

119+
# TODO: remove once Cypress properly installs the binary via postinstall
120+
- name: Install Cypress binary
121+
run: npx cypress install
122+
119123
- name: Cypress run
120124
uses: cypress-io/github-action@783cb3f07983868532cabaedaa1e6c00ff4786a8 # v7.1.9
121125
with:

.storybook/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ export function useFakeStream(initialValue = '', typingDelay = 10, startingDelay
9797
const [isTyping, setIsTyping] = useState(false); // actively typing characters
9898
const intervalRef = useRef<ReturnType<typeof setInterval> | null>(null);
9999
const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
100-
const isProcessingRef = useRef(isProcessing);
101-
const isTypingRef = useRef(isTyping);
102-
isProcessingRef.current = isProcessing;
103-
isTypingRef.current = isTyping;
104100

105101
const startStream = ({ text, onComplete, onProcessingComplete }: StartStreamOptions) => {
106102
// Stop previous stream and timeout
Lines changed: 288 additions & 288 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-4.13.0.cjs
3+
yarnPath: .yarn/releases/yarn-4.14.1.cjs

cypress.config.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
import codeCoverageTask from '@cypress/code-coverage/task';
22
import { defineConfig } from 'cypress';
33

4-
//todo: remove once officially supported by Cypress: https://github.com/cypress-io/cypress/issues/33078
5-
const stripLegacyCypressOptimizeDepsPlugin = () => ({
6-
name: 'cypress-vite8-compat',
7-
config(config) {
8-
if (config?.optimizeDeps?.esbuildOptions) {
9-
delete config.optimizeDeps.esbuildOptions;
10-
}
11-
},
12-
});
13-
144
export default defineConfig({
155
env: {
166
codeCoverage: {
@@ -37,12 +27,6 @@ export default defineConfig({
3727
devServer: {
3828
framework: 'react',
3929
bundler: 'vite',
40-
viteConfig: {
41-
// passing `viteConfig` as an object makes Cypress set `configFile: false` internally
42-
configFile: 'vite.config.ts',
43-
// plugins from both configs are merged by Vite's `mergeConfig`
44-
plugins: [stripLegacyCypressOptimizeDepsPlugin()],
45-
},
4630
},
4731
experimentalRunAllSpecs: true,
4832
excludeSpecPattern: ['**/e2e/**', ...(process.env.CI ? ['**/SelectDialog/**'] : [])],

examples/vite-ts/cypress.config.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
import { defineConfig } from 'cypress';
22

3-
//todo: remove once officially supported by Cypress: https://github.com/cypress-io/cypress/issues/33078
4-
const stripLegacyCypressOptimizeDepsPlugin = () => ({
5-
name: 'cypress-vite8-compat',
6-
config(config) {
7-
if (config?.optimizeDeps?.esbuildOptions) {
8-
delete config.optimizeDeps.esbuildOptions;
9-
}
10-
},
11-
});
12-
133
export default defineConfig({
144
includeShadowDom: true,
155
viewportWidth: 1920,
@@ -18,12 +8,6 @@ export default defineConfig({
188
devServer: {
199
framework: 'react',
2010
bundler: 'vite',
21-
viteConfig: {
22-
// passing `viteConfig` as an object makes Cypress set `configFile: false` internally
23-
configFile: 'vite.config.ts',
24-
// plugins from both configs are merged by Vite's `mergeConfig`
25-
plugins: [stripLegacyCypressOptimizeDepsPlugin()],
26-
},
2711
},
2812
},
2913

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@
7676
"@types/react-dom": "19.2.3",
7777
"@ui5/webcomponents-tools": "2.21.1",
7878
"@vitejs/plugin-react": "6.0.1",
79-
"chromatic": "16.2.0",
79+
"chromatic": "16.3.0",
8080
"cssnano": "7.1.5",
81-
"cypress": "15.13.1",
81+
"cypress": "15.14.0",
8282
"cypress-real-events": "1.15.0",
8383
"dedent": "1.7.2",
8484
"documentation": "14.0.3",
@@ -89,10 +89,10 @@
8989
"eslint-plugin-no-only-tests": "3.3.0",
9090
"eslint-plugin-prettier": "5.5.5",
9191
"eslint-plugin-react": "7.37.5",
92-
"eslint-plugin-react-hooks": "7.0.1",
92+
"eslint-plugin-react-hooks": "7.1.0",
9393
"eslint-plugin-storybook": "10.3.5",
9494
"glob": "13.0.6",
95-
"globals": "17.4.0",
95+
"globals": "17.5.0",
9696
"husky": "9.1.7",
9797
"lerna": "9.0.7",
9898
"lint-staged": "16.4.0",
@@ -132,5 +132,5 @@
132132
"lcov"
133133
]
134134
},
135-
"packageManager": "yarn@4.13.0"
135+
"packageManager": "yarn@4.14.1"
136136
}

packages/base/src/internal/hooks/useSyncRef.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export function useSyncRef<RefType = never>(
2929
const localRef = useRef<RefType | null>(null);
3030

3131
const componentRef = useCallback(
32+
// callback ref forwards to external ref
33+
// eslint-disable-next-line react-hooks/immutability
3234
(node) => {
3335
if (ref) {
3436
if (typeof ref === 'function') {

packages/base/src/internal/wrapper/withWebComponent.cy.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ describe('withWebComponent', () => {
198198
</Button>
199199
<Popover
200200
open={open}
201-
// eslint-disable-next-line react-hooks/refs
202201
opener={btnRef.current}
203202
onClose={() => {
204203
setOpen(false);

packages/charts/src/components/BarChart/BarChart.cy.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { complexDataSet } from '../../resources/DemoProps.js';
2-
import { BarChart } from './index.js';
31
import {
42
cypressPassThroughTestsFactory,
53
testChartLegendConfig,
64
testChartZoomingTool,
75
testStackAggregateTotals,
86
} from '../../../../../cypress/support/utils';
7+
import { complexDataSet } from '../../resources/DemoProps.js';
8+
import { BarChart } from './index.js';
99

1010
const dimensions = [
1111
{

0 commit comments

Comments
 (0)