Styled-components has released a new version, 6.1.10, building upon the previous stable release, 6.1.9. While both versions maintain the core functionality of styling React components with CSS-in-JS, several updates and dependency bumps are worth noting for developers.
One key area of change lies in the updated dependencies, especially within the core runtime. The newer version upgrades tslib from 2.5.0 to 2.6.2, stylis from 4.3.1 to 4.3.2, csstype from 3.1.2 to 3.1.3, and postcss from 8.4.31 to 8.4.38. These updates likely bring performance improvements, bug fixes, and enhanced compatibility with the latest CSS features and TypeScript standards. On the other hand, some devDependencies like typescript have been updated from 4.9.5 to 5.4.5.
Furthermore, the @types/* packages have been updated to reflect the latest type definitions for associated packages. These upgrades should provide developers with a smoother and more reliable development experience, particularly when using TypeScript. Developers should update to version 6.1.10 to take advantage of these improvements and maintain compatibility with the latest tooling.
Finally, the unpacked size of the package has decreased from 1812928 bytes in 6.1.9 to 1760172 bytes in 6.1.10.
The are not vulnerabilities for the version 6.1.10 of the package styled-components