@turf/unkink-polygon
Advanced tools
Comparing version 4.5.2 to 4.6.0
@@ -14,9 +14,3 @@ var simplepolygon = require('simplepolygon'); | ||
* @example | ||
* var poly = { | ||
* 'type': 'Feature', | ||
* 'geometry': { | ||
* 'type': 'Polygon', | ||
* 'coordinates': [[[0, 0], [2, 0], [0, 2], [2, 2], [0, 0]]] | ||
* } | ||
* }; | ||
* var poly = turf.polygon([[[0, 0], [2, 0], [0, 2], [2, 2], [0, 0]]]); | ||
* | ||
@@ -23,0 +17,0 @@ * var result = turf.unkinkPolygon(poly); |
{ | ||
"name": "@turf/unkink-polygon", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "turf unkink-polygon module", | ||
@@ -39,7 +39,7 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/flatten": "^4.5.2", | ||
"@turf/helpers": "^4.5.2", | ||
"@turf/meta": "^4.5.2", | ||
"simplepolygon": "^1.1.6" | ||
"@turf/flatten": "^4.6.0", | ||
"@turf/helpers": "^4.6.0", | ||
"@turf/meta": "^4.6.0", | ||
"simplepolygon": "1.2.0" | ||
} | ||
} |
@@ -15,9 +15,3 @@ # @turf/unkink-polygon | ||
```javascript | ||
var poly = { | ||
'type': 'Feature', | ||
'geometry': { | ||
'type': 'Polygon', | ||
'coordinates': [[[0, 0], [2, 0], [0, 2], [2, 2], [0, 0]]] | ||
} | ||
}; | ||
var poly = turf.polygon([[[0, 0], [2, 0], [0, 2], [2, 2], [0, 0]]]); | ||
@@ -24,0 +18,0 @@ var result = turf.unkinkPolygon(poly); |
5338
44
49
+ Added@turf/area@3.14.0(transitive)
+ Added@turf/helpers@3.13.0(transitive)
+ Added@turf/inside@3.14.0(transitive)
+ Added@turf/invariant@3.13.0(transitive)
+ Added@turf/meta@3.14.0(transitive)
+ Added@turf/within@3.14.0(transitive)
+ Addedsimplepolygon@1.2.0(transitive)
- Removed@turf/area@4.7.3(transitive)
- Removed@turf/within@4.7.3(transitive)
- Removedsimplepolygon@1.2.3(transitive)
Updated@turf/flatten@^4.6.0
Updated@turf/helpers@^4.6.0
Updated@turf/meta@^4.6.0
Updatedsimplepolygon@1.2.0