Upgrading rollup to fix bug with React external. Resolves systemjs/systemjs#2147 #2021
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.
See related systemjs/systemjs#2147 and rollup/rollup#3420. There was a bug in rollup where it assumed incorrectly that external ES modules have the full Object.prototype available on them.
Here's what this changes inside of react-table.development.js:
Before:
![image](https://user-images.githubusercontent.com/5524384/77012060-d4576500-6932-11ea-9b77-1c49307b04fc.png)
After:
![image](https://user-images.githubusercontent.com/5524384/77012027-c0abfe80-6932-11ea-8f65-2fe6b1f54b48.png)
Note that calling
hasOwnProperty()
requires the object to haveObject.prototype
as its prototype, which is not true for ES modules.