Debian Patches

Status for less.js/3.13.0+dfsg-14

Patch Description Author Forwarded Bugs Origin Last update
use-packaged-plugins.patch Use rollup-plugin-typescript instead of not packaged rollup-plugin-typescript2 Remove rollup-plugin-terser usage (could be replaced by uglifyjs.terser)
Replace rollup-plugin-node-resolve by @rollup/plugin-node-resolve (forwarded)
yes 2020-11-09
reproducible.patch make build reproducible Chris Lamb <lamby@debian.org> not-needed debian 2020-12-15
fix-for-mime-2.patch fix for mime 2 Yadd <yadd@debian.org> not-needed 2022-11-04
0005-Port-to-rollup-plugin-typescript.patch Port to @rollup/plugin-typescript
rollup-plugin-typescript is gone; @rollup/plugin-typescript replaces it.
Unlike the old plugin it validates the compiler options it is given, and it
inherits packages/less/tsconfig.json, which is written for the separate "tsc"
pass that produces lib/: CommonJS output, outDir ./lib, rootDir ./src, source
maps on. Rollup rejects all of that -- it needs ES modules, an outDir inside
the directory of its own "file" option, a rootDir that also covers the
image-size component pulled in by the bundle, and no source maps since the
browser bundle is written without them. Spell those out in the plugin
options, where an explicit value wins over the inherited one.
Bastien Roucariès <rouca@debian.org> not-needed 2026-02-17
ts6-tsconfig.patch build with TypeScript 6 tsc 6.0 removed "noImplicitUseStrict" (TS5102) and deprecated the ES5 target
(TS5107). The option is gone for good, so the emitted CommonJS modules now
carry the "use strict" prologue they used to be spared; that is harmless for
less, whose sources are strict-clean, and it is the only behaviour tsc 6
still offers. "target: ES5" is kept -- raising it would change the emitted
code -- and silenced with "ignoreDeprecations".
.
Replaces the former typescript-5.0-comaptibiltiy.patch, which pinned
"ignoreDeprecations" to "5.0" and is rejected by tsc 6.
Xavier Guimard <yadd@debian.org> not-needed 2026-08-17

All known versions for source package 'less.js'

Links