Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 5, 2025

Bumps @noble/ciphers from 1.0.0 to 2.0.0.

Release notes

Sourced from @​noble/ciphers's releases.

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): 118KB => 99KB
    • Reduces unpacked npm size (on-disk space): 753KB => 458KB
  • Make bundle sizes smaller, compared to v1.x
  • .js extension must be used for all modules
    • Old: @noble/ciphers/aes
    • New: @noble/ciphers/aes.js
    • This simplifies working in browsers natively without transpilers

Changes

  • webcrypto: move randomBytes and managedNonce to utils.js
  • ghash, poly1305, polyval: only allow Uint8Array as hash inputs, prohibit string
  • utils: new abytes; remove ahash, toBytes
  • Remove modules _assert (use utils), _micro and crypto (use webcrypto)
  • Upgrade typescript compilation env to ts5.9 and es2022
  • Massively improve error messages, make them more descriptive

Full Changelog: paulmillr/noble-ciphers@1.3.0...2.0.0

1.3.0

  • Modules are now available with .js extension
    • Old: @noble/ciphers/chacha
    • New: @noble/ciphers/chacha.js
    • Old path is still available
    • This simplifies working in browsers natively without transpilers
  • utils: use built-in Uint8Array toHex / fromHex when available. Gives 13x speed-up on 256b arrays, 20x speed-up on 32kb arrays
  • utils.randomBytes: ensure same return type Uint8Array in old nodejs
  • Move _assert into utils
  • Rename siv to gcmsiv
  • Standalone build files are now attested in CI. Check out README for verification guide
  • Typescript source can now be used without compilation in node.js v24, due to erasableSyntaxOnly

Full Changelog: paulmillr/noble-ciphers@1.2.1...1.3.0

1.2.1

  • Use typescript verbatimModuleSyntax to support future node.js type stripping

Full Changelog: paulmillr/noble-ciphers@1.2.0...1.2.1

1.2.0

  • The package is now available on JSR.
  • Use isolatedDeclarations typescript option, which massively simplifies documentation auto-gen, and more
    • Check out JSR page for one example
  • Add tons of comments everywhere to improve autocompletion, LLM code gen, and basic code understanding.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@noble/ciphers](https://github.com/paulmillr/noble-ciphers) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/paulmillr/noble-ciphers/releases)
- [Commits](paulmillr/noble-ciphers@1.0.0...2.0.0)

---
updated-dependencies:
- dependency-name: "@noble/ciphers"
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the automerge Instructs Mergify to queue this pull request for automatic merging label Sep 5, 2025
Copy link

changeset-bot bot commented Sep 5, 2025

🦋 Changeset detected

Latest commit: 4dce255

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@substrate/wallet-template Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​noble/​ciphers@​1.0.0 ⏵ 2.0.0100 +110010091100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Instructs Mergify to queue this pull request for automatic merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant