Debian Patches

Status for node-amaro/1.1.11+ds-2

Patch Description Author Forwarded Bugs Origin Last update
0001-use-system-swc.patch build the wasm binding against packaged SWC crates The binding only uses the public swc_ts_fast_strip and
swc_error_reporters APIs, which are available from rust-swc-core
77.1.2. Drop the vendored path dependencies and use the Debian
packaged crates instead. rust-swc-core removes swc_ts_fast_strip's
nightly feature, so the binding's own nightly feature is made empty.
Jérémy Lal <kapouer@melix.org> not-needed 2026-11-20
0002-patch-wasm-0.2.108.patch support wasm-bindgen 0.2.108 loader output wasm-bindgen 0.2.108 changed the generated nodejs loader from
`const path = ...` / `const bytes = ...` to `const wasmPath = ...`
/ `const wasmBytes = ...`. The old patch script silently deleted
wasm_bg.wasm without embedding it, leaving a broken wasm.js.
Recognize both forms and fail if neither is found.
Jérémy Lal <kapouer@melix.org> not-needed 2026-11-20
0003-typescript-6.patch fix tsconfig.json for TypeScript 6 TypeScript 6 rejects the deprecated baseUrl option and requires an
explicit rootDir when emitting declarations outside src/. Remove
baseUrl and set rootDir so tsc --noCheck emits dist/*.d.ts at the
expected paths. Exclude debian/ as well, so the generated cargo
registry (which contains .ts test fixtures) is not picked up by the
default **/* include pattern.
Jérémy Lal <kapouer@melix.org> not-needed 2026-11-20
rust-no-nightly.patch Disable usage of rust nightly flags (-Z) Jérémy Lal <kapouer@melix.org> not-needed 2026-05-15

All known versions for source package 'node-amaro'

Links