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

@turf/tesselate

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/tesselate - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0

10

index.js

@@ -13,4 +13,10 @@ var polygon = require('@turf/helpers').polygon;

* @example
* var poly = turf.random('polygon').features[0];
*
* var poly = {
* "type": "Feature",
* "properties": {},
* "geometry": {
* "type": "Polygon",
* "coordinates": [[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]]
* }
* }
* var triangles = turf.tesselate(poly);

@@ -17,0 +23,0 @@ *

11

package.json
{
"name": "@turf/tesselate",
"version": "4.3.0",
"version": "4.4.0",
"description": "turf tesselate module",

@@ -29,4 +29,6 @@ "main": "index.js",

"contributors": [
"morganherlocker",
"Abel Vázquez"
"Abel Vázquez <@AbelVM>",
"Morgan Herlocker <@morganherlocker>",
"Tom MacWright <@tmcw>",
"Vladimir Agafonkin <@mourner>"
],

@@ -39,3 +41,2 @@ "license": "MIT",

"devDependencies": {
"@turf/helpers": "^4.3.0",
"benchmark": "^2.1.4",

@@ -45,5 +46,5 @@ "tape": "^4.6.3"

"dependencies": {
"@turf/helpers": "^4.3.0",
"@turf/helpers": "^4.4.0",
"earcut": "^2.0.0"
}
}

@@ -15,4 +15,10 @@ # @turf/tesselate

```javascript
var poly = turf.random('polygon').features[0];
var poly = {
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [[[11, 0], [22, 4], [31, 0], [31, 11], [21, 15], [11, 11], [11, 0]]]
}
}
var triangles = turf.tesselate(poly);

@@ -19,0 +25,0 @@

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