NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #15 most downloaded on npm
Runtime library for TypeScript helper functions
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 43 of 44 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
46 releases · first in 2016
Fix publish workflow by Andrew Branch (@andrewbranch) in #271
Full Changelog: v2.8.0...v2.8.1
One column per quarter.
Validate export structure of every entrypoint by Andrew Branch (@andrewbranch) in #269
Full Changelog: v2.7.0...v2.8.0
Implement deterministic collapse of await in await using by Ron Buckton (@rbuckton) in #262
await in await using by Ron Buckton (@rbuckton) in #262Full Changelog: v2.6.3...v2.7.0
'await using' normative changes by Ron Buckton (@rbuckton) in #258
Full Changelog: v2.6.2...v2.6.3
Fix path to exports["module"]["types"] by Andrew Branch (@andrewbranch) in #217
exports["module"]["types"] by Andrew Branch (@andrewbranch) in #217Full Changelog: v2.6.1...v2.6.2
exports["module"]["types"] by @andrewbranch in https://github.com/microsoft/tslib/pull/217Full Changelog: https://github.com/microsoft/tslib/compare/v2.6.1...v2.6.2
Allow functions as values in __addDisposableResource by Ron Buckton (@rbuckton) in #215
Full Changelog: 2.6.0...v2.6.1
Full Changelog: https://github.com/microsoft/tslib/compare/2.6.0...v2.6.1
Add helpers for using and await using by Ron Buckton (@rbuckton) in #213
using and await using by Ron Buckton (@rbuckton) in #213Full Changelog: v2.5.3...2.6.0
using and await using by @rbuckton in https://github.com/microsoft/tslib/pull/213Full Changelog: https://github.com/microsoft/tslib/compare/v2.5.3...2.6.0
Do not reference tslib.es6.js from package.json exports by Andrew Branch (@andrewbranch) in #208
Full Changelog: 2.5.2...v2.5.3
Full Changelog: https://github.com/microsoft/tslib/compare/2.5.2...v2.5.3
This release explicitly re-exports helpers to work around TypeScript's incomplete symbol resolution for tslib.
This release explicitly re-exports helpers to work around TypeScript's incomplete symbol resolution for tslib.
This release of tslib provides fixes for two issues.
This release of tslib provides fixes for two issues.
First, it reverses the order of init hooks provided by decorators to correctly reflect proposed behavior.
Second, it corrects the exports field of tslib's package.json and provides accurate declaration files so that it may be consumed under the node16 and bundler settings for moduleResolution.
Fix asyncDelegator reporting done too early by @apendua in https://github.com/microsoft/tslib/pull/187
__esDecorate and related helpers by @rbuckton in https://github.com/microsoft/tslib/pull/193Full Changelog: https://github.com/microsoft/tslib/compare/2.4.1...2.5.0
This release contains fixes for early `return`s and `throw`s invoked on generators.
This release contains fixes for early returns and throws invoked on generators.
This release includes the __classPrivateFieldIn helper as well as an update to __createBinding to reduce indirection between multiple re-exports.
This release includes the __classPrivateFieldIn helper as well as an update to __createBinding to reduce indirection between multiple re-exports.
This release updates the __spreadArray helper for TypeScript 4.4 to correctly operate on collections that are not "concat-spreadable" such as the DOM'
This release updates the __spreadArray helper for TypeScript 4.4 to correctly operate on collections that are not "concat-spreadable" such as the DOM's NodeLists and HTMLCollections.
This release updates tslib to use TypeScript 4.4's upcoming __spreadArray helper which correctly preserves sparse array inputs (e.g. arrays containing
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 https://github.com/microsoft/tslib/pull/151 for more details.
This release supports TypeScript 4.3's new functionality for ECMAScript private methods and accessors, and private static class members.
This release supports TypeScript 4.3's new functionality for ECMAScript private methods and accessors, and private static class members.
It does so by expanding the scope of __classPrivateFieldGet and __classPrivateFieldSet. See https://github.com/microsoft/tslib/pull/146 for more details.
This release adds a new __spreadArray helper which avoids side-effects compared to the now-deprecated __spreadArrays and __spread helpers. See https:/…
This release adds a new __spreadArray helper which avoids side-effects compared to the now-deprecated __spreadArrays and __spread helpers. See https://github.com/microsoft/tslib/pull/133 for more details.
This release also provides a more-specific error message when extending from a type which is not a function and not null. See https://github.com/microsoft/tslib/pull/138 for more details.
Full discussion in the webpack issue
Full discussion in the webpack issue
This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.
This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.
Use Object.prototype.hasOwnProperty.call.
This release changes __exportStar and __importStar to use __createBinding which is incompatible with versions of TypeScript older than 3.9 (i.e. 3.8 a
This release changes __exportStar and __importStar to use __createBinding which is incompatible with versions of TypeScript older than 3.9 (i.e. 3.8 and below).
Long discussion in the webpack issues
Long discussion in the webpack issues
This release adds support for using tslib in Node using esmodule imports, further context in https://github.com/microsoft/tslib/pull/126 and the relat
This release adds support for using tslib in Node using esmodule imports, further context in https://github.com/microsoft/tslib/pull/126 and the related issues.
This release reverts breaking changes in tslib that were not compatible with versions of TypeScript prior to 3.9. The behavior slightly diverges from…
This release reverts breaking changes in tslib that were not compatible with versions of TypeScript prior to 3.9. The behavior slightly diverges from that of TypeScript 3.9, but generally is compatible with previous versions of TypeScript-authored code.
The new behavior of TypeScript 3.9 will be available in tslib 2.0.0.
See this pull request for more details.
This release adds the __createBinding helper function which is used by non-ECMAScript module emit in TypeScript 3.9.
This release adds the __createBinding helper function which is used by non-ECMAScript module emit in TypeScript 3.9.
This release relicenses tslib to the 0BSD license which should allow projects that embed or bundle tslib to omit its license header.
This release relicenses tslib to the 0BSD license which should allow projects that embed or bundle tslib to omit its license header.
This release updates tslib's declaration files so that users don't have to include declarations for WeakMap in their compilation.
This release updates tslib's declaration files so that users don't have to include declarations for WeakMap in their compilation.
This release provides the __classPrivateFieldGet and __classPrivateFieldSet helper functions to power ECMAScript private fields in TypeScript 3.8.
This release provides the __classPrivateFieldGet and __classPrivateFieldSet helper functions to power ECMAScript private fields in TypeScript 3.8.
This release fixes enumerability in object rest's __rest helper (see details here) and adds a new __spreadArrays helper (done as part of a change for
This release fixes enumerability in object rest's __rest helper (see details here) and adds a new __spreadArrays helper (done as part of a change for more accurate array spreads).
This release changes the __extends and __assign helper functions so that certain tools may more easily analyze them. Details are available on https://
This release changes the __extends and __assign helper functions so that certain tools may more easily analyze them. Details are available on https://github.com/Microsoft/TypeScript/pull/24244.
Fixes issues in the __generator helper regarding return-ing and throw-ing. Details are available on https://github.com/Microsoft/TypeScript/pull/24463
Fixes issues in the __generator helper regarding return-ing and throw-ing. Details are available on https://github.com/Microsoft/TypeScript/pull/24463
Updates __asyncValues to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator to ensure throw is correctly propagated.
Updates __asyncValues to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator to ensure throw is correctly propagated.
This release introduces import helpers that are utilized by TypeScript 2.7's --esModuleInterop flag for interoperability between ECMAScript modules an
This release introduces import helpers that are utilized by TypeScript 2.7's --esModuleInterop flag for interoperability between ECMAScript modules and legacy module formats.
This release includes a fix that prevents tslib from emitting an `__esModule` member on the global object.
This release includes a fix that prevents tslib from emitting an __esModule member on the global object.
the new `__makeTemplateObject` helper used in TypeScript 2.6
This release includes
__makeTemplateObject helper used in TypeScript 2.6__awaiter helper in older browsersThis release contains a fix relating how exceptions are propagated in `async` contexts.
This release contains a fix relating how exceptions are propagated in async contexts.
*NOTE: This is a breaking change from TypeScript 2.3.2 and earlier when using tslib with async generators:*
This release contains the following changes:
NOTE: This is a breaking change from TypeScript 2.3.2 and earlier when using tslib with async generators:
Fixes an issue with async yield* delegation.
yield* delegation.Adds helpers to support async generators
Updated the __extends helper to use Object.setPrototypeOf or __proto__ for extending statics when the runtime supports it.
__extends helper to use Object.setPrototypeOf or __proto__ for extending statics when the runtime supports it.Fix JSPM load issue (see https://github.com/Microsoft/TypeScript/issues/12887)
Changes:
Fix IE8 compat in `Function.apply` calls in `__awaiter`
Handel for `null` and `undefined` in `__rest`
Fix syntax error in `__awaiter` when running in ES3
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →