Socket
Socket
Sign inDemoInstall

turf

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf - npm Package Compare versions

Comparing version 0.0.109 to 0.0.110

test/testIn/countries_simp.geojson

11

lib/merge.js

@@ -13,6 +13,11 @@ // 1. run tin on points

function(poly, cb){
t.union(merged, poly, function(err, mergedPolys){
merged = mergedPolys
if(poly.geometry){
t.union(merged, poly, function(err, mergedPolys){
merged = mergedPolys
cb()
})
}
else {
cb()
})
}
},

@@ -19,0 +24,0 @@ function(){

{
"name": "turf",
"version": "0.0.109",
"version": "0.0.110",
"description": "a node.js library for performing geospatial operations with geojson",

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

@@ -26,4 +26,4 @@ var t = require('../index'),

})
xit('should take a set of polygons for all countries and create a set of continents', function(done){
t.load('../test/testIn/countries.geojson', function(err, polygons){
it('should take a set of polygons for all countries and create a set of continents', function(done){
t.load('../test/testIn/countries_simp.geojson', function(err, polygons){
t.merge(polygons, function(err, mergeOut){

@@ -30,0 +30,0 @@ if(err) throw err

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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