Review: node-babel-plugin-template-html-minifier 4.1.0-1
Package Information
| Description | Babel plugin to minify HTML in tagged template literals This plugin identifies template tags through configured JavaScript imports and require calls. It minifies the static parts of matching templates while preserving their interpolated expressions. Options control whitespace and comment removal and allow CSS in HTML or in separate tagged templates to be minified. |
|---|---|
| Maintainer | Home Assistant Team <team+homeassistant@tracker.debian.org> |
| Changed By | Edward Betts <edward@4angle.com> |
| Sponsor | edward@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/homeassistant-team/js/node-babel-plugin-template-html-minifier.git (browse) |
| Closes | #1155913 |
| Tracker | https://tracker.debian.org/pkg/node-babel-plugin-template-html-minifier |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Changed-By | Edward Betts <edward@4angle.com> |
|---|---|
| Architecture | all source |
| Distribution | unstable |
| Date | Mon, 30 Nov 2026 16:07:22 +0000 |
| Source | node-babel-plugin-template-html-minifier |
| Version | 4.1.0-1 |
Changelog
node-babel-plugin-template-html-minifier (4.1.0-1) unstable; urgency=medium . * Initial release. (Closes: #1155913)
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | node-babel-plugin-template-html-minifier deb javascript optional arch=all |
| Section | javascript |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: babel-plugin-template-html-minifier
Upstream-Contact: Corey Farrell <git@cfware.com>
Source: https://github.com/cfware/babel-plugin-template-html-minifier
Files: *
Copyright: 2019 CFWare, LLC
License: MIT
Files: lib/wrap-css.js
Copyright: 2010-2018 Juriy "kangax" Zaytsev
2019 CFWare, LLC
License: MIT
Files: debian/*
Copyright: 2026 Edward Betts <edward@4angle.com>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for node-babel-plugin-template-html-minifier version 4.1.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
All 80 non-debian files (excluding .pc) are MIT-licensed. Only LICENSE and lib/wrap-css.js carry copyright notices: CFWare, LLC 2019 and Juriy "kangax" Zaytsev 2010-2018, both named in debian/copyright with the correct stanzas, and the full MIT text is included. lib/minify-html.js and lib/minify-html-worker.js are created by the Debian patch, not upstream files, and fall under the debian/* stanza naming Edward Betts. No non-free or unclear terms, no generated/binary files.
Packaging
Conventional dh packaging at compat 14 with debhelper 14.5's single-binary sequence and dh-nodejs's nodejs-no-lerna sequence (both provided as apt-cache confirms); dependencies mirror the module requires, tests run at build time via debian/tests/pkg-js/test and in autopkgtest via Testsuite: autopkgtest-pkg-nodejs; Standards-Version 4.7.4 is current against Policy 4.7.4.1; Vcs-*, Homepage, changelog and upstream metadata are consistent. The only notable content is the dgit combined patch, which ports the plugin to html-minifier-terser 7 through worker threads and is exercised by the updated test suite rather than being stale or unexplained in the tree.
Issues
None.
Verified ◂
- Prescan holder result confirmed independently: grep for Copyright, (C), ©, SPDX and licence phrases over the whole tree (gitignore false) found notices only in LICENSE (CFWare, LLC 2019) and lib/wrap-css.js (Juriy "kangax" Zaytsev 2010-2018, plus CFWare); both holders and both stanzas exist in debian/copyright, which also carries the complete MIT permission text.
- lib/wrap-css.js is a small MIT-licensed excerpt of kangax/html-minifier; its notice is retained in the file and its holder is in debian/copyright, so the embedded copy is accounted for.
- lib/minify-html.js and lib/minify-html-worker.js, the two files the prescan attributes to debian/patches/dgit-changes, are created by that patch (new file mode in the diff), not shipped upstream; they contain no third-party material and are described by the debian/* stanza (Edward Betts, MIT).
- debian/copyright is DEP-5: correct Format URL, Upstream-Name/Contact/Source, Files: , lib/wrap-css.js and debian/ stanzas in override order, and a stand-alone MIT licence paragraph; no licence text outside /usr/share/common-licenses is missing.
- All named binary dependencies exist (node-clean-css 5.3.3, node-html-minifier-terser 7.2.0, node-is-builtin-module 3.2.0, node-lit 3.3.3, node-tap 21.7.5); dh-sequence-nodejs-no-lerna is provided by dh-nodejs 0.17.14 and dh-sequence-single-binary by debhelper 14.5.
- Packaging files read in full: debian/control, rules, changelog, copyright, source/format, docs, patches/series and dgit-changes, tests/pkg-js/{files,test}, upstream/metadata.
- The upstream source tree outside debian/ and .pc was enumerated (80 files) and contains only plain JavaScript, Markdown, JSON and CI YAML: no built, minified, architected or binary artifacts and no node_modules.
- uscan found the packaged version as the newest upstream release (upstream
4.1.0, packaged4.1.0).
Not confirmed ◂
- No build or test run was possible in this read-only review; the behaviour of the worker-thread port in lib/minify-html.js and lib/minify-html-worker.js, and the exact installed file set chosen by dh-nodejs, were inferred from the code and nodejs.pm rather than observed.
Proposed changes ◂
None.
Uploader's response to the LLM review
The review found no issues, so no response is needed.
Review Information
accepted — allocated to mechtilde 0 hours ago, started 0 hours ago, completed 0 hours ago.