[Pkg-javascript-devel] Bug#976682: node-jest: please provide real (not virtual) package node-natural-compare

Jonas Smedegaard dr at jones.dk
Sun Nov 7 05:45:19 GMT 2021


Control: reopen -1

Quoting Jonas Smedegaard (2020-12-06 23:05:02)
> Source: node-jest
> Version: 26.6.3+repack+~cs61.38.31-1
> Severity: important
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> eslint will soon depend on node-natural-compare,
> which is currently a virtual package provided by jest.
> 
> That means eslint and all its consumers,
> many of which do not need jest,
> will with the current setup grow a dependency of jest
> and its large set of dependencies.
> 
> Please consider providing node-natural-compare as a real binary package,
> either from src:node-jest as now,
> but preferrably (to also reduce _build-dependency_ tree)
> provided by some other source package with much much lower dependency tree -
> ideally a package using same type of build-dependencies as itself
> (i.e. _not_ mocha or jest or babel or rollup or terser).

Yadd closed this with the following remark:
> Since 26.6.3+ds+~cs64.28.30-3, node-jest builds 3 binary packages to 
> reduce dependencies size

eslint 5.16.0~dfsg+~4.16.8-7 depends on node-natural-compare which is 
clearly *not* separated from the pile of jest libraries: eslint has 
exploded to depend on 120 packages (where only 1 is truly needed, since 
node-natural-compare itself should have zero dependencies).

Reopening as not fixed!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211107/5090f5d4/attachment.sig>


More information about the Pkg-javascript-devel mailing list