#976682 node-jest: please provide real (not virtual) package node-natural-compare

#976682#5
Date:
2020-12-06 22:05:02 UTC
From:
To:
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).


Thanks for considering,

 - Jonas
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAl/NVYsACgkQLHwxRsGg
ASFC6A/9FTuzJjrSVIBEYxzqGUfJcaZUF2ppptYwy0xnTNEq29UGGfc1jezDd8jK
9Bvo6Aix1sDfqIh9/ehLkL3ZaLb7yHYbDNGHI+AaHX7eqg7IDqRor2tMoRSvpTyQ
N6v3INGrr0pmjG7cu/Xe6t9TwNPYUtFkrItpTt7H9hxZewTmGG7pL5w7a9d5Fkf7
VxYOqyHAMibTbR1LddFy3hkenV43M7A3zdEfjBOmdVa/fXacxiafBQFF2iICzm7O
MViDUMUjEKLhNEgLfpiIvraBC8eLJTvb5IsZu6Rs+BchEZF7GYmznXR3Tokyn/WS
uCK1B+MuY7jYSqZB1C+T0KrviAhID2OmB8+teoY2n7jwIb/sc44bjrNjdLT4jzVp
3QWQnR3OkI523OdD8xSPBHit2llnY1n5BDhvETZa3Rey+13kYFPyt3B061aTKNyY
RYZKpJgYLj+eUUlYkgmRtX1DgKAzfntySDvXAi1YNiZ3mpVWdRALGyiLTF0aFZVV
lMVrNsdLtP2cy/m0Bm6FapwTkJmsnMOQ2YIRPakxeO16NXUUwqL1ujVr04NTi1U3
2/6+0h9/WCyB1sWswbCO7syo85nD/OaQ12q7wVcVBOhgmQzkblm9l1QniNiNRH4o
qnNbfbI9Io4aDp8KWG1F9KK5FZzfngBuIxHxoqgXYt2Y8L7GOio=
=Ia78
-----END PGP SIGNATURE-----

#976682#10
Date:
2021-09-29 13:57:40 UTC
From:
To:
Since 26.6.3+ds+~cs64.28.30-3, node-jest builds 3 binary packages to
reduce dependencies size

#976682#19
Date:
2021-11-07 05:45:19 UTC
From:
To:
Quoting Jonas Smedegaard (2020-12-06 23:05:02)

Yadd closed this with the following remark:

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