Version 18.3.6 of @types/react-dom offers updated TypeScript definitions for the React DOM library, crucial for developers leveraging TypeScript in their React projects. Released on April 2, 2025, this version builds upon the previous stable release, 18.3.5, which was published on December 11, 2024. Both versions share the same core characteristics: they provide TypeScript definitions, have no direct dependencies, rely on @types/react as a peer dependency (version ^18.0.0 or higher), and are licensed under the MIT license. The code is maintained in the DefinitelyTyped repository on GitHub, specifically within the types/react-dom directory.
A subtle yet potentially important distinction lies in the unpacked size of the package. Version 18.3.6 comes in at 38177 bytes compared to 18.3.5's 37909 bytes. That represents a small size increase. While the fileCount remains constant at 11, this suggests that version 18.3.6 includes incremental improvements or additions to the type definitions. Developers should look for improvements maybe related to new DOM features of bug fixes in the typings, or simply some refactoring, that might provide more accurate type checking and enhanced developer experience. When upgrading from 18.3.5, developers should ensure their existing React and TypeScript codebases remain compatible with these refined definitions. The upgrade helps developers to get last improvements and bug fixes on the typings for React Dom to improve their workflow.
The are not vulnerabilities for the version 18.3.6 of the package @types/react-dom