Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

which-polygon

Package Overview
Dependencies
Maintainers
28
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

which-polygon - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

4

index.js

@@ -12,2 +12,6 @@ 'use strict';

var feature = data.features[i];
// unlocated GeoJSON features can have null `geometry`
if (!feature.geometry) continue;
var coords = feature.geometry.coordinates;

@@ -14,0 +18,0 @@

2

package.json
{
"name": "which-polygon",
"version": "2.2.0",
"version": "2.2.1",
"description": "Index for matching points against a set of GeoJSON polygons",

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

@@ -10,3 +10,2 @@ A simple index for matching points and bboxes against a set of GeoJSON polygons to find what polygon it belongs to.

Using [this 50m world countries dataset](https://s3.amazonaws.com/geojson-please/naturalearth-3.3.0/ne_50m_admin_0_countries.geojson):

@@ -13,0 +12,0 @@ ```js

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