Releases: sindresorhus/hasha
Releases · sindresorhus/hasha
v6.0.0
Breaking
- Require Node.js 18 6dda681
- This package is now pure ESM. Please read this.
- Converted the default import to named imports:
hasha
→ hashSync
hasha.async
→ hash
hasha.fromStream
→ hash
hasha.fromFile
→ hashFile
hasha.fromFileSync
→ hashFileSync
hasha.stream
→ hashingStream
v5.2.2...v6.0.0
v5.0.0
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