nivo icon indicating copy to clipboard operation
nivo copied to clipboard

multiple copies of dependencies imported

Open taozhou-glean opened this issue 1 year ago • 3 comments

not necessary a bug report, but just happen to notice that there are multiple versions of the same dep, like d3-interpolate here, are imported on the same 0.83.1 nvio scope, would be nice if we can consolidate all of them across the package scope:

image

taozhou-glean avatar Nov 15 '23 01:11 taozhou-glean

Hum, thank you for reporting this, it's not intended, I need to check if I can use another version of d3-scale using [email protected].

plouc avatar Nov 16 '23 02:11 plouc

I was seeing something similar with d3-scale-chromatic so I created https://github.com/plouc/nivo/pull/2466 but probably needs work or more thought as there are a few packages here that have major version differences.

icco avatar Nov 20 '23 17:11 icco

I mean this is kinda a bug? cuz my vulnerability scanner is still tripping up on having d3-color 2.0 being brought in by d3-scale-chromatic 2.0 (using regular old npm)

cythrawll avatar Nov 29 '23 22:11 cythrawll

Upgraded d3 dependencies, should be solved in 0.85.1.

plouc avatar Mar 08 '24 01:03 plouc