Skip to content

chore(deps): update dependency @scure/base to v2#979

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/scure-base-2.x
Open

chore(deps): update dependency @scure/base to v2#979
renovate[bot] wants to merge 1 commit into
developfrom
renovate/scure-base-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@scure/base (source) ^1.1.0^2.0.0 age adoption passing confidence

Release Notes

paulmillr/scure-base (@​scure/base)

v2.2.0

Compare Source

  • 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
  • utf8: make decoder strict, use isWellFormed (polyfilled in some envs)
  • Add strict ascii decoder (char range 0..127)
  • Bech32 examples in the docs by @​davay42 in #​44
  • Add overload to Bech32.decode to handle arbitrary string input by @​webmaster128 in #​45
  • perf: trust Uint8Array.fromBase64 to check non-whitespace chars by @​ChALkeR in #​47

New Contributors

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

Full Changelog: paulmillr/scure-base@2.0.0...2.2.0

v2.0.0

Compare Source

  • 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): 26.1KB => 24.5KB
    • Reduces unpacked npm size (on-disk space): 165KB => 102KB
  • Make bundle sizes smaller, compared to v1.x
  • Upgrade typescript compilation env to ts5.9 and es2022

Full Changelog: paulmillr/scure-base@1.2.6...2.0.0

v1.2.6

Compare Source

  • base64: prohibit spaces when native mode is selected.

Full Changelog: paulmillr/scure-base@1.2.5...1.2.6

v1.2.5

Compare Source

  • base64: use native coding when available. 167x faster encoding on 1KB inputs
  • hex: use native coding when available. 216x faster encoding on 1KB inputs.
  • Standalone build files are now attested and can be verified, check out README

Full Changelog: paulmillr/scure-base@1.2.4...1.2.5

v1.2.4

Compare Source

Fix broken common.js version

Full Changelog: paulmillr/scure-base@1.2.3...1.2.4

v1.2.3

Compare Source

  • Fix unpublished common.js version

Full Changelog: paulmillr/scure-base@1.2.2...1.2.3

v1.2.2

Compare Source

  • Publish to JSR.io
  • Use typescript isolatedDeclarations and "safe types" for automatically generated documentation
  • Use typescript verbatimModuleSyntax to support native type stripping

Full Changelog: paulmillr/scure-base@1.2.1...1.2.2


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Sep 1, 2025
@renovate renovate Bot force-pushed the renovate/scure-base-2.x branch from 97333f7 to 5685e9f Compare April 21, 2026 22:41
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