cosmjs icon indicating copy to clipboard operation
cosmjs copied to clipboard

Drop node.js 12 support and bump target to es2020

Open webmaster128 opened this issue 3 years ago • 2 comments

This is what https://github.com/paulmillr/noble-hashes uses too and we want to use noble hashes.

I guess applications can transpile this down to their supported target lists anyways.

webmaster128 avatar Jan 22 '22 12:01 webmaster128

Node.js < 14 does not support the Nullish coalescing operator from es2020, i.e. we need to drop node 12 support first.

Logical nullish assignment (??=) requires node.js 15 (ES 12/2021).

webmaster128 avatar Jan 27 '22 13:01 webmaster128

Node.js 12 EOLed on 2022-04-30. We can stop supporting it with CosmJS 0.29.0 and move to es2020 in the next release.

webmaster128 avatar Aug 15 '22 09:08 webmaster128