README claims support for all stable nodejs versions, but crypto.randomValues isn't available in node14
brandonblack opened this issue · 4 comments
brandonblack commented
Still has a month or two of support left. Probably not worth fixing :)
paulmillr commented
crypto.randomValues is not used in node.js, see import map located in package.json
brandonblack commented
https://github.com/paulmillr/noble-hashes/blob/main/src/cryptoNode.ts#L3
https://github.com/paulmillr/noble-hashes/blob/main/src/utils.ts#L200
Sure looks like it uses webcrypto.randomValues
on nodejs, which doesn't exist in node14.
paulmillr commented
hmmmm i've somehow missed this. Wondering whether to release a new version or just wait 2023-04-30 until node 14 is eol.
paulmillr commented
ok, whatevs. Will wait until apr 30th. node 14 doesn't matter anymore.