tslib

Runtime library for TypeScript helpers.

0BSD License

Downloads
964.7M
Stars
1.3K
Committers
39

Bot releases are hidden (Show)

tslib - v2.6.3 Latest Release

Published by DanielRosenwasser 5 months ago

What's Changed

Full Changelog: https://github.com/microsoft/tslib/compare/v2.6.2...v2.6.3

tslib - tslib 2.6.2

Published by andrewbranch about 1 year ago

What's Changed

Full Changelog: https://github.com/microsoft/tslib/compare/v2.6.1...v2.6.2

tslib - tslib 2.6.1

Published by andrewbranch about 1 year ago

What's Changed

Full Changelog: https://github.com/microsoft/tslib/compare/2.6.0...v2.6.1

tslib - tslib 2.6.0

Published by rbuckton over 1 year ago

What's Changed

Full Changelog: https://github.com/microsoft/tslib/compare/v2.5.3...2.6.0

tslib - tslib 2.5.3

Published by andrewbranch over 1 year ago

What's Changed

Full Changelog: https://github.com/microsoft/tslib/compare/2.5.2...v2.5.3

tslib - tslib 2.5.2

Published by DanielRosenwasser over 1 year ago

This release explicitly re-exports helpers to work around TypeScript's incomplete symbol resolution for tslib.

tslib - tslib 2.5.1

Published by DanielRosenwasser over 1 year ago

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.

tslib - tslib 2.5.0

Published by DanielRosenwasser over 1 year ago

What's New

Full Changelog: https://github.com/microsoft/tslib/compare/2.4.1...2.5.0

tslib - tslib 2.4.1

Published by DanielRosenwasser almost 2 years ago

tslib - tslib 2.4.0

Published by rbuckton over 2 years ago

This release includes the __classPrivateFieldIn helper as well as an update to __createBinding to reduce indirection between multiple re-exports.

tslib - tslib 2.3.1

Published by DanielRosenwasser about 3 years ago

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.

tslib - tslib 2.3.0

Published by DanielRosenwasser over 3 years ago

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.

tslib - tslib 2.2.0

Published by DanielRosenwasser over 3 years ago

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.

tslib - tslib 2.1.0

Published by DanielRosenwasser almost 4 years ago

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.

tslib - Webpack 5 Compatibility - 2.x

Published by orta about 4 years ago

Full discussion in the webpack issue

tslib - Webpack 5 compatibility support - 1.x

Published by orta about 4 years ago

Long discussion in the webpack issues

tslib - ES Module Support

Published by orta about 4 years ago

This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.

tslib - ES Module Support for the 1.x version

Published by orta about 4 years ago

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.

tslib - Minor release for TS 4.0

Published by sandersn about 4 years ago

  1. Use Object.prototype.hasOwnProperty.call.
  2. Skip default when iterating exports in __importStar.
  3. Shorter parameter name in __exportStar.
tslib - tslib 2.0.0

Published by DanielRosenwasser over 4 years ago

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).