Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gracefully handle global promise pollution
- Update QueryInterface to proxy to only standard promise methods - Update QueryInterface type to be explicit about the methods being proxied This primarily handles pollution of global Promise (either the type or the global object at runtime) by other libraries. Fixes: #3422 (comment)
- Loading branch information
Showing
2 changed files
with
7 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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