Skip to content

Releases: sindresorhus/hasha

v6.0.0

11 Nov 12:42
Compare
Choose a tag to compare

Breaking

  • Require Node.js 18 6dda681
  • This package is now pure ESM. Please read this.
  • Converted the default import to named imports:
    • hashahashSync
    • hasha.asynchash
    • hasha.fromStreamhash
    • hasha.fromFilehashFile
    • hasha.fromFileSynchashFileSync
    • hasha.streamhashingStream

v5.2.2...v6.0.0

v5.2.2

09 Oct 00:23
Compare
Choose a tag to compare
  • Fix .fromFile() Node.js 14 compatibility (#34) 80b71af

v5.2.1...v5.2.2

v5.2.1

27 Sep 12:38
Compare
Choose a tag to compare

v5.2.0...v5.2.1

v5.2.0

16 Feb 13:04
Compare
Choose a tag to compare
  • Avoid Webpack warning due to non-literal require (#26) 9774aaa

v5.1.0...v5.2.0

v5.1.0

22 Sep 08:23
Compare
Choose a tag to compare
  • Move async file hashing to a worker thread when on Node.js 12 or later (#21) 7e6a0fd
  • Add .async() method (#21) 7e6a0fd

v5.0.0...v5.1.0

v5.0.0

05 Apr 07:22
Compare
Choose a tag to compare

Breaking for TypeScript users only:

  • Refactor TypeScript definition to CommonJS compatible export (#19) c07d884
    • You need to change import hasha from 'hasha'; to import hasha = require('hasha');

v4.0.1...v5.0.0

v4.0.1

13 Mar 11:28
Compare
Choose a tag to compare
  • Allow mixed input arrays in the TypeScript definition (#17) 999304f

v4.0.0...v4.0.1

v4.0.0

12 Mar 04:43
Compare
Choose a tag to compare

Breaking:

Enhancements:

v3.0.0...v4.0.0