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
With Cloudflare Workers, that requires enabling nodejs_compat.
oslo.js contains an alternate implementation that does not require NodeJS APIs. It works for me, but I can understand you might not want to add a new dependency.
What is the feature you are proposing?
I would like to use the secure headers NONCE value using only web platform APIs. It currently uses
Buffer.from()
to convert the data to base64.With Cloudflare Workers, that requires enabling nodejs_compat.
oslo.js contains an alternate implementation that does not require NodeJS APIs. It works for me, but I can understand you might not want to add a new dependency.
It may be possible to use a different Buffer or base64 polyfill.
The text was updated successfully, but these errors were encountered: