Skip to content

Bump bn.js and openpgp#27

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/multi-156dda87d3
Open

Bump bn.js and openpgp#27
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/multi-156dda87d3

Conversation

@dependabot
Copy link
Copy Markdown

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

Bumps bn.js to 5.2.3 and updates ancestor dependency openpgp. These dependencies need to be updated together.

Updates bn.js from 4.12.0 to 5.2.3

Release notes

Sourced from bn.js's releases.

v5.2.1

  • fix: serious issue in .toString(16) (#295)

v5.2.0

  • fix: Buffer not using global in browser (#260)
  • fix: LE constructor for HEX (#265)

v5.1.3

  • Add support for defined but not implemented Symbol.for (#252)

v5.1.2

  • Fix BN v5/v4 interoperability issue (#249)

v5.1.1

  • Temporary workaround for BN#_move (#236)
  • Add eslintrc instead config in package.json (#237)

v5.1.0

  • Benchmark for BigInt (#226)
  • Add documentation for max/min (#232)
  • Update BN#inspect for Symbols (#225)
  • Improve performance of toArrayLike (#222)
  • temporary disable jumboMulTo in BN#mulTo (#221)
  • optimize toBitArray function (#212)
  • fix iaddn sign issue (#216)

v5.0.0

  • travis: update node versions (#205)
  • Refactor buffer constructor (#200)
  • lib: fix for negative numbers: imuln, modrn, idivn (#185)
  • bn: fix Red#imod (#178)
  • check unexpected high bits for invalid characters (#173)
  • document support very large integers (#158)
  • only define toBuffer if Buffer is defined (#172)
  • lib: better validation of string input (#151)
  • tests: reject decimal input in constructor (#91)
  • bn: make .strip() an internal method (#105)
  • lib: deprecate .modn() introduce .modrn() (#112 #129 #130)
  • bn: don't accept invalid characters (#141)
  • package: use files insteadof .npmignore (#152)
  • bn: improve allocation speed for buffers (#167)
  • toJSON to default to interoperable hex (length % 2) (#164)
Changelog

Sourced from bn.js's changelog.

5.2.3 / 2026-02-19

  • fix: imaskn state (#317)

5.2.2 / 2025-04-25

  • fix: imuln/muln with zero (#313)

5.2.1 / 2022-02-23

  • fix: serious issue in .toString(16) (#295)

5.2.0 / 2021-02-23

  • fix: Buffer not using global in browser (#260)
  • Fix LE constructor for HEX (#265)

5.1.3 / 2020-08-14

  • Add support for defined but not implemented Symbol.for (#252)

5.1.2 / 2020-05-20

  • Fix BN v5/v4 interoperability issue (#249)

5.1.1 / 2019-12-24

  • Temporary workaround for BN#_move (#236)
  • Add eslintrc instead config in package.json (#237)

5.1.0 / 2019-12-23

  • Benchmark for BigInt (#226)
  • Add documentation for max/min (#232)
  • Update BN#inspect for Symbols (#225)
  • Improve performance of toArrayLike (#222)
  • temporary disable jumboMulTo in BN#mulTo (#221)
  • optimize toBitArray function (#212)
  • fix iaddn sign issue (#216)

5.0.0 / 2019-07-04

... (truncated)

Commits

Updates openpgp from 5.5.0 to 6.3.0

Release notes

Sourced from openpgp's releases.

v6.3.0

What's Changed

  • Support Node.js v24 (openpgpjs/openpgpjs#1896)
  • Add config option to limit decompressed message size (openpgpjs/openpgpjs#1933) Since decompression can increase the memory usage non-linearly, add a config.maxDecompressedMessageSize option to limit the decompressed message size. By default it's set to Infinity, i.e. no limit. Set the config option to a number of bytes to limit the size of data that gets decompressed.
  • Switch from seek-bzip to unbzip2-stream (openpgpjs/openpgpjs#1887) To facilitate the above.
  • Use native CompressionStream/DecompressionStream when not streaming (openpgpjs/openpgpjs#1935) For improved compression/decompression performance when not streaming.
  • Use bufferless transforms (openpgpjs/openpgpjs#1893) For lower memory usage, especially when streaming.
  • JSDoc: make sure only user-facing entities are included in the docs, and add TS support (openpgpjs/openpgpjs#1923)
  • Various dependency version bumps
  • Various improvements to CI

Full Changelog: openpgpjs/openpgpjs@v6.2.2...v6.3.0

v6.2.2

What's Changed

  • Fix zlib compression for data larger than 65KB (openpgpjs/openpgpjs#1894): Affected versions: v6.2.0 and v6.2.1 . As compression is disabled by default in openpgpjs, the issue only affects users who enabled zlib compression via e.g. config.preferredCompressionAlgorithm = openpgp.enums.compression.zlib and encrypted or signed data larger than 65KB.

Full Changelog: openpgpjs/openpgpjs@v6.2.1...v6.2.2

v6.2.1

What's Changed

  • Lightweight build: lazy load tweetnacl dependency module (openpgpjs/openpgpjs#1877)
    • Key validation: use WebCrypto API when available for curve25519
  • Internal dependency updates

Full Changelog: openpgpjs/openpgpjs@v6.2.0...v6.2.1

v6.2.0

What's Changed

  • Implement OpenPGP message grammar validation (add config.enforceGrammar, enabled by default) (#1853)
  • Enable using WebCrypto for X25519 when available (#1829)
  • Prefer subkeys with higher algorithm IDs (in case of equal creation timestamps), on the assumption that that's the most modern/secure algorithm (#1854)
  • Improve packet stream & error handling (#1856):
    • Packet parsing errors in not-yet-authenticated streams (i.e. SEIPDv1 with allowUnauthenticatedStream: true) get delayed until the decrypted data stream is authenticated
    • Non-critical unknown packets get turned into UnparseablePacket` objects on the packet stream instead of being ignored
  • Make Issuer Key ID signature subpacket non-critical (#1828)
  • Improve type definition for the User class (#1857)

New Contributors

... (truncated)

Commits
  • e1cab74 6.3.0
  • fccbc3e Use native Compression Streams API when not streaming (#1935)
  • a61cf1f Add config option to limit decompressed message size (#1933)
  • 6ab6b9c Tests: use native web streams when TransformStream is available (#1934)
  • 1b2c842 [npm audit fix] bump glob and js-yaml (#1939)
  • 341354f Tests: Stub navigator.hardwareConcurrency in Node v21+
  • db9531d Tests: Bump mocha timeout for browser tests (#1941)
  • d00821b CI: add workflow permissions (#1937)
  • d27ef92 Bump playwright from 1.56.0 to 1.57.0 (#1936)
  • 1af590a Switch from seek-bzip to unbzip2-stream (#1887)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by twiss, a new releaser for openpgp since your current version.

Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [bn.js](https://github.com/indutny/bn.js) to 5.2.3 and updates ancestor dependency [openpgp](https://github.com/openpgpjs/openpgpjs). These dependencies need to be updated together.


Updates `bn.js` from 4.12.0 to 5.2.3
- [Release notes](https://github.com/indutny/bn.js/releases)
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md)
- [Commits](indutny/bn.js@v4.12.0...v5.2.3)

Updates `openpgp` from 5.5.0 to 6.3.0
- [Release notes](https://github.com/openpgpjs/openpgpjs/releases)
- [Commits](openpgpjs/openpgpjs@v5.5.0...v6.3.0)

---
updated-dependencies:
- dependency-name: bn.js
  dependency-version: 5.2.3
  dependency-type: indirect
- dependency-name: openpgp
  dependency-version: 6.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 21, 2026
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