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
Okey, so i have been playing around with blobFrom. It's annoying to have to install DOMException
and it's easy to forget to add that optional dependency
So i investigated in nodejs core, (cuz i know they have been implementing some web-idl stuff that depends on DOMexception to be thrown) and found this hack
They don't expose it in anyway but you can still obtain it!
I was thinking instead of depending on the DOMException package, then we could go with this hack instead - it's way smaller in size, and you will use the same instance as NodeJS.
Thoughts?
The text was updated successfully, but these errors were encountered:
Okey, so i have been playing around with
blobFrom
. It's annoying to have to install DOMExceptionand it's easy to forget to add that optional dependency
So i investigated in nodejs core, (cuz i know they have been implementing some web-idl stuff that depends on DOMexception to be thrown) and found this hack
They don't expose it in anyway but you can still obtain it!
I was thinking instead of depending on the DOMException package, then we could go with this hack instead - it's way smaller in size, and you will use the same instance as NodeJS.
Thoughts?
The text was updated successfully, but these errors were encountered: