Use `require('node:buffer')` rather than `Buffer` from global scope
Closed this issue · 1 comments
benmccann commented
Node.js recommends importing Buffer
from node:buffer
:
Using the Buffer
from the global scope is causing issues for some users. E.g. spruceid/siwe#168 and sveltejs/kit#10214 (comment)
ldthomas commented
apg-js
version 4.2.0 addresses this issue.