Skip to content

Update @scure/bip39 1.6.0 → 2.2.0 (major)#3558

Open
depfu[bot] wants to merge 1 commit into
masterfrom
depfu/update/yarn/@scure/bip39-2.2.0
Open

Update @scure/bip39 1.6.0 → 2.2.0 (major)#3558
depfu[bot] wants to merge 1 commit into
masterfrom
depfu/update/yarn/@scure/bip39-2.2.0

Conversation

@depfu

@depfu depfu Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​scure/bip39 (1.6.0 → 2.2.0) · Repo

Release Notes

2.2.0

  • April 2026 self-audit (all files): no major issues found
    • Audited for spec compliance and security
  • Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
    • TS 5.6 has Uint8Array, while TS 5.9+ made it generic Uint8Array<ArrayBuffer>
    • This creates incompatibility of code between versions
    • Previously, it was hard to use and constantly emitted errors similar to TS2345
    • See typescript#62240 for more context
  • Fix compilation issues on TypeScript v6
  • Improve tree-shaking, reduce bundle sizes
  • Fix wordlists/traditional-chinese.js: it was exported incorrectly
  • Wordlists: add PURE annotations to improve tree-shaking
  • Wordlists: freeze the arrays to improve security

New Contributors

(We're skipping v2.1, to align with other noble / scure packages)

Full Changelog: 2.0.1...2.2.0

2.0.1

  • .js extension must be used for all modules
    • Old: @scure/bip39/wordlists/english
    • New: @scure/bip39/wordlists/english.js
    • This simplifies working in browsers natively without transpilers
    • This was planned for 2.0.0, but was accidentally left out
  • Improve typescript autocompletion for imported submodules
  • Upgrade noble-hashes to 2.0.1
  • Upgrade noble-curves to 2.0.1

Full Changelog: 2.0.0...2.0.1

2.0.0

  • 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): 92KB => 78KB
    • Reduces unpacked npm size (on-disk space): 384KB => 201KB
  • Make bundle sizes smaller, compared to v1.x
  • Upgrade to noble v2
  • Add mnemonicToSeedWebcrypto, which uses built-in / native / WebCrypto method - useful for React Native and similar slow environments

Full Changelog: 1.6.0...2.0.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 32 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the dependencies Pull requests that update a dependency file label Jun 3, 2026
@socket-security

socket-security Bot commented Jun 3, 2026

Copy link
Copy Markdown

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​scure/​bip39@​1.6.0 ⏵ 2.2.0100 +110010084100

View full report

@depfu
depfu Bot force-pushed the depfu/update/yarn/@scure/bip39-2.2.0 branch from fcadbc5 to 415a305 Compare June 4, 2026 06:20
@depfu
depfu Bot force-pushed the depfu/update/yarn/@scure/bip39-2.2.0 branch from 415a305 to dc96e91 Compare June 4, 2026 07: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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants