tslib

Runtime library for TypeScript helpers.

0BSD License

Downloads
964.7M
Stars
1.3K
Committers
39

Bot releases are visible (Hide)

tslib - tslib 1.13.0

Published by DanielRosenwasser over 4 years ago

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.

tslib - tslib 1.12.0

Published by DanielRosenwasser over 4 years ago

This release adds the __createBinding helper function which is used by non-ECMAScript module emit in TypeScript 3.9.

tslib - tslib 1.11.2

Published by DanielRosenwasser over 4 years ago

This release relicenses tslib to the 0BSD license which should allow projects that embed or bundle tslib to omit its license header.

tslib - tslib 1.11.1

Published by weswigham over 4 years ago

This release updates tslib's declaration files so that users don't have to include declarations for WeakMap in their compilation.

tslib - tslib 1.11.0

Published by DanielRosenwasser over 4 years ago

This release provides the __classPrivateFieldGet and __classPrivateFieldSet helper functions to power ECMAScript private fields in TypeScript 3.8.

tslib - tslib 1.10.0

Published by DanielRosenwasser over 5 years ago

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

tslib - tslib 1.9.3

Published by DanielRosenwasser over 6 years ago

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.

tslib - tslib 1.9.2

Published by DanielRosenwasser over 6 years ago

Fixes issues in the __generator helper regarding return-ing and throw-ing. Details are available on https://github.com/Microsoft/TypeScript/pull/24463

tslib - tslib 1.9.1

Published by DanielRosenwasser over 6 years ago

Updates __asyncValues to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator to ensure throw is correctly propagated.

tslib - tslib 1.9.0

Published by DanielRosenwasser almost 7 years ago

This release introduces import helpers that are utilized by TypeScript 2.7's --esModuleInterop flag for interoperability between ECMAScript modules and legacy module formats.

tslib - tslib 1.8.1

Published by DanielRosenwasser almost 7 years ago

tslib - tslib 1.8.0

Published by DanielRosenwasser about 7 years ago

tslib - tslib 1.7.1

Published by DanielRosenwasser over 7 years ago

tslib - tslib 1.7.0

Published by rbuckton over 7 years ago

This release contains the following changes:

  • Update to the latest helpers for async generators.

NOTE: This is a breaking change from TypeScript 2.3.2 and earlier when using tslib with async generators:

  • If you are using TypeScript 2.3.2 or earlier and are writing async generators, you must use tslib version 1.6.1.
  • If you are using TypeScript 2.3.3 or later and are writing async generators, you must use tslib version 1.7.0 or later.
tslib - tslib 1.6.1

Published by rbuckton over 7 years ago

  • Fixes an issue with async yield* delegation.
tslib - tslib 1.6.0

Published by mhegazy over 7 years ago

tslib - tslib 1.5.0

Published by DanielRosenwasser almost 8 years ago

  • Updated the __extends helper to use Object.setPrototypeOf or __proto__ for extending statics when the runtime supports it.
tslib - tslib 1.0.0

Published by mhegazy almost 8 years ago

Initial Release.