Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.9.0
->^2.0.0
Release Notes
Microsoft/tslib
v2.3.1
Compare Source
This release updates the
__spreadArray
helper for TypeScript 4.4 to correctly operate on collections that are not "concat-spreadable" such as the DOM'sNodeList
s andHTMLCollection
s.v2.3.0
Compare Source
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 microsoft/tslib#151 for more details.v2.2.0
Compare Source
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 microsoft/tslib#146 for more details.v2.1.0
Compare Source
This release adds a new
__spreadArray
helper which avoids side-effects compared to the now-deprecated__spreadArrays
and__spread
helpers. See microsoft/tslib#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 microsoft/tslib#138 for more details.
v2.0.3
Compare Source
Full discussion in the webpack issue
v2.0.2
Compare Source
This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.
v2.0.1
Compare Source
v2.0.0
Compare Source
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).v1.14.1
Compare Source
Long discussion in the webpack issues
v1.14.0
Compare Source
This release adds support for using tslib in Node using esmodule imports, further context in microsoft/tslib#126 and the related issues.
v1.13.0
Compare Source
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.
v1.12.0
Compare Source
This release adds the
__createBinding
helper function which is used by non-ECMAScript module emit in TypeScript 3.9.v1.11.2
Compare Source
This release relicenses tslib to the 0BSD license which should allow projects that embed or bundle tslib to omit its license header.
v1.11.1
Compare Source
This release updates tslib's declaration files so that users don't have to include declarations for
WeakMap
in their compilation.v1.11.0
Compare Source
This release provides the
__classPrivateFieldGet
and__classPrivateFieldSet
helper functions to power ECMAScript private fields in TypeScript 3.8.v1.10.0
Compare Source
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).Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.