[Pkg-javascript-devel] On node-svgo

Julien Puydt julien.puydt at gmail.com
Sat Dec 11 12:11:12 GMT 2021


Le vendredi 10 décembre 2021 à 15:07 +0100, Jonas Smedegaard a écrit :
> 
> It is better to embed uscan-tracked than embed without tracking, even
> if embedding an older version.  That way uscan (and e.g. tracker.d.o)
> helps remind us to upgrade when possible.

I agree it's better ; but the current situation is of the type I hate
about javascript.

We have a packaged svgo on salsa which on the plus side would give us
/usr/bin/svgo work today (well, going in NEW at least). On the minus
side it is obsolete and it does embed obsolete things.

For a newer and more proper svgo, "npm2deb depends -r" shows we would
need:

- to update commander (no idea how hard that is) ;
- picocolors to clear NEW ;
- new packages for @trysound/sax, csso, stable and perhaps some of the
b-deps (pixelmatch? playwright? pngjs?) ;

In turn, stable, @trysound/sax and stable agree they want standard, so
that makes it look like a good target.

But standard says it wants the world. And in this big list, it seemed
pkg-conf was an easy target without creepy "None" in the right column.
Hélas! It wants newer versions of both its deps, find-up and load-json-
file.

So I tried my hand at load-json-file. Good news: it's just files to put
in place, no more deps (just ava for testing). Bad news: it's now a
non-require-able module, so even the auto-pkg-js-require step fails. I
could make it a pure debian/install package putting the files in place,
no test at all, but it would be dirty.

I'm definitely open to suggestions...

J.Puydt



More information about the Pkg-javascript-devel mailing list