mirror of
https://github.com/emn178/js-sha1.git
synced 2026-11-17 14:18:44 +08:00
### Added
- ESM builds and package `exports`. ### Fixed - Incorrect hash for strings with unpaired UTF-16 surrogates; they are now encoded as U+FFFD, the same as `TextEncoder`. - Detect browsers with a `process` polyfill (e.g. BrowserFS) and Electron renderers as non-Node.js environments. ### Changed - Replace Travis CI with GitHub Actions. - Update dev dependencies and fix security issues. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
fd520b41fa
commit
3e1a92f2a4
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "js-sha1",
|
||||
"version": "0.7.0",
|
||||
"version": "0.8.0",
|
||||
"main": ["src/sha1.js"],
|
||||
"ignore": [
|
||||
"samples",
|
||||
|
||||
Reference in New Issue
Block a user