@turf/concave
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -5,3 +5,4 @@ import clone from "@turf/clone"; | ||
import { flattenEach } from "@turf/meta"; | ||
import { merge, topology } from "topojson"; | ||
import { merge } from "topojson-client"; | ||
import { topology } from "topojson-server"; | ||
/** | ||
@@ -8,0 +9,0 @@ * Dissolves all overlapping (Multi)Polygon |
@@ -10,3 +10,4 @@ "use strict"; | ||
var meta_1 = require("@turf/meta"); | ||
var topojson_1 = require("topojson"); | ||
var topojson_client_1 = require("topojson-client"); | ||
var topojson_server_1 = require("topojson-server"); | ||
/** | ||
@@ -38,6 +39,6 @@ * Dissolves all overlapping (Multi)Polygon | ||
}); | ||
var topo = topojson_1.topology({ geoms: helpers_1.geometryCollection(geoms).geometry }); | ||
var merged = topojson_1.merge(topo, topo.objects.geoms.geometries); | ||
var topo = topojson_server_1.topology({ geoms: helpers_1.geometryCollection(geoms).geometry }); | ||
var merged = topojson_client_1.merge(topo, topo.objects.geoms.geometries); | ||
return merged; | ||
} | ||
exports.default = polygonDissolve; |
{ | ||
"name": "@turf/concave", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "turf concave module", | ||
@@ -60,3 +60,4 @@ "author": "Turf Authors", | ||
"@types/tape": "*", | ||
"@types/topojson": "*", | ||
"@types/topojson-client": "^3.0.0", | ||
"@types/topojson-server": "^3.0.0", | ||
"benchmark": "*", | ||
@@ -72,11 +73,12 @@ "load-json-file": "*", | ||
"dependencies": { | ||
"@turf/clone": "^6.3.0", | ||
"@turf/distance": "^6.3.0", | ||
"@turf/helpers": "^6.3.0", | ||
"@turf/invariant": "^6.3.0", | ||
"@turf/meta": "^6.3.0", | ||
"@turf/tin": "^6.3.0", | ||
"topojson": "3.x" | ||
"@turf/clone": "^6.4.0", | ||
"@turf/distance": "^6.4.0", | ||
"@turf/helpers": "^6.4.0", | ||
"@turf/invariant": "^6.4.0", | ||
"@turf/meta": "^6.4.0", | ||
"@turf/tin": "^6.4.0", | ||
"topojson-client": "3.x", | ||
"topojson-server": "3.x" | ||
}, | ||
"gitHead": "57c8877e1e2d67effc2cdd23385c02b2a6615a49" | ||
"gitHead": "1e62773cfc88c627cca8effcb5c14cfb65a905ac" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
31098
685
8
11
1
+ Addedtopojson-client@3.x
+ Addedtopojson-server@3.x
+ Addedtopojson-client@3.1.0(transitive)
+ Addedtopojson-server@3.0.1(transitive)
- Removedtopojson@3.x
- Removedtopojson@3.0.2(transitive)
- Removedtopojson-client@3.0.0(transitive)
- Removedtopojson-server@3.0.0(transitive)
- Removedtopojson-simplify@3.0.2(transitive)
Updated@turf/clone@^6.4.0
Updated@turf/distance@^6.4.0
Updated@turf/helpers@^6.4.0
Updated@turf/invariant@^6.4.0
Updated@turf/meta@^6.4.0
Updated@turf/tin@^6.4.0