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
Yes, the current polyfill applies only to the test suite. I was having trouble setting up a proper polyfill for the node build.
Though, Node 18 does have --experimental-global-webcrypto for making crypto global and I guess in node 19, this is the default..
Hi there 👋 !
I see that there is now a polyfill to automatically import and declare
crypto
in the global scope.Unfortunately, I'm getting the following error when using
WARCRecord.create()
after removing my own global import ofcrypto
:For reference, I'm importing
crypto
as such to compensate for its absence:I'm using
warcio.js 2.0.1
with Node 18+.Thanks in advance,
The text was updated successfully, but these errors were encountered: