@turf/hex-grid
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -112,3 +112,3 @@ import distance from '@turf/distance'; | ||
if (triangles === true) { | ||
for (var triangle of hexTriangles( | ||
hexTriangles( | ||
[center_x, center_y], | ||
@@ -119,4 +119,3 @@ cellWidth / 2, | ||
cosines, | ||
sines | ||
)) { | ||
sines).forEach(function (triangle) { | ||
if (mask) { | ||
@@ -127,3 +126,3 @@ if (intersect(mask, triangle)) results.push(triangle); | ||
} | ||
} | ||
}) | ||
} else { | ||
@@ -130,0 +129,0 @@ var hex = hexagon( |
@@ -116,3 +116,3 @@ 'use strict'; | ||
if (triangles === true) { | ||
for (var triangle of hexTriangles( | ||
hexTriangles( | ||
[center_x, center_y], | ||
@@ -123,4 +123,3 @@ cellWidth / 2, | ||
cosines, | ||
sines | ||
)) { | ||
sines).forEach(function (triangle) { | ||
if (mask) { | ||
@@ -131,3 +130,3 @@ if (intersect(mask, triangle)) results.push(triangle); | ||
} | ||
} | ||
}); | ||
} else { | ||
@@ -134,0 +133,0 @@ var hex = hexagon( |
{ | ||
"name": "@turf/hex-grid", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "turf hex-grid module", | ||
@@ -5,0 +5,0 @@ "main": "main", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
20729
375