#1148875 ITP: node-csso -- CSS minifier with structural optimisations

#1148875#5
Date:
2026-09-24 14:45:18 UTC
From:
To:
* Package name    : node-csso
  Version         : 5.0.5
  Upstream Author : Sergey Kryzhanovsky <skryzhanovsky@ya.ru>
* URL             : https://github.com/css/csso
* License         : MIT
  Programming Lang: JavaScript
  Description     : CSS minifier with structural optimisations

csso minifies CSS and performs structural optimisations on it, such as
merging adjacent rulesets and restructuring shorthands.  It ships a library
as well as a "csso" command line tool.

It is a dependency of svgo (svgo/lib/style.js requires it), and svgo is what
@svgr/plugin-svgo drives -- part of the @svgr toolbox used by the webpack
build of the Zotero note editor (ITP #1148540).  cssnano's postcss-svgo uses
csso as well, so the package is useful beyond that one chain.

csso's only runtime dependency is css-tree.  Upstream pins it to ~2.2.0 while
Debian already ships node-css-tree 3.2.1; I have checked end to end that 3.2.1
produces byte-identical output for the code paths csso and svgo use, so the
Debian package relaxes that dependency instead of introducing a second
css-tree version.  The package therefore needs no source patches.

I intend to maintain this package within the Debian JavaScript team.

Thanks,
Emfox

#1148875#10
Date:
2026-09-26 16:57:12 UTC
From:
To:
The Debian NEW review of node-csso 5.0.5-1 has been completed.

Decision: ACCEPTED
Reviewer: Mechtilde Stehmann

Review comment:

Hello,

please add the two missing authors with your next upload.

You find all infos under https://dfsg-new-queue.debian.org/reviews/node-csso
Thanks

Full review details: https://dfsg-new-queue.debian.org/reviews/node-csso

#1148875#15
Date:
2026-09-26 17:00:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-csso, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148875@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emfox Zhou <emfox@debian.org> (supplier of updated node-csso package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 24 Sep 2026 22:49:33 +0800
Source: node-csso
Binary: node-csso
Architecture: source all
Version: 5.0.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Emfox Zhou <emfox@debian.org>
Description:
 node-csso  - CSS minifier with structural optimisations
Closes: 1148875
Changes:
 node-csso (5.0.5-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1148875)
Checksums-Sha1:
 9b3dd95138f0161bf7bd52c7913eca4ca68c6f56 2042 node-csso_5.0.5-1.dsc
 9b841432078fb039e31063fc4dc49468f3a9585b 120444 node-csso_5.0.5.orig.tar.xz
 b2d08b58c6001338910526b81a83c7a9557faaee 2720 node-csso_5.0.5-1.debian.tar.xz
 dd43a9f31e86a0f8c525a77101d1c62eef5d3a09 102084 node-csso_5.0.5-1_all.deb
 876c90af7be56a81080d359e78b00ee90590dbd4 8251 node-csso_5.0.5-1_amd64.buildinfo
Checksums-Sha256:
 b53a354742209607e772887e7abb8b78bdd927ca5b70c00eea530ea8f2a5af25 2042 node-csso_5.0.5-1.dsc
 1e898c7b15e5b6d2bf3ce350b6cb4e67197b83e9b1004ab8b6c75f587294b54b 120444 node-csso_5.0.5.orig.tar.xz
 45471f0edbcc8ce955ca04bc1d6f7e647c01cbd1bc526ee7a0a14083849c6b8d 2720 node-csso_5.0.5-1.debian.tar.xz
 855941411764f9c56c6562c54abe29f2016392aca5819c67f3004588c7d16d8d 102084 node-csso_5.0.5-1_all.deb
 cdf0edede7bf09a426887a9ba4f0e23eed35e66cbbd3b3b2d2b07f06678c70fe 8251 node-csso_5.0.5-1_amd64.buildinfo
Files:
 d6844cd85f443579080c15254deca5de 2042 javascript optional node-csso_5.0.5-1.dsc
 c55bc035eb76321c1b909481847ab90c 120444 javascript optional node-csso_5.0.5.orig.tar.xz
 1283131b2ff55f12ea2e99d21fcd268f 2720 javascript optional node-csso_5.0.5-1.debian.tar.xz
 224267f0bf794b2428303750e58a74ee 102084 javascript optional node-csso_5.0.5-1_all.deb
 c0966356dd14a7d7582b1ce19e8fc945 8251 javascript optional node-csso_5.0.5-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEGSauJtItZVqOiaNpgImbv9t7vZQFAmq1mOYACgkQgImbv9t7
vZSFaQ//cCIw5rbwUSFaOjc4JzLW/Bo6RV7eVIXznhTPP/I2Ww1xA6ksYBl9iKF9
CakTaHdK+8L278jGosJ+42mVl9EWn9WFqu+BUZ34BVDIRkY5+xZf5PadEd2Yweuv
hw71Nkmur1/oBC2oqJqC0UIpzwGmdNR2g3CBFfujBZIecTYNcUVgUCp6QdLxITJ7
4d4hewVQ2baYjq0mtwbmEpypctEgskDbDsmb6E8j/RUrQT+4AN3L1fei8fza2vQr
sL+K8QbiNQnRFVfzI8UpS0DcqCH7ElwUGK+dyE8p84+0ophnH7XgfAMYCdS1UIRc
02i4clEoq7Et3nEziNJKw02umiGg8rUbmi6f0Yuxgev5X+3SQxkKE6FXY1yNpKJt
M9J7DfEmprJAeiYkk1BXlWAxQ0H0QMHZcemKUTyXN5PsTViluqsgGRrqtugVh5QP
DR1uPGOggZrmkk3XrwtMUQGFAW+DpS4VtboPQUK+hvpykdJbfNL7d2G4AcllyP+d
S4nbKh3cl4rYAbgIqd38tzHIyr22gu9rSzMJjVoQW7T05d8CSqJjx5VNCw0bLROF
ag73D56DfTXQ21LVFa89sM23n8nfNrwF8Jei7dvSzVQ5lfUu9dZ/HhafHD4iN6Ef
Z4aJJVq2BQnd22XnegBUUSLdc0w8RWKByABoA/w+k3Vw98yUC2U=
=YK2Q
-----END PGP SIGNATURE-----