Skip to content

require does not exist on nodejs with ESM #33

@singpolyma

Description

@singpolyma

https://github.com/HaxeFoundation/crypto/blob/master/src/haxe/crypto/random/SecureRandom.hx#L170

in esm mode, require doesn't exist, but the crypto library still exists and can be imported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions