tslib is a crucial runtime library for TypeScript projects, providing helper functions that enable developers to utilize modern JavaScript features in older environments. Comparing versions 1.11.2 and 1.11.1 reveals some interesting changes.
Version 1.11.2, released on May 5th, 2020, boasts a significantly smaller unpacked size of 31697 bytes compared to version 1.11.1's 40264 bytes released on February 27th, 2020. This reduction in size can translate to smaller bundle sizes and faster load times for applications utilizing the library, especially beneficial for web projects where performance is critical. Both versions maintain a file count of 9, suggesting the shrinkage occurred through code optimization and potentially dead code elimination so that the compilation result is smaller.
Furthermore, the license has changed from Apache-2.0 in version 1.11.1 to 0BSD in version 1.11.2, a very permissive license. This change makes tslib even easier to integrate into projects with varying licensing requirements, offering developers greater flexibility. Both versions are authored by Microsoft Corp. and are hosted on GitHub, ensuring accessibility and transparency. Developers relying on tslib should evaluate the impact, if any, of the introduced changes regarding the license and the performance improvement for their specific use cases.
The are not vulnerabilities for the version 1.11.2 of the package tslib