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

arcnearby

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arcnearby - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

15

arcnearby.js

@@ -83,10 +83,11 @@ var config = require("./config")

if(errorCallback) errorCallback(response, body);
} else {
var data = JSON.parse(body)
,sortedData = {};
if(data.features !== undefined) {
sortedData = app.sortByDistance(data.features, coords); // Sort by distance
}
promise.resolve(sortedData);
if(successCallback) successCallback(sortedData);
}
var data = JSON.parse(body)
,sortedData = {};
if(data.features !== undefined) {
sortedData = app.sortByDistance(data.features, coords); // Sort by distance
}
promise.resolve(sortedData);
if(successCallback) successCallback(sortedData);
});

@@ -93,0 +94,0 @@ return promise;

{
"name": "arcnearby",
"description": "Generate bounding box around center point and search ArcGIS REST service for features within it, sorted by distance",
"version": "0.0.5",
"version": "0.0.6",
"homepage": "https://github.com/timwis/arcnearby",

@@ -6,0 +6,0 @@ "author": "Tim Wisniewski, Sarah Cordivano",

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