[Pkg-javascript-devel] On node-svgo

Yadd yadd at debian.org
Sat Dec 11 12:24:22 GMT 2021


On 11/12/2021 13:11, Julien Puydt wrote:
> 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.

echo -n require > debian/tests/pkg-js/SKIP

> I'm definitely open to suggestions...
> 
> J.Puydt
> 



More information about the Pkg-javascript-devel mailing list