New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@turf/hex-grid

Package Overview
Dependencies
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/hex-grid - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

7

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc