Commit Graph

24 Commits (master)

Author SHA1 Message Date
Yi-Cyuan Chen 698290b4bc ### Fixed
- package.json main property.
2 years ago
Yi-Cyuan Chen 0ecaeee185 ### Remove
- package.json module property.
2 years ago
Yi-Cyuan Chen daf1188dc6 ### Added
- TypeScript base64 interfaces.
- Disable webpack polyfill.
2 years ago
Yi-Cyuan Chen bdf1150097 ## v0.8.0 / 2023-09-27
### Added
- TypeScript interfaces.
- HMAC feature.

### Fixed
- deprecated `new Buffer`, replace with `Buffer.from`.
- dependencies and security issues.
- don't modify global Array and ArrayBuffer prototypes.
- refactor: simplify formatMessage internal logic.

### Changed
- remove `eval` and use `require` directly.
- throw error by Error oject.
- throw error if update after finalize
- use unsigned right shift.
2 years ago
dependabot[bot] c154bc5a38
Bump minimist, mkdirp, mocha and nyc
Removes [minimist](https://github.com/minimistjs/minimist). It's no longer used after updating ancestor dependencies [minimist](https://github.com/minimistjs/minimist), [mkdirp](https://github.com/isaacs/node-mkdirp), [mocha](https://github.com/mochajs/mocha) and [nyc](https://github.com/istanbuljs/nyc). These dependencies need to be updated together.


Removes `minimist`

Updates `mkdirp` from 0.5.1 to 1.0.4
- [Release notes](https://github.com/isaacs/node-mkdirp/releases)
- [Changelog](https://github.com/isaacs/node-mkdirp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-mkdirp/compare/0.5.1...v1.0.4)

Updates `mocha` from 2.3.4 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/2.3.4...v10.2.0)

Updates `nyc` from 11.3.0 to 15.1.0
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v11.3.0...v15.1.0)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: mkdirp
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
- dependency-name: nyc
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Yi-Cyuan Chen 0263ab835f Fixed incorrect result when first bit is 1 of bytes. #18 8 years ago
Yi-Cyuan Chen 5f0bd5a888 Improved performance of hBytes increment. 8 years ago
Yi-Cyuan Chen cb8eb73ef1 Fixed incorrect result when file size >= 4G. 8 years ago
Yi-Cyuan Chen 24d8eb504d Fixed incorrect result when file size >= 512M. 8 years ago
Yi-Cyuan Chen a54f102b8a * Fixed ArrayBuffer.isView issue in IE10.
* Improved performance of input check.
8 years ago
Chen Yi-Cyuan b808ed4605 Added support base64 string output. 8 years ago
Chen, Yi-Cyuan c00df3af37 Added
- support for web worker. #11

Changed
- throw error if input type is incorrect.
- prevent webpack to require dependencies.
8 years ago
Chen, Yi-Cyuan 8b9a23ce32 Fixed `root` is undefined in some special environment. #7 9 years ago
Yi-Cyuan 5fcee84417 * Removed length detection in node.js.
* Deprecated `buffer` and replace by `arrayBuffer`.
9 years ago
Yi-Cyuan 261e55bd5c * Added support for update hash.
* Added support for bytes array output.
* Added support for ArrayBuffer output.
* Added support for AMD.
10 years ago
Chen Yi-Cyuan d1af3f6065 Support byte Array, Uint8Array and ArrayBuffer input. 11 years ago
Chen Yi-Cyuan f5eb89ccb2 * Fixed bug when special length.
* Improve performance for node.js.
11 years ago
Chen Yi-Cyuan 96036975f7 * Improve performance. 11 years ago
Chen Yi-Cyuan ca6b36b0ec * Remove ascii parameter.
* Improve performance.
11 years ago
Chen Yi-Cyuan 316a103aa1 * Improve performance.
* Add test case.
11 years ago
Chen Yi-Cyuan b31e43e89c * Improve performance.
* Add bower package.
* Fixed JSHint warnings.
* Add travis.
* Add coveralls.
11 years ago
Chen Yi-Cyuan fc26dd221e Fixed accents bug 11 years ago
Chen Yi-Cyuan e21d04f9cb add license 12 years ago
Chen Yi-Cyuan 38c2c6f816 Support node.js 12 years ago