On Fri, Dec 18, 2020 at 17:28, Jonas Smedegaard <d...@jones.dk> wrote:
Package: jest
Version: 26.6.3+repack+~cs61.38.31-2
Followup-For: Bug #977670

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Control: reoen -1
Control: retitle -1 jest: should explicitly (build-)depend on needed babel modules

Thanks for clarifying that this issue is not scenario a).

Now, please either...

b) if only some embedded modules need babel-related modules at runtime,
    and jest does not need those at runtime,
    then move them to a package which itself need babel at runtime,
    otherwise
 c) explicitly depend on the (possibly virtual) module packages needed


I.e. in any case it is wrong to declare (build-)dependency on
"node-babel7" because that package name represents a *bundle* of
modules, not explicit modules.

In short: please explicitly (build-)depend on needed babel modules

Explicitly, not implicitly through bundle-package (which may change
content in future!).

This does not work for buster-backports. I had to change dependency to node-debbundle-acorn from virtual packages in webpack and rollup for packages that build depends on webpack or rollup to work.

--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to