arco-admin
arco-admin copied to clipboard
build(deps): bump @noble/hashes from 1.8.0 to 2.0.1
Bumps @noble/hashes from 1.8.0 to 2.0.1.
Release notes
Sourced from @noble/hashes's releases.
2.0.1
.jsextension must be used for all modules
- Old:
@noble/hashes/sha3- New:
@noble/hashes/sha3.js- This simplifies working in browsers natively without transpilers
- This was planned for 2.0.0, but was accidentally left out
- package.json: specify exported submodules to ensure typescript autocompletion
- scrypt: Fix error message for maxmem check by
@ChALkeRin paulmillr/noble-hashes#121- scrypt: 4% speed-up by
@ChALkeRin paulmillr/noble-hashes#122Full Changelog: https://github.com/paulmillr/noble-hashes/compare/2.0.0...2.0.1
2.0.0
High-level
- The package is now ESM-only. ESM can finally be loaded from common.js on node v20.19+
- Node v20.19 is now the minimum required version
- Package imports now work correctly in bundler-less environments, such as browsers
- Reduces npm package size (traffic consumed): 152KB => 136KB
- Reduces unpacked npm size (on-disk space): 1.1MB => 669KB
- Make bundle sizes smaller, compared to v1.x
.jsextension must be used for all modules
- Old:
@noble/hashes/sha3- New:
@noble/hashes/sha3.js- This simplifies working in browsers natively without transpilers
Changes
- Only allow Uint8Array as hash inputs, prohibit
string
- Strict validation checks improve security
- To replicate previous behavior, use
utils.utf8ToBytes- Rename / remove some modules for consistency. Previously, sha384 resided in sha512, which was weird
sha256,sha512=>sha2.js(consistent withsha3.js)blake2b,blake2s=>blake2.js(consistent withblake3.js,blake1.js)ripemd160,sha1,md5=>legacy.js(all low-security hashes are there)_assert=>utils.jscryptointernal module got removed: use built-in WebCrypto instead- Improve typescript types & option autocomplete
- Upgrade typescript compilation env to ts5.9 and es2022
- Massively improve error messages, make them more descriptive
Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.8.0...2.0.0
Commits
d30e070Release 2.0.1.4485505anumber: fix error msgdd62b81pkg.json: add back export maps for text editor autocompletion59fda2cMerge pull request #122 from ChALkeR/chalker/perf/scrypt/090dfe17adjust commente6099aeadd a comment15ee761perf: tiny improvement in scrypt30f8780Merge pull request #121 from ChALkeR/patch-2f43e04bFix error message for scrypt maxmem checkb048d14Release 2.0.0 to JSR.- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| arco-admin | Preview | Oct 1, 2025 5:07pm |
Deploy Preview for arco-admin failed.
| Name | Link |
|---|---|
| Latest commit | 66e0dde5e38375b63e89dc28fbd6c87618e690ff |
| Latest deploy log | https://app.netlify.com/projects/arco-admin/deploys/68dd5fd8b3ef8f0008d81fb2 |