From 949d0dc8a9943c0f0f9aa3fb55348a9c3258a028 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Oct 2025 10:44:06 +0000 Subject: [PATCH 1/5] Update eslint-plugins (#31033) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 4 ++-- yarn.lock | 36 +++++++++++++++++++++++------------- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 4b5eb021f0..1b6e22ef48 100644 --- a/package.json +++ b/package.json @@ -242,12 +242,12 @@ "eslint-config-prettier": "^10.0.0", "eslint-plugin-deprecate": "0.8.7", "eslint-plugin-import": "^2.25.4", - "eslint-plugin-jest": "^28.0.0", + "eslint-plugin-jest": "^29.0.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-matrix-org": "^3.0.0", "eslint-plugin-react": "^7.28.0", "eslint-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124", - "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-hooks": "^7.0.0", "eslint-plugin-unicorn": "^56.0.0", "express": "^5.0.0", "fake-indexeddb": "^6.0.0", diff --git a/yarn.lock b/yarn.lock index 4c0d254df2..3e7a41a306 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3948,7 +3948,7 @@ semver "^7.6.0" ts-api-utils "^2.1.0" -"@typescript-eslint/utils@8.46.1", "@typescript-eslint/utils@^6.0.0 || ^7.0.0 || ^8.0.0": +"@typescript-eslint/utils@8.46.1", "@typescript-eslint/utils@^8.0.0": version "8.46.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.46.1.tgz#c572184d9227d66b10a954b90249a20c48b22452" integrity sha512-vkYUy6LdZS7q1v/Gxb2Zs7zziuXN0wxqsetJdeZdRe/f5dwJFglmuvZBfTUivCtjH725C1jWCDfpadadD95EDQ== @@ -3991,9 +3991,8 @@ classnames "^2.5.1" vaul "^1.0.0" -"@vector-im/matrix-wysiwyg-wasm@link:../../../../Library/Caches/Yarn/v6/npm-@vector-im-matrix-wysiwyg-2.40.0-53c9ca5ea907d91e4515da64f20a82e5586b882c-integrity/node_modules/bindings/wysiwyg-wasm": +"@vector-im/matrix-wysiwyg-wasm@link:../../Library/Caches/Yarn/v6/npm-@vector-im-matrix-wysiwyg-2.40.0-53c9ca5ea907d91e4515da64f20a82e5586b882c-integrity/node_modules/bindings/wysiwyg-wasm": version "0.0.0" - uid "" "@vector-im/matrix-wysiwyg@2.40.0": version "2.40.0" @@ -6706,12 +6705,12 @@ eslint-plugin-import@^2.25.4: string.prototype.trimend "^1.0.9" tsconfig-paths "^3.15.0" -eslint-plugin-jest@^28.0.0: - version "28.14.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-28.14.0.tgz#02da77dc27d7b4c5480df3552ea26de056857b36" - integrity sha512-P9s/qXSMTpRTerE2FQ0qJet2gKbcGyFTPAJipoKxmWqR6uuFqIqk8FuEfg5yBieOezVrEfAMZrEwJ6yEp+1MFQ== +eslint-plugin-jest@^29.0.0: + version "29.0.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-29.0.1.tgz#0f72a81349409d20742208260c9a6cb9efed4df5" + integrity sha512-EE44T0OSMCeXhDrrdsbKAhprobKkPtJTbQz5yEktysNpHeDZTAL1SfDTNKmcFfJkY6yrQLtTKZALrD3j/Gpmiw== dependencies: - "@typescript-eslint/utils" "^6.0.0 || ^7.0.0 || ^8.0.0" + "@typescript-eslint/utils" "^8.0.0" eslint-plugin-jsx-a11y@^6.5.1: version "6.10.2" @@ -6751,10 +6750,16 @@ eslint-plugin-react-compiler@^19.0.0-beta-df7b47d-20241124: zod "^3.22.4" zod-validation-error "^3.0.3" -eslint-plugin-react-hooks@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz#1be0080901e6ac31ce7971beed3d3ec0a423d9e3" - integrity sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg== +eslint-plugin-react-hooks@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.0.tgz#a255a1db826ea42b0e37f160430e4bd0b4b659f9" + integrity sha512-fNXaOwvKwq2+pXiRpXc825Vd63+KM4DLL40Rtlycb8m7fYpp6efrTp1sa6ZbP/Ap58K2bEKFXRmhURE+CJAQWw== + dependencies: + "@babel/core" "^7.24.4" + "@babel/parser" "^7.24.4" + hermes-parser "^0.25.1" + zod "^3.22.4 || ^4.0.0" + zod-validation-error "^3.0.3 || ^4.0.0" eslint-plugin-react@^7.28.0: version "7.37.5" @@ -14123,12 +14128,17 @@ zod-validation-error@^3.0.3: resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-3.5.3.tgz#85ba33290200d8db9f043621e284f40dddefb7e5" integrity sha512-OT5Y8lbUadqVZCsnyFaTQ4/O2mys4tj7PqhdbBCp7McPwvIEKfPtdA6QfPeFQK2/Rz5LgwmAXRJTugBNBi0btw== +"zod-validation-error@^3.0.3 || ^4.0.0": + version "4.0.2" + resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-4.0.2.tgz#bc605eba49ce0fcd598c127fee1c236be3f22918" + integrity sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ== + zod@^3.22.4: version "3.25.76" resolved "https://registry.yarnpkg.com/zod/-/zod-3.25.76.tgz#26841c3f6fd22a6a2760e7ccb719179768471e34" integrity sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ== -zod@^4.1.11: +"zod@^3.22.4 || ^4.0.0", zod@^4.1.11: version "4.1.12" resolved "https://registry.yarnpkg.com/zod/-/zod-4.1.12.tgz#64f1ea53d00eab91853195653b5af9eee68970f0" integrity sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ== From ac96ab0d460d2d4c666b5c5f3b90e3ecfed2dd1f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Oct 2025 11:20:34 +0000 Subject: [PATCH 2/5] Update react monorepo (#31014) * Update react monorepo * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update shared-components snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- package.json | 10 +-- .../AudioPlayerView.test.tsx.snap | 8 +- .../PlayPauseButton.test.tsx.snap | 4 +- .../Pill/__snapshots__/Pill.test.tsx.snap | 6 +- .../__snapshots__/RichList.test.tsx.snap | 6 +- .../__snapshots__/FilePanel-test.tsx.snap | 2 +- .../__snapshots__/RoomView-test.tsx.snap | 60 +++++++-------- .../SpaceHierarchy-test.tsx.snap | 34 ++++----- .../__snapshots__/ThreadPanel-test.tsx.snap | 6 +- .../DecoratedRoomAvatar-test.tsx.snap | 4 +- .../RoomAvatarView-test.tsx.snap | 14 ++-- .../WithPresenceIndicator-test.tsx.snap | 6 +- .../BeaconListItem-test.tsx.snap | 2 +- .../__snapshots__/DialogSidebar-test.tsx.snap | 2 +- .../ShareLatestLocation-test.tsx.snap | 2 +- .../ConfirmRejectInviteDialog-test.tsx.snap | 16 ++-- .../CreateRoomDialog-test.tsx.snap | 14 ++-- .../DevtoolsDialog-test.tsx.snap | 6 +- .../__snapshots__/LogoutDialog-test.tsx.snap | 4 +- ...nageRestrictedJoinRuleDialog-test.tsx.snap | 4 +- .../MessageEditHistoryDialog-test.tsx.snap | 4 +- .../ReportRoomDialog-test.tsx.snap | 6 +- .../ServerPickerDialog-test.tsx.snap | 2 +- .../VerificationRequestDialog-test.tsx.snap | 2 +- .../RestoreKeyBackupDialog-test.tsx.snap | 6 +- .../__snapshots__/AppTile-test.tsx.snap | 8 +- .../__snapshots__/FacePile-test.tsx.snap | 2 +- .../__snapshots__/ImageView-test.tsx.snap | 2 +- .../__snapshots__/InfoTooltip-test.tsx.snap | 2 +- .../LabelledCheckbox-test.tsx.snap | 4 +- .../__snapshots__/RoomFacePile-test.tsx.snap | 4 +- .../SettingsDropdown-test.tsx.snap | 8 +- .../__snapshots__/SettingsField-test.tsx.snap | 4 +- .../LocationShareMenu-test.tsx.snap | 6 +- .../LocationViewDialog-test.tsx.snap | 2 +- .../__snapshots__/MLocationBody-test.tsx.snap | 4 +- .../__snapshots__/PollHistory-test.tsx.snap | 6 +- .../__snapshots__/PollListItem-test.tsx.snap | 2 +- .../PollListItemEnded-test.tsx.snap | 2 +- .../__snapshots__/BaseCard-test.tsx.snap | 2 +- .../ExtensionsCard-test.tsx.snap | 4 +- .../PinnedMessagesCard-test.tsx.snap | 40 +++++----- .../RoomSummaryCardView-test.tsx.snap | 14 ++-- .../__snapshots__/UserInfo-test.tsx.snap | 4 +- .../__snapshots__/RoomHeader-test.tsx.snap | 10 +-- .../VideoRoomChatButton-test.tsx.snap | 2 +- .../RoomListHeaderView-test.tsx.snap | 36 ++++----- .../RoomListItemMenuView-test.tsx.snap | 16 ++-- .../RoomListOptionsMenu-test.tsx.snap | 4 +- .../RoomListPrimaryFilters-test.tsx.snap | 2 +- .../PinnedEventTile-test.tsx.snap | 24 +++--- .../PinnedMessageBanner-test.tsx.snap | 38 +++++----- .../ReadReceiptGroup-test.tsx.snap | 8 +- .../ThirdPartyMemberInfo-test.tsx.snap | 4 +- .../MemberTileView-test.tsx.snap | 4 +- .../LayoutSwitcher-test.tsx.snap | 20 ++--- .../__snapshots__/Notifications-test.tsx.snap | 10 +-- .../__snapshots__/SetIdServer-test.tsx.snap | 4 +- .../ThemeChoicePanel-test.tsx.snap | 76 +++++++++---------- .../FilteredDeviceListHeader-test.tsx.snap | 4 +- .../__snapshots__/AdvancedPanel-test.tsx.snap | 8 +- .../ChangeRecoveryKey-test.tsx.snap | 24 +++--- .../Notifications2-test.tsx.snap | 42 +++++----- .../AppearanceUserSettingsTab-test.tsx.snap | 32 ++++---- .../PreferencesUserSettingsTab-test.tsx.snap | 12 +-- .../SecurityUserSettingsTab-test.tsx.snap | 4 +- .../SessionManagerTab-test.tsx.snap | 4 +- .../SidebarUserSettingsTab-test.tsx.snap | 32 ++++---- .../__snapshots__/SpacePanel-test.tsx.snap | 10 +-- .../SpaceSettingsVisibilityTab-test.tsx.snap | 6 +- .../ThreadsActivityCentre-test.tsx.snap | 18 ++--- .../__snapshots__/link-tooltip-test.tsx.snap | 2 +- yarn.lock | 46 +++++------ 73 files changed, 426 insertions(+), 426 deletions(-) diff --git a/package.json b/package.json index 1b6e22ef48..4b5456f4ec 100644 --- a/package.json +++ b/package.json @@ -68,10 +68,10 @@ "postinstall": "patch-package" }, "resolutions": { - "**/pretty-format/react-is": "19.1.1", + "**/pretty-format/react-is": "19.2.0", "@playwright/test": "1.56.0", - "@types/react": "19.1.14", - "@types/react-dom": "19.1.9", + "@types/react": "19.2.2", + "@types/react-dom": "19.2.1", "oidc-client-ts": "3.3.0", "jwt-decode": "4.0.0", "caniuse-lite": "1.0.30001750", @@ -214,9 +214,9 @@ "@types/node-fetch": "^2.6.2", "@types/pako": "^2.0.0", "@types/qrcode": "^1.3.5", - "@types/react": "19.1.14", + "@types/react": "19.2.2", "@types/react-beautiful-dnd": "^13.0.0", - "@types/react-dom": "19.1.9", + "@types/react-dom": "19.2.1", "@types/react-transition-group": "^4.4.0", "@types/sanitize-html": "2.16.0", "@types/sdp-transform": "^2.4.10", diff --git a/packages/shared-components/src/audio/AudioPlayerView/__snapshots__/AudioPlayerView.test.tsx.snap b/packages/shared-components/src/audio/AudioPlayerView/__snapshots__/AudioPlayerView.test.tsx.snap index 790ab16870..0687ea44a8 100644 --- a/packages/shared-components/src/audio/AudioPlayerView/__snapshots__/AudioPlayerView.test.tsx.snap +++ b/packages/shared-components/src/audio/AudioPlayerView/__snapshots__/AudioPlayerView.test.tsx.snap @@ -15,7 +15,7 @@ exports[`AudioPlayerView renders the audio player in default state 1`] = ` Pill Pill diff --git a/packages/shared-components/src/rich-list/RichList/__snapshots__/RichList.test.tsx.snap b/packages/shared-components/src/rich-list/RichList/__snapshots__/RichList.test.tsx.snap index 818984a786..5569c63a9c 100644 --- a/packages/shared-components/src/rich-list/RichList/__snapshots__/RichList.test.tsx.snap +++ b/packages/shared-components/src/rich-list/RichList/__snapshots__/RichList.test.tsx.snap @@ -11,12 +11,12 @@ exports[`RichItem renders the list 1`] = ` > Rich List Title