Fil / d3-geo-voronoi

Voronoi / Delaunay tessellations on the sphere
ISC License
229 stars 24 forks source link

package 'tape': Fix security dependabot alert. #39

Closed martinfrances107 closed 3 years ago

martinfrances107 commented 3 years ago

Just a one line maintaince patch

Dependabot is generating this security alert against my mirror of this module.

https://github.com/martinfrances107/d3-geo-voronoi/security/dependabot/yarn.lock/path-parse/open

here is the reason we need to update the tape package .. one of its dependecies has this problem :- [I can say ... locally the test look fine and my benchmark run as expected.]

CVE-2021-23343 moderate severity Vulnerable versions: < 1.0.7 Patched version: 1.0.7 Affected versions of npm package path-parse are vulnerable to Regular Expression Denial of Service (ReDoS) via splitDeviceRe, splitTailRe, and splitPathRe regular expressions. ReDoS exhibits polynomial worst-case time complexity.

Fil commented 3 years ago

Yes. I want to upgrade this to an ES module (as the rest of D3). https://github.com/Fil/d3-geo-voronoi/pull/35