## v0.10.0 / 2023-08-30

### Fixed
- Chrome bug by workaround. #40
- deprecated `new Buffer`, replace with `Buffer.from`. #34
- dependencies and security issues. #32, #36

### Changed
- TypeScript interface, secretKey can be bytes like message. #23, #25
- remove `eval` and use `require` directly. #18, #26
This commit is contained in:
Yi-Cyuan Chen
2023-08-30 22:58:30 +08:00
parent 16b101f040
commit bb8ae3a623
11 changed files with 85 additions and 58 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
{
"name": "js-sha256",
"version": "0.9.0",
"version": "0.10.0",
"description": "A simple SHA-256 / SHA-224 hash function for JavaScript supports UTF-8 encoding.",
"main": "src/sha256.js",
"devDependencies": {
"expect.js": "~0.3.1",
"mocha": "~10.2.0",
"nyc": "^15.1.0",
"uglify-js": "^3.1.9",
"webworker-threads": "^0.7.13"
"tiny-worker": "^2.3.0",
"uglify-js": "^3.1.9"
},
"scripts": {
"test": "nyc mocha tests/node-test.js",