@turf/voronoi - use d3-delaunay in favor of d3-voronoi

Open
#2,220 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start by reading packages/turf-voronoi/index.js at the referenced dependency import, then compare the d3-delaunay API with the current d3-voronoi usage. Done means the archived dependency is replaced while turf-voronoi retains its existing Voronoi behavior; the issue does not mention a test file to run.

Written by the indexing model from the issue text.

Description

@turf/voronoi dependencies

I noticed that turf-voronoi uses d3-voronoi, but that project is now archived, and it suggests to use d3-delaunay.

I just wanted to see if it's possible to switch over? And is are the maintainers open to a PR that does that?

Thanks!

(note this was originally added by @stevage in #1043)
(possibly related to #1053)

Dominant language
TypeScript
Stars
10.5k
Forks
1k
Avg merge
1h 11m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Turfjs/turf

All issues in Turfjs/turf

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.