Debian Patches

Status for node-openpgp-asmcrypto.js/2.3.3~0-6

Patch Description Author Forwarded Bugs Origin Last update
build-for-node-only.patch Build for node only sandra uwah <sandrauwah282@gmail.com> not-needed
use-esm-modules.patch use node's native esm support sandra uwah <sandrauwah282@gmail.com> not-needed
fix-for-dot-npmignore.patch Fix for dot-npmignore sandra uwah <sandrauwah282@gmail.com> not-needed
fix-tsc-config.patch fix tsc config The upstream config leaves the module resolution implicit, which with an ES6
module kind means the "classic" algorithm and no relative import resolves.
"bundler" is the modern spelling: TypeScript 6 rejects the "node" (node10)
value this patch used to set (TS5107).
.
TypeScript 6 also stopped scanning node_modules/@types on its own, so the
node typings behind the require("crypto") fallback have to be asked for
explicitly (TS2591).
Yadd <yadd@debian.org> not-needed debian 2026-08-17
ts6-arraybufferlike.patch keep the asm.js heaps typed as ArrayBuffer The typed-array "buffer" property is declared as ArrayBufferLike, which the
TypeScript 6 libraries widened to also cover SharedArrayBuffer; the asm.js
module constructors all take a plain ArrayBuffer, so the calls stopped
type-checking (TS2345). Every heap here is allocated as a normal ArrayBuffer,
so a cast states what was already true and leaves the emitted code untouched.
Xavier Guimard <yadd@debian.org> not-needed 2026-08-17
ts6-random-values-view.patch keep the WebCrypto fallback type-checking under TypeScript 6 ArrayBufferView became generic in the TypeScript 6 libraries, and
crypto.getRandomValues only accepts a view over a plain ArrayBuffer; a bare
Uint8Array is a view over ArrayBufferLike, so the call stopped type-checking
(TS2345). Cast once inside this helper rather than narrowing its signature,
which would only move the same cast to every caller. The emitted JavaScript
gains nothing but a local alias.
Xavier Guimard <yadd@debian.org> not-needed 2026-08-17

All known versions for source package 'node-openpgp-asmcrypto.js'

Links