Skip to content

chore(deps): bump @scure/bip32 from 2.2.0 to 2.4.0 - #22

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/scure/bip32-2.3.0
Open

chore(deps): bump @scure/bip32 from 2.2.0 to 2.4.0#22
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/scure/bip32-2.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 21, 2026

Copy link
Copy Markdown
Contributor

Bumps @scure/bip32 from 2.2.0 to 2.4.0.

Release notes

Sourced from @​scure/bip32's releases.

2.4.0

Hardening:

  • The privateKey, publicKey, chainCode, identifier, pubKeyHash now return copies instead of live buffers
  • deriveChild no longer blindly try-catches. Use proper filtered-by-kind error handling. Retries will stop at last valid index instead of overflowing with error
  • fromExtendedKey now rejects checksum-valid payloads that are not exactly 78 bytes
  • Stricter HDKey constructor validation: depth must be an integer in 0..255 (throws RangeError), index and parentFingerprint must be valid uint32 values, and chainCode must be exactly 32 bytes
  • derive(path) now rejects paths up front that would exceed the maximum serializable depth of 255
  • Added toPrivateJSON() for explicit private (xpriv + xpub) export; toJSON() currently still includes xpriv for backwards compatibility (planned to become public-only in v3, so migrate to toPrivateJSON() for private round-trips)
  • fromJSON now also accepts { xpub } to restore a public-only key
  • Upgrade deps: noble-hashes, noble-curves and scure-base to 2.4.0.

Full Changelog: paulmillr/scure-bip32@2.3.0...2.4.0

2.3.0

  • Improve validation and error messages.
  • Upgrade deps: noble-hashes, noble-curves and scure-base to 2.3.0.
  • Reduce on-disk package size: 47.5kb → 35.7kb (-11.8kb), by disabling source maps (they became less relevant).
  • Reduce npm package size: 13.3kb → 8.63kb (-4.68kb)

Full Changelog: paulmillr/scure-bip32@2.2.0...2.3.0

Changelog

Sourced from @​scure/bip32's changelog.

2.4.0 (2026-08-28)

Hardening:

  • The privateKey, publicKey, chainCode, identifier, pubKeyHash now return copies instead of live buffers
  • deriveChild no longer blindly try-catches. Use proper filtered-by-kind error handling. Retries will stop at last valid index instead of overflowing with error
  • fromExtendedKey now rejects checksum-valid payloads that are not exactly 78 bytes
  • Stricter HDKey constructor validation: depth must be an integer in 0..255 (throws RangeError), index and parentFingerprint must be valid uint32 values, and chainCode must be exactly 32 bytes
  • derive(path) now rejects paths up front that would exceed the maximum serializable depth of 255
  • Added toPrivateJSON() for explicit private (xpriv + xpub) export; toJSON() currently still includes xpriv for backwards compatibility (planned to become public-only in v3, so migrate to toPrivateJSON() for private round-trips)
  • fromJSON now also accepts { xpub } to restore a public-only key
  • Upgrade deps: noble-hashes, noble-curves and scure-base to 2.4.0.

2.3.0 (2026-08-08)

  • Improve validation and error messages.
  • Upgrade deps: noble-hashes, noble-curves and scure-base to 2.3.0.
  • Reduce on-disk package size: 47.5kb → 35.7kb (-11.8kb), by disabling source maps (they became less relevant).
  • Reduce npm package size: 13.3kb → 8.63kb (-4.68kb)
Commits
  • ab00d7f Release 2.4.0.
  • d76c8e7 Upgrade deps, add changelog
  • 06aeff3 Bump jsbt
  • facbdf2 Harden: use nullish check; and prohibit second internal arg in deriveChild
  • ba6e898 Use getters to ensure outputs cannot be mutated
  • 09a0a15 Bump devdeps
  • 23a2339 Harden. Improve deriveChild logic: do not blindly try-catch.
  • 7ee63a3 Release 2.3.0.
  • 6a869f5 Upgrade deps
  • 1d0a505 Improve validation and error messages
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 21, 2026
@dependabot dependabot Bot changed the title chore(deps): bump @scure/bip32 from 2.2.0 to 2.3.0 chore(deps): bump @scure/bip32 from 2.2.0 to 2.4.0 Aug 31, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/scure/bip32-2.3.0 branch from a1b4988 to 9245cc5 Compare August 31, 2026 22:05
Bumps [@scure/bip32](https://github.com/paulmillr/scure-bip32) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/paulmillr/scure-bip32/releases)
- [Changelog](https://github.com/paulmillr/scure-bip32/blob/main/CHANGELOG.md)
- [Commits](paulmillr/scure-bip32@2.2.0...2.4.0)

---
updated-dependencies:
- dependency-name: "@scure/bip32"
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/scure/bip32-2.3.0 branch from 9245cc5 to e865215 Compare August 31, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants