New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hexcoord

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexcoord - npm Package Compare versions

Comparing version
0.1.6
to
0.1.7
+1
-1
lib.js

@@ -208,3 +208,3 @@ // Generated code -- http://www.redblobgames.com/grids/hexagons/

return hexes.reduce(function(cur, val, index) {
if cur is -1 and val.q is hex.q and val.r is hex.r then index else cur
return cur === -1 && val.q === hex.q && val.r === hex.r && val.s === hex.s ? index : cur;
}, -1);

@@ -211,0 +211,0 @@ }

@@ -5,3 +5,3 @@ {

"description": "",
"version": "0.1.6",
"version": "0.1.7",
"license": "MIT",

@@ -8,0 +8,0 @@ "homepage": "http://www.redblobgames.com/grids/hexagons/",