[Pkg-javascript-devel] Embedded modules more than once

Xavier yadd at debian.org
Thu Sep 3 14:43:24 BST 2020


Le 03/09/2020 à 15:36, Xavier a écrit :
> Le 03/09/2020 à 14:59, Andrius Merkys a écrit :
>> Hi Xavier,
>>
>> On 2020-09-03 15:54, Xavier wrote:
>>> buffer-equal:
>>> 	- node-buffer-equal (1.0.0)
>>> 	- node-vinyl-fs (1.0.0)
>>
>> Does this (and the like) mean that <module> is now packaged as
>> node-<module>? If so, such embedded modules might be removed.
> 
> Hi,
> 
> You're right buffer-equal should be removed from node-vinyl-fs. Other
> example, node-parse-json is bad: it embeds some outdated @babel/*
> modules while node-babel7 has been released.
> 
> I built this inventory to detect such cases.

Other (good) example: node-lolex embed a slightly outdated
@sinonjs/commons to avoid a complex circular dependency with node-sinon.
In this case no bug, just a known problem.



More information about the Pkg-javascript-devel mailing list