Incompatibility with Cloudflare due to using assert instead of node:assert
Closed this issue · 3 comments
SavaCool122 commented
Cloudflare has support for some Node.js packages (link). There is support for assert
package, but as I understand it only with the use of node:
prefix (like node:assert
). I am not an expert in Node.js , but maybe there is a possibility to add this prefix? I would be happy to do it myself if this option is suitable for CloudFlare support of your codebase.
mcollina commented
Unfortunately we support some old node versions that do not support the node: prefix. If I get a PR, I'll land it for the next major.
SavaCool122 commented
That sounds great to me. I'll be happy to create this PR
SavaCool122 commented
Here's the PR #347. If any edits are needed, I'd be happy to hear about them