ldthomas/apg-js

Use `require('node:buffer')` rather than `Buffer` from global scope

Closed this issue · 1 comments

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)

apg-js version 4.2.0 addresses this issue.