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

geojson-elevation

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geojson-elevation - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

index.js

@@ -5,3 +5,4 @@ var coordEach = require('turf-meta').coordEach;

addElevation: function(geojson, elevationProvider, cb) {
var waiting = 0;
var waiting = 0,
allProcessed = false;

@@ -20,3 +21,3 @@ coordEach(geojson, function(coords) {

if (waiting === 0) {
if (allProcessed && waiting === 0) {
cb(undefined, geojson);

@@ -26,3 +27,8 @@ }

});
allProcessed = true;
if (waiting === 0) {
cb(undefined, geojson);
}
}
};

2

package.json
{
"name": "geojson-elevation",
"version": "1.0.0",
"version": "1.0.1",
"description": "Add elevation data to GeoJSON objects",

@@ -5,0 +5,0 @@ "main": "index.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