[Pkg-javascript-devel] Bug#977670: Bug#977670: jest: should explicitly (build-)depend on needed babel modules

Pirate Praveen praveen at onenetbeyond.org
Fri Dec 18 17:28:40 GMT 2020



On Fri, Dec 18, 2020 at 17:28, Jonas Smedegaard <dr at 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.



More information about the Pkg-javascript-devel mailing list