Skip to content

[Snyk] Upgrade tslib from 2.4.0 to 2.8.1#24

Open
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-upgrade-e2b8512f8bfb9e099548a32ea7c8d790
Open

[Snyk] Upgrade tslib from 2.4.0 to 2.8.1#24
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-upgrade-e2b8512f8bfb9e099548a32ea7c8d790

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Feb 17, 2026

snyk-top-banner

Snyk has created this PR to upgrade tslib from 2.4.0 to 2.8.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 12 versions ahead of your current version.

  • The recommended version was released a year ago.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.

Release notes
Package name: tslib from tslib GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

@snyk-io
Copy link
Author

snyk-io bot commented Feb 17, 2026

Merge Risk: Medium

This is a minor version upgrade for tslib, the TypeScript runtime library. While there are no major API removals, this upgrade introduces a behavioral change that warrants verification.

Key Changes:

  • Behavioral Change (v2.6.0): The execution order of init hooks for decorators was reversed to align with the correct, proposed behavior. If your code uses decorators and relies on the previous, incorrect initialization order, it may be affected.
  • Improved Compatibility: The exports field in package.json was corrected to improve compatibility with modern moduleResolution settings like node16 and bundler.
  • Bug Fixes: Several other bug fixes and new, non-breaking helper functions were added.

Recommendation:
This upgrade is likely safe for most projects. However, due to the decorator initialization order change, it is classified as medium risk. It is recommended to verify that any code using decorators continues to function as expected after the upgrade.

Source: GitHub Releases

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants