Socket
Socket
Sign inDemoInstall

node-geometry-library

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.4 to 1.2.5

5

lib/PolyUtil.js

@@ -127,3 +127,4 @@ "use strict";

// @ts-ignore
polygon.forEach(val => {
for (let index in polygon) {
const val = polygon[index];
let dLng3 = MathUtil_1.default.wrap(lng3 - lng1, -Math.PI, Math.PI);

@@ -142,3 +143,3 @@ // Special case: point equal to vertex is inside.

lng1 = lng2;
});
}
return (nIntersect & 1) != 0;

@@ -145,0 +146,0 @@ }

2

package.json
{
"name": "node-geometry-library",
"version": "1.2.4",
"version": "1.2.5",
"description": "Javascript Geometry Library provides utility functions for the computation of geometric data on the surface of the Earth. Code ported from Google Maps Android API.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc