Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(babel): exports.hasOwnProperty is not a function (#1175)
* fix: exports.hasOwnProperty is not a function The Proxy for `this.#exports` did not forward unknown properties to the underlying Object instance. fixes #1140 Co-authored-by: Victor Lin <victor.lin@airbnb.com> Co-authored-by: Anton Evzhakov <anton@evz.name>
- Loading branch information
1 parent
2d3a741
commit 860b8d2
Showing
5 changed files
with
30 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@linaria/babel-preset': patch | ||
'@linaria/testkit': patch | ||
--- | ||
|
||
Ensure that the Proxy for this.#exports forwards unknown properties to the underlying Object instance. |
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
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