Node.js recommends importing `Buffer` from `node:buffer`: - https://nodejs.org/api/buffer.html#buffer - https://nodejs.org/api/buffer.html#nodebuffer-module-apis Using the `Buffer` from the global scope is causing issues for some users. E.g. https://github.com/spruceid/siwe/issues/168 and https://github.com/sveltejs/kit/pull/10214#issuecomment-1608991806
Node.js recommends importing
Bufferfromnode:buffer:Using the
Bufferfrom the global scope is causing issues for some users. E.g. spruceid/siwe#168 and sveltejs/kit#10214 (comment)