Skip to content

Commit 3b9955b

Browse files
authored
Merge pull request #39 from element-hq/renovate/major-web
Update Web (major)
2 parents 85cdf8e + b2a3979 commit 3b9955b

File tree

7 files changed

+1362
-1249
lines changed

7 files changed

+1362
-1249
lines changed

.github/workflows/react-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [18.x]
22+
node-version: [22]
2323
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424

2525
steps:

bindings/wysiwyg-wasm/yarn.lock

Lines changed: 1027 additions & 697 deletions
Large diffs are not rendered by default.

platforms/web/example-wysiwyg/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"@types/react-dom": "^19.0.0",
1919
"@vitejs/plugin-react": "^4.0.0",
2020
"typescript": "^5.0.0",
21-
"vite": "6.3.5"
21+
"vite": "7.0.6"
2222
}
2323
}

platforms/web/example-wysiwyg/yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ escalade@^3.2.0:
575575
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5"
576576
integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==
577577

578-
fdir@^6.4.4:
578+
fdir@^6.4.4, fdir@^6.4.6:
579579
version "6.4.6"
580580
resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.4.6.tgz#2b268c0232697063111bbf3f64810a2a741ba281"
581581
integrity sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==
@@ -632,12 +632,12 @@ picocolors@^1.1.1:
632632
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
633633
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
634634

635-
picomatch@^4.0.2:
635+
picomatch@^4.0.2, picomatch@^4.0.3:
636636
version "4.0.3"
637637
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042"
638638
integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==
639639

640-
postcss@^8.5.3:
640+
postcss@^8.5.6:
641641
version "8.5.6"
642642
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c"
643643
integrity sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==
@@ -663,7 +663,7 @@ react@^19.0.0:
663663
resolved "https://registry.yarnpkg.com/react/-/react-19.1.0.tgz#926864b6c48da7627f004795d6cce50e90793b75"
664664
integrity sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==
665665

666-
rollup@^4.34.9:
666+
rollup@^4.40.0:
667667
version "4.45.1"
668668
resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.45.1.tgz#d0ef72a8d0a9210d832f9c3c5f3b6a2aa4b0ba64"
669669
integrity sha512-4iya7Jb76fVpQyLoiVpzUrsjQ12r3dM7fIVz+4NwoYvZOShknRmiv+iu9CClZml5ZLGb0XMcYLutK6w9tgxHDw==
@@ -707,7 +707,7 @@ source-map-js@^1.2.1:
707707
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
708708
integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==
709709

710-
tinyglobby@^0.2.13:
710+
tinyglobby@^0.2.14:
711711
version "0.2.14"
712712
resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d"
713713
integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==
@@ -728,17 +728,17 @@ update-browserslist-db@^1.1.3:
728728
escalade "^3.2.0"
729729
picocolors "^1.1.1"
730730

731-
vite@6.3.5:
732-
version "6.3.5"
733-
resolved "https://registry.yarnpkg.com/vite/-/vite-6.3.5.tgz#fec73879013c9c0128c8d284504c6d19410d12a3"
734-
integrity sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==
731+
vite@7.0.6:
732+
version "7.0.6"
733+
resolved "https://registry.yarnpkg.com/vite/-/vite-7.0.6.tgz#7866ccb176db4bbeec0adfb3f907f077881591d0"
734+
integrity sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==
735735
dependencies:
736736
esbuild "^0.25.0"
737-
fdir "^6.4.4"
738-
picomatch "^4.0.2"
739-
postcss "^8.5.3"
740-
rollup "^4.34.9"
741-
tinyglobby "^0.2.13"
737+
fdir "^6.4.6"
738+
picomatch "^4.0.3"
739+
postcss "^8.5.6"
740+
rollup "^4.40.0"
741+
tinyglobby "^0.2.14"
742742
optionalDependencies:
743743
fsevents "~2.3.3"
744744

platforms/web/lib/useWysiwyg.inputEventProcessor.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ describe('inputEventProcessor', () => {
2828
fireEvent.keyDown(textbox, { key: 'A', code: 'KeyA' });
2929

3030
await waitFor(() => {
31-
expect(inputEventProcessor).toBeCalledTimes(1);
32-
expect(inputEventProcessor).toBeCalledWith(
31+
expect(inputEventProcessor).toHaveBeenCalledTimes(1);
32+
expect(inputEventProcessor).toHaveBeenCalledWith(
3333
new KeyboardEvent('keyDown', {
3434
key: 'A',
3535
code: 'KeyA',
@@ -54,8 +54,8 @@ describe('inputEventProcessor', () => {
5454
// anything to be displayed
5555
expect(textbox).toHaveTextContent('');
5656
expect(textbox).toHaveAttribute('data-content', '');
57-
expect(inputEventProcessor).toBeCalledTimes(1);
58-
expect(inputEventProcessor).toBeCalledWith(
57+
expect(inputEventProcessor).toHaveBeenCalledTimes(1);
58+
expect(inputEventProcessor).toHaveBeenCalledWith(
5959
inputEvent,
6060
expect.anything(),
6161
expect.anything(),

platforms/web/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,39 +41,39 @@
4141
"react": "^18.2.0 || ^19.0.0"
4242
},
4343
"devDependencies": {
44-
"@stylistic/eslint-plugin": "^2.12.1",
44+
"@stylistic/eslint-plugin": "^5.0.0",
4545
"@testing-library/dom": "^10.0.0",
4646
"@testing-library/jest-dom": "^6.0.0",
4747
"@testing-library/react": "^16.0.0",
4848
"@testing-library/user-event": "^14.4.3",
49-
"@types/jest": "^29.1.1",
49+
"@types/jest": "^29.0.0",
5050
"@types/react": "^19.0.0",
5151
"@types/react-dom": "^19.0.0",
5252
"@typescript-eslint/eslint-plugin": "^8.0.0",
5353
"@typescript-eslint/parser": "^8.0.0",
5454
"@vitejs/plugin-react": "^4.2.1",
55-
"@vitest/coverage-v8": "^2.1.8",
56-
"@vitest/ui": "^2.0.0",
57-
"cypress": "^13.0.0",
55+
"@vitest/coverage-v8": "^3.0.0",
56+
"@vitest/ui": "^3.0.0",
57+
"cypress": "^14.0.0",
5858
"eslint": "^9.20.0",
5959
"eslint-config-google": "^0.14.0",
60-
"eslint-config-prettier": "^9.0.0",
60+
"eslint-config-prettier": "^10.0.0",
6161
"eslint-plugin-deprecate": "^0.8.0",
6262
"eslint-plugin-import": "^2.26.0",
6363
"eslint-plugin-jsx-a11y": "^6.6.1",
6464
"eslint-plugin-matrix-org": "^2.0.0",
6565
"eslint-plugin-prettier": "^5.0.0",
6666
"eslint-plugin-react": "^7.31.8",
6767
"eslint-plugin-react-hooks": "^5.0.0",
68-
"eslint-plugin-unicorn": "^57.0.0",
69-
"jest-environment-jsdom": "^29.0.3",
68+
"eslint-plugin-unicorn": "^60.0.0",
69+
"jest-environment-jsdom": "^29.0.0",
7070
"prettier": "3.6.2",
7171
"react": "^19.0.0",
7272
"react-dom": "^19.0.0",
7373
"typescript": "^5.0.0",
74-
"vite": "6.3.5",
74+
"vite": "7.0.6",
7575
"vite-plugin-dts": "^4.3.0",
76-
"vitest": "^2.1.8",
76+
"vitest": "^3.0.0",
7777
"vitest-sonar-reporter": "^2.0.0"
7878
},
7979
"dependencies": {

0 commit comments

Comments
 (0)