Debian Patches

Status for node-cheerio/1.2.0+~cs2.1.0-1

Patch Description Author Forwarded Bugs Origin Last update
debian-build-adjustments.patch Adjustments for Debian's TypeScript stack and missing modules - Drop the isolatedDeclarations compiler option (TS 5.5+); Debian has 5.2.
- Drop the deprecated importsNotUsedAsValues option in cheerio-select.
- In cheerio-select: re-attach isTag (moved from domutils to domhandler in
domutils 4) onto a wrapped DomUtils, and force the css-select adapter on
compileToken() calls so they don't fall back to the bare domutils namespace
(which no longer carries isTag).
- Build cheerio-select as ESM (module:nodenext) for compat with cheerio's
ESM bundle; drop its `exports` field which forced an unbuilt
lib/esm/index.js.
- Strip the cheerio entry-point conveniences (loadBuffer, stringStream,
decodeStream, fromURL): they require encoding-sniffer (not yet packaged)
and whatwg-mimetype ^4 (Debian still has 3.x). The slim API and parse5-
based load() are kept.
- Replace a few `@ts-expect-error` directives that no longer apply on TS 5.2
with `@ts-ignore`.
Xavier Guimard <yadd@debian.org> not-needed 2026-05-03

All known versions for source package 'node-cheerio'

Links