Skip to content

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

Closed
@benmccann

Description

@benmccann

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions