discv5
discv5 copied to clipboard
feat: upgrade crypto from bcrypto to noble
- Replaces the
bcrypto
dependency with a combination of@noble/hashes
and@noble/secp256k1
(both are audited, modern, JS only ESM modules with no external dependencies) - Removes
bcrypto
types - Adds
lint:fix
script becauseeslint
is your friend - Selectively disabled eslint rules where necessary (mainly in tests where typescript would otherwise complain)