Closed fresheneesz closed 1 year ago
It depends on 1.2.0 – 3, so you can upgrade.
https://github.com/d3/d3-scale/blob/83555bd759c7314420bd4240642beda5e258db9e/package.json#L38
On second look, I can't update. I need to update to d3-interpolate v3, however "d3-interpolate": "1.2.0 - 3",
does not allow this. That semvar means only versions below 3 (and 1.2.0 or above) are supported. Please reopen @mbostock
That’s not how semver ranges work, @fresheneesz. The upper bound of the range is inclusive.
@mbostock This cheatsheet as well as node-semvar say otherwise. Also pnpm refuses to update these dependencies. I don't think I'm wrong here.
From the link you posted:
In other words, 1.2.3 - 2
means all 2.x.y, but less than 3.0.0.
d3-interpolate depends on d3-color v2, which has a high CEV vulnerability according to
npm audit
. Updating would solve this.