Packages

tslib

2.9.1 · 30 Oct 20260BSD682.6M / weekRepositoryHomepagenpmAtom feed

Your version

2.3.0

11 Jun 2021Where it was published

2.9.1 is the newest release of 2.x.

Release note

This release updates tslib to use TypeScript 4.4's upcoming __spreadArray helper which correctly preserves sparse array inputs (e.g. arrays containing "missing" elements like [1, 2, , 4]). This new version of __spreadArray is backwards-compatible and is often also faster. See #151 for more details.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.