@types/svg-parser, providing TypeScript definitions for the svg-parser library, has seen an update from version 2.0.3 to 2.0.4. The newer version, released on September 25, 2023, introduces subtle improvements over the older version, which was released on July 2, 2021. While both versions maintain the same MIT license and contribute to the DefinitelyTyped project on GitHub, developers should note the increase in the number of files included in the package, with version 2.0.4 containing 5 files compared to 4 in version 2.0.3. This suggests potential additions to the type definitions or supporting files. Correspondingly, the unpacked size has slightly increased from 4799 bytes to 4803 bytes. This is still a minuscule impact on the final bundle size, but can hint to the addition of new typings or potentially even bug fixes.
For developers using svg-parser in TypeScript projects, upgrading to @types/svg-parser version 2.0.4 is generally recommended to ensure alignment with the latest svg-parser library features and benefit from potential improvements or expanded coverage of TypeScript definitions. Always make sure to check the changelog in the DefinitelyTyped repository to see the exact purpose of this library.
The are not vulnerabilities for the version 2.0.4 of the package @types/svg-parser