Skip to content

v2.1.0 - 2023.02.06

Latest
Compare
Choose a tag to compare
@JoakimCh JoakimCh released this 06 Feb 01:55

Added

Fixed

  • RandomGenerator_WebCrypto now works with Node.js >= v19.

Changed

  • A backwards compatible change to randomInteger now allows it to be used similar to randomFloat with all arguments optional. If supplied just one argument it will now be used as the max integer size; meaning it will generate an integer from 0 up to that size.

Removed

  • The PCG32 implementation using longfn.js since the uint64.js version is just as fast.
  • The longfn.js library (which was 28 KB we didn't need).