diff --git a/.changelog/5980-fix-react-film-react-19.md b/.changelog/5980-fix-react-film-react-19.md new file mode 100644 index 0000000000..30836e7986 --- /dev/null +++ b/.changelog/5980-fix-react-film-react-19.md @@ -0,0 +1,3 @@ +### Changed + +- Bumped to [`react-film@4.0.1-main.202610290630.8324311`](https://npmjs.com/package/react-film/v/4.0.1-main.202610290630.8324311) for webpack 5 with React 19, related to [#5552](https://github.com/microsoft/BotFramework-WebChat/issues/5552), in PR [#5980](https://github.com/microsoft/BotFramework-WebChat/pull/5980), by [@OEvgeny](https://github.com/OEvgeny) diff --git a/package-lock.json b/package-lock.json index 9541b0699c..4abc9fbdf8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17081,9 +17081,9 @@ } }, "node_modules/react-film": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/react-film/-/react-film-4.0.0.tgz", - "integrity": "sha512-KHhHA+155CBwSq1REa4f9c+68PZUQdISo25JCEnk/2/TuzO+c/feT95usxwO50MCcWyatWefa8chdu0jYIS3WQ==", + "version": "4.0.1-main.202610290630.8324311", + "resolved": "https://registry.npmjs.org/react-film/-/react-film-4.0.1-main.202610290630.8324311.tgz", + "integrity": "sha512-Y8y9MItmZtwrLPX0ltEQhINSSKDtfHzipGlYJT2VlaU8/8YqurFpEMLkOCpgxW0IbrOFlE2DbCzNuO1L6YtEaw==", "license": "MIT", "dependencies": { "@emotion/css": "^11.13.5", @@ -17092,7 +17092,7 @@ "math-random": "^2.0.1", "memoize-one": "^6.0.0", "prop-types": "^15.8.1", - "react-film": "^4.0.0" + "react-film": "^4.0.1-main.202610290630.8324311" }, "peerDependencies": { "react": ">=16.8.0", @@ -22046,7 +22046,7 @@ "punycode": "2.3.1", "react-chain-of-responsibility": "0.4.2", "react-dictate-button": "4.0.1", - "react-film": "4.0.0", + "react-film": "4.0.1-main.202610290630.8324311", "react-say": "2.2.1", "react-scroll-to-bottom": "4.2.1-main.53844f5", "react-wrap-with": "0.1.0", diff --git a/packages/component/package.json b/packages/component/package.json index a1d53c50c0..954f72c526 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -149,6 +149,10 @@ "16.8.6", "using react-dom@16.8.6 to make sure this is the minimum supported version" ], + "react-film": [ + "main", + "4.0.0 imports render() from react-dom, which React 19 removed" + ], "react-scroll-to-bottom": [ "main" ], @@ -207,7 +211,7 @@ "punycode": "2.3.1", "react-chain-of-responsibility": "0.4.2", "react-dictate-button": "4.0.1", - "react-film": "4.0.0", + "react-film": "4.0.1-main.202610290630.8324311", "react-say": "2.2.1", "react-scroll-to-bottom": "4.2.1-main.53844f5", "react-wrap-with": "0.1.0",