@turf/tesselate
Advanced tools
Comparing version 5.1.5 to 6.2.0-alpha.0
{ | ||
"name": "@turf/tesselate", | ||
"version": "5.1.5", | ||
"version": "6.2.0-alpha.0", | ||
"description": "turf tesselate module", | ||
"main": "main.js", | ||
"module": "main.es.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"index.js", | ||
"index.d.ts", | ||
"main.js", | ||
"main.es.js" | ||
"author": "Turf Authors", | ||
"contributors": [ | ||
"Abel Vázquez <@AbelVM>", | ||
"Morgan Herlocker <@morganherlocker>", | ||
"Tom MacWright <@tmcw>", | ||
"Vladimir Agafonkin <@mourner>" | ||
], | ||
"scripts": { | ||
"pretest": "rollup -c ../../rollup.config.js", | ||
"test": "node -r @std/esm test.js", | ||
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js", | ||
"bench": "node -r @std/esm bench.js", | ||
"docs": "node ../../scripts/generate-readmes" | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"repository": { | ||
@@ -33,16 +29,20 @@ "type": "git", | ||
], | ||
"author": "Turf Authors", | ||
"contributors": [ | ||
"Abel Vázquez <@AbelVM>", | ||
"Morgan Herlocker <@morganherlocker>", | ||
"Tom MacWright <@tmcw>", | ||
"Vladimir Agafonkin <@mourner>" | ||
"main": "dist/js/index.js", | ||
"module": "dist/es/index.js", | ||
"types": "index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
"index.d.ts" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
"scripts": { | ||
"bench": "npm-run-all prepare bench:run", | ||
"bench:run": "node bench.js", | ||
"docs": "node ../../scripts/generate-readmes", | ||
"posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", | ||
"prepare": "rollup -c ../../rollup.config.js", | ||
"test": "npm-run-all prepare test:*", | ||
"test:tape": "node -r esm test.js" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"devDependencies": { | ||
"@std/esm": "*", | ||
"benchmark": "*", | ||
@@ -53,9 +53,6 @@ "rollup": "*", | ||
"dependencies": { | ||
"@turf/helpers": "^5.1.5", | ||
"@turf/helpers": "^6.2.0-alpha.0", | ||
"earcut": "^2.0.0" | ||
}, | ||
"@std/esm": { | ||
"esm": "js", | ||
"cjs": true | ||
} | ||
"gitHead": "23b651deaa1ca6a0960d0142aea620b7cc6a076d" | ||
} |
@@ -7,8 +7,8 @@ # @turf/tesselate | ||
Tesselates a [Feature<Polygon>](Feature<Polygon>) into a [FeatureCollection<Polygon>](FeatureCollection<Polygon>) of triangles | ||
using [earcut](https://github.com/mapbox/earcut). | ||
Tesselates a [Feature<Polygon>][1] into a [FeatureCollection<Polygon>][2] of triangles | ||
using [earcut][3]. | ||
**Parameters** | ||
- `poly` **[Feature](https://tools.ietf.org/html/rfc7946#section-3.2)<[Polygon](https://tools.ietf.org/html/rfc7946#section-3.1.6)>** the polygon to tesselate | ||
- `poly` **[Feature][4]<[Polygon][5]>** the polygon to tesselate | ||
@@ -25,4 +25,16 @@ **Examples** | ||
Returns **[FeatureCollection](https://tools.ietf.org/html/rfc7946#section-3.3)<[Polygon](https://tools.ietf.org/html/rfc7946#section-3.1.6)>** a geometrycollection feature | ||
Returns **[FeatureCollection][6]<[Polygon][5]>** a geometrycollection feature | ||
[1]: Feature<Polygon> | ||
[2]: FeatureCollection<Polygon> | ||
[3]: https://github.com/mapbox/earcut | ||
[4]: https://tools.ietf.org/html/rfc7946#section-3.2 | ||
[5]: https://tools.ietf.org/html/rfc7946#section-3.1.6 | ||
[6]: https://tools.ietf.org/html/rfc7946#section-3.3 | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
@@ -29,0 +41,0 @@ if you find an error, edit the source file (likely index.js), and re-run |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
13476
3
8
263
62
1
2
+ Added@turf/helpers@6.5.0(transitive)
- Removed@turf/helpers@5.1.5(transitive)
Updated@turf/helpers@^6.2.0-alpha.0