mirror of
https://github.com/emn178/js-md5.git
synced 2026-08-12 20:31:43 +08:00
## 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.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
mocha.setup('bdd');
|
||||
require(['../src/md5.js'], function (md5) {
|
||||
window.md5 = md5;
|
||||
require(['test.js'], function () {
|
||||
require(['test.js', 'hmac-test.js'], function () {
|
||||
mocha.checkLeaks();
|
||||
mocha.run();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user