diff --git a/package.json b/package.json index 6dfa1af3f9..80a0e0f822 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "resolutions": { "**/pretty-format/react-is": "19.1.0", "@playwright/test": "1.52.0", - "@types/react": "19.1.6", + "@types/react": "19.1.8", "@types/react-dom": "19.1.6", "oidc-client-ts": "3.3.0", "jwt-decode": "4.0.0", @@ -212,7 +212,7 @@ "@types/node-fetch": "^2.6.2", "@types/pako": "^2.0.0", "@types/qrcode": "^1.3.5", - "@types/react": "19.1.6", + "@types/react": "19.1.8", "@types/react-beautiful-dnd": "^13.0.0", "@types/react-dom": "19.1.6", "@types/react-transition-group": "^4.4.0", diff --git a/patches/@types+react+19.1.4.patch b/patches/@types+react+19.1.4.patch deleted file mode 100644 index ceba85b000..0000000000 --- a/patches/@types+react+19.1.4.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/node_modules/@types/react/index.d.ts b/node_modules/@types/react/index.d.ts -index d3318dc..c2b2c77 100644 ---- a/node_modules/@types/react/index.d.ts -+++ b/node_modules/@types/react/index.d.ts -@@ -134,7 +134,7 @@ declare namespace React { - props: P, - ) => ReactNode | Promise) - // constructor signature must match React.Component -- | (new(props: P) => Component); -+ | (new(props: P, context?: any) => Component); - - /** - * Created by {@link createRef}, or {@link useRef} when passed `null`. -@@ -945,7 +945,7 @@ declare namespace React { - context: unknown; - - // Keep in sync with constructor signature of JSXElementConstructor and ComponentClass. -- constructor(props: P); -+ constructor(props: P, context?: unknown); - - // We MUST keep setState() as a unified signature because it allows proper checking of the method return type. - // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257 -@@ -1117,7 +1117,7 @@ declare namespace React { - */ - interface ComponentClass

extends StaticLifecycle { - // constructor signature must match React.Component -- new(props: P): Component; -+ new(props: P, context?: any): Component; - /** - * Ignored by React. - * @deprecated Only kept in types for backwards compatibility. Will be removed in a future major release. diff --git a/yarn.lock b/yarn.lock index 746896622e..c4669d4348 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3554,10 +3554,10 @@ "@types/prop-types" "*" "@types/react" "*" -"@types/react@*", "@types/react@19.1.6": - version "19.1.6" - resolved "https://registry.yarnpkg.com/@types/react/-/react-19.1.6.tgz#dee39f3e1e9a7d693f156a5840570b6d57f325ea" - integrity sha512-JeG0rEWak0N6Itr6QUx+X60uQmN+5t3j9r/OVDtWzFXKaj6kD1BwJzOksD0FF6iWxZlbE1kB0q9vtnU2ekqa1Q== +"@types/react@*", "@types/react@19.1.8": + version "19.1.8" + resolved "https://registry.yarnpkg.com/@types/react/-/react-19.1.8.tgz#ff8395f2afb764597265ced15f8dddb0720ae1c3" + integrity sha512-AwAfQ2Wa5bCx9WP8nZL2uMZWod7J7/JSplxbTmBQ5ms6QpqNYm672H0Vu9ZVKVngQ+ii4R/byguVEUZQyeg44g== dependencies: csstype "^3.0.2"