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
* Fixes#4029 and Fixes#4022Fixes#4029Fixes#4022
* Add test for all the fetches
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
trnxdev
pushed a commit
to trnxdev/bun
that referenced
this issue
Aug 9, 2023
* Fixesoven-sh#4029 and Fixesoven-sh#4022Fixesoven-sh#4029Fixesoven-sh#4022
* Add test for all the fetches
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
What version of Bun is running?
0.7.3
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
idnex.ts
:What is the expected behavior?
Can fetch.
(This reproduce repo uses dummy api token for easy testing, so It will be "API token is invalid." error.)
What do you see instead?
Throw an runtime error.
Probably, Its related with WeakMap.
https://github.com/azu/bun-notion-client-bug/blob/8bee7e1c53dd7ab5ed1b94a1305d8fde7b11ff9c/node_modules/%40notionhq/client/build/src/Client.js#L339
https://github.com/azu/bun-notion-client-bug/blob/8bee7e1c53dd7ab5ed1b94a1305d8fde7b11ff9c/node_modules/@notionhq/client/build/src/Client.js#L8-L11
This
__classPrivateFieldGet(...)
returnsundefined
and cause this error.Additional information
I've tested bun 0.7.1 and work fine
I think that this regression is introruded in bun 0.7.2.
The text was updated successfully, but these errors were encountered: