Mark Farnum

Results 2 issues of Mark Farnum

On version `v6.5.0`, `turf.mask(polygon, mask)` now mutates `mask` in place. In version `v6.3.0`, it did not. Since this change is not documented, it can lead to some hard-to-diagnose bugs. Here's...

@turf/mask

Resolves #2634. This PR reverts the behavior of `turf.mask()` back to how it was pre-`v6.5.0`, but allows users to opt-in to input mutation via a new option. Also adds tests...