You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update helpers to use redefining pattern if needed (related to Micros… - #54
Didn't update CJS file because of it's lack of live bindings - which is relevant for __assign. As it's UMD bundle it won't be tree-shaken anyway, so I've skipped updating it.
We polyfill Object.assign with _assign. The update to tslib 1.9.3 broke this pattern because by the time the new wrapper function is executed, Object.assign will point to __assign, which means it will loop endlessly.
I think our usage was wonky at best and I’m not opposed to this change at all but I think a breaking change like this should have warranted a new major version.
(sorry I’m venting a bit because this took me hours to track down)
Well, this was very hard to predict - tslib was not intended to serve as polyfill for built-ins. I wouldn't classify this as a breaking change, especially given the fact that this was released 2 years ago and you are the first person to report such a problem.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
…oft/TypeScript#24244)
Updated according to merged changes in microsoft/TypeScript#24244
Didn't update CJS file because of it's lack of live bindings - which is relevant for
__assign. As it's UMD bundle it won't be tree-shaken anyway, so I've skipped updating it.