Update dependency tslib to v2 #127
Open
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.0Release Notes
Microsoft/tslib
v2.3.1Compare Source
This release updates the
__spreadArrayhelper for TypeScript 4.4 to correctly operate on collections that are not "concat-spreadable" such as the DOM'sNodeLists andHTMLCollections.v2.3.0Compare Source
This release updates tslib to use TypeScript 4.4's upcoming
__spreadArrayhelper which correctly preserves sparse array inputs (e.g. arrays containing "missing" elements like[1, 2, , 4]). This new version of__spreadArrayis backwards-compatible and is often also faster. See https://github.com/microsoft/tslib/pull/151 for more details.v2.2.0Compare 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
__classPrivateFieldGetand__classPrivateFieldSet. See https://github.com/microsoft/tslib/pull/146 for more details.v2.1.0Compare Source
This release adds a new
__spreadArrayhelper which avoids side-effects compared to the now-deprecated__spreadArraysand__spreadhelpers. 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.
v2.0.3Compare Source
Full discussion in the webpack issue
v2.0.2Compare Source
This release adds support for using tslib in Node using esmodule imports, further context in #126 and the related issues.
v2.0.1Compare Source
v2.0.0Compare Source
This release changes
__exportStarand__importStarto use__createBindingwhich is incompatible with versions of TypeScript older than 3.9 (i.e. 3.8 and below).v1.14.1Compare Source
Long discussion in the webpack issues
v1.14.0Compare Source
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.
v1.13.0Compare 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.0Compare Source
This release adds the
__createBindinghelper function which is used by non-ECMAScript module emit in TypeScript 3.9.v1.11.2Compare 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.1Compare Source
This release updates tslib's declaration files so that users don't have to include declarations for
WeakMapin their compilation.v1.11.0Compare Source
This release provides the
__classPrivateFieldGetand__classPrivateFieldSethelper functions to power ECMAScript private fields in TypeScript 3.8.v1.10.0Compare Source
This release fixes enumerability in object rest's
__resthelper (see details here) and adds a new__spreadArrayshelper (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: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.