tslib is a crucial runtime library for TypeScript, providing helper functions that enable developers to seamlessly use TypeScript's advanced features within JavaScript environments. Version 2.2.0 brings a notable update compared to the previous stable version, 2.1.0. While both versions maintain the core functionality of supporting TypeScript's helper functions and are licensed under the permissive 0BSD license, a key difference lies in the unpacked size. Version 2.2.0 has an unpacked size of 38289 bytes, a step up from version 2.1.0's 35212 bytes. This increase hints at potential additions, optimizations, or changes to the helper functions included in the library.
Developers relying on tslib for their TypeScript projects should consider upgrading to version 2.2.0 to benefit from the latest improvements and potential bug fixes. The library remains lightweight based on its size, ensuring minimal impact on bundle sizes. The release date difference also tells us that version 2.2.0 was released in April 2021. Developers can find this package on GitHub under the Microsoft repository and can access the tarball from the npm registry.
The are not vulnerabilities for the version 2.2.0 of the package tslib