Debian Patches

Status for node-turndown/7.2.2+~2.2.0~git20240406-2

Patch Description Author Forwarded Bugs Origin Last update
ship_typescript_definitions.patch ship TypeScript definitions Julien Puydt yes
fix-for-rollup-3.patch fix for rollup 3 Yadd <yadd@debian.org> not-needed debian 2022-10-28
drop-rewire-test.patch drop rewire test Yadd <yadd@debian.org> not-needed 2025-10-25
drop-__proto__-calls.patch drop the use of __proto__ Removes all direct uses of __proto__ in the codebase to avoid accessing
Object.prototype.__proto__, which triggers security warnings in modern
JavaScript environments.
.
1. DOMException.js: Replaced the deprecated __proto__ assignment with the
standard Object.setPrototypeOf() method for establishing prototype
inheritance:
* Before: DOMException.prototype.proto = Error.prototype;
* After: Object.setPrototypeOf(DOMException.prototype, Error.prototype);
.
2. HTMLParser.js: Removed 24 redundant proto: null property declarations in
object literals. These were unnecessary since the objects are already
created with Object.create(null), which already sets the prototype to null.
.
These changes maintain the exact same functionality while using modern,
standard JavaScript APIs that don't trigger security concerns.
Yadd <yadd@debian.org> yes 2025-10-26

All known versions for source package 'node-turndown'

Links