Skip to content

v0.16.0

Latest

Choose a tag to compare

@emn178 emn178 released this 18 Nov 05:38

Fixed

  • Incorrect hash for DataView input, and for Int8Array with negative values.
  • Throws ArrayBuffer is not defined in browsers without ArrayBuffer.
  • Throws global is not defined in browsers with a process polyfill (e.g. BrowserFS) and Electron renderers.

Changed

  • Multi-byte typed arrays such as Uint16Array, Uint32Array and Float32Array are now hashed by their underlying bytes, the same as Node.js crypto and Web Crypto. Previously each element was treated as one byte.

Full Changelog: v0.15.0...v0.16.0