auth0 / node-jwa

JSON Web Algorithms
http://tools.ietf.org/id/draft-ietf-jose-json-web-algorithms-08.html
MIT License
98 stars 42 forks source link

Add `node:` prefix #50

Open jordanfinners opened 3 months ago

jordanfinners commented 3 months ago

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Add prefix to nodejs dependencies to support running in Node and Cloudflare environments

References

https://developers.cloudflare.com/workers/runtime-apis/nodejs/

Testing

test/jwa.test.js .................................. 157/157
test/A.1/test.js ...................................... 6/6
test/A.2/test.js ...................................... 6/6
test/A.3/test.js ...................................... 3/3
test/A.4/test.js ...................................... 3/3
test/A.5/test.js ...................................... 2/2
total ............................................. 177/177

  177 passing (3s)

Checklist