[Pkg-javascript-devel] Bug#1009233: Bug#1009233: node-d3: depends on nodejs

Jonas Smedegaard dr at jones.dk
Sat Apr 9 20:24:08 BST 2022


Quoting Jérémy Lal (2022-04-09 16:07:50)
> On Sat, Apr 9, 2022 at 2:21 PM Jonas Smedegaard <dr at jones.dk> wrote:
> > The binary package node-d3 depends on nodejs.
> >
> > Dependencies are directional: Packages with code that _calls_ other 
> > code should depend on the package providing that other code, but 
> > packages providing code _called_ from other code should *not* 
> > declare a dependency.
> >
> > It seems the package node-d3 contains only library code, no 
> > executables, and it is therefore highly unlikely that the dependency 
> > is needed.
> >
> > Concretely the depenency is painful when using the library code with 
> > other JavaScript interpreters, most notably loading the code int a 
> > web browser.
> >
> > Please drop the dependency unless really needed.
> >
> > (...and do so for all other node-d3* packages as well)
> >
> 
> node-d3 is supposed to be required from nodejs,
> isn't libjs-d3 meant to be used for browsers ?

A node-* package can provide a libjs-* package.

Regardless of interpreters the code is usable for, it is still wrong to 
declare a dependency on the/an interpreter: Wrong direction!

 - 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/20220409/3cf801ac/attachment.sig>


More information about the Pkg-javascript-devel mailing list