Version 17.0.3 of @types/react, the TypeScript definitions for the popular React library, was released on March 7, 2021, following version 17.0.2 which was released on February 12, 2021. Both versions maintain the MIT license and contributions are managed through the DefinitelyTyped repository on GitHub. A notable difference between the two versions lies in their dependencies. While both depend on csstype (version ^3.0.2) and @types/prop-types(*), version 17.0.3 introduces a new dependency: @types/scheduler(*). This suggests that the newer version incorporates or enhances support for React's scheduler, a feature that manages and prioritizes tasks for improved performance, which could be particularly relevant for developers working on complex React applications or those aiming for optimal responsiveness. From a size perspective, the unpacked size of 17.0.3 is marginally larger at 160,786 bytes compared to 17.0.2's 160,749 bytes, however both include 8 files. Primarily, developers should consider upgrading to version 17.0.3 if their React projects utilize or plan to leverage React's scheduling capabilities, potentially benefiting from the improved type definitions and support it offers. The inclusion of @types/scheduler suggests a more comprehensive type coverage aligning to updates with React itself.
The are not vulnerabilities for the version 17.0.3 of the package @types/react