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

@turf/unkink-polygon

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/unkink-polygon - npm Package Compare versions

Comparing version 4.5.2 to 4.6.0

8

index.js

@@ -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);

10

package.json
{
"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);

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