@turf/voronoi
Advanced tools
Comparing version 5.1.5 to 6.2.0-alpha.0
@@ -8,3 +8,3 @@ import { FeatureCollection, BBox, Point, Polygon } from '@turf/helpers'; | ||
points: FeatureCollection<Point>, | ||
bbox: BBox | ||
options: {bbox: BBox} | ||
): FeatureCollection<Polygon>; |
{ | ||
"name": "@turf/voronoi", | ||
"version": "5.1.5", | ||
"version": "6.2.0-alpha.0", | ||
"description": "turf voronoi 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": [ | ||
"Philippe Riviere <@Fil>", | ||
"Mike Bostock <@mbostock>", | ||
"Steve Bennett <@stevage1>", | ||
"Denis Carriere <@DenisCarriere>" | ||
], | ||
"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": { | ||
@@ -32,16 +28,20 @@ "type": "git", | ||
], | ||
"author": "Turf Authors", | ||
"contributors": [ | ||
"Philippe Riviere <@Fil>", | ||
"Mike Bostock <@mbostock>", | ||
"Steve Bennett <@stevage1>", | ||
"Denis Carriere <@DenisCarriere>" | ||
"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": "*", | ||
@@ -55,10 +55,7 @@ "glob": "*", | ||
"dependencies": { | ||
"@turf/helpers": "^5.1.5", | ||
"@turf/invariant": "^5.1.5", | ||
"@turf/helpers": "^6.2.0-alpha.0", | ||
"@turf/invariant": "^6.2.0-alpha.0", | ||
"d3-voronoi": "1.1.2" | ||
}, | ||
"@std/esm": { | ||
"esm": "js", | ||
"cjs": true | ||
} | ||
"gitHead": "23b651deaa1ca6a0960d0142aea620b7cc6a076d" | ||
} |
@@ -14,5 +14,5 @@ # @turf/voronoi | ||
- `points` **[FeatureCollection](https://tools.ietf.org/html/rfc7946#section-3.3)<[Point](https://tools.ietf.org/html/rfc7946#section-3.1.2)>** to find the Voronoi polygons around. | ||
- `options` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Optional parameters (optional, default `{}`) | ||
- `options.bbox` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>** clipping rectangle, in [minX, minY, maxX, MaxY] order. (optional, default `[-180,-85,180,-85]`) | ||
- `points` **[FeatureCollection][1]<[Point][2]>** to find the Voronoi polygons around. | ||
- `options` **[Object][3]** Optional parameters (optional, default `{}`) | ||
- `options.bbox` **[Array][4]<[number][5]>** clipping rectangle, in [minX, minY, maxX, MaxY] order. (optional, default `[-180,-85,180,-85]`) | ||
@@ -32,4 +32,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 set of polygons, one per input point. | ||
Returns **[FeatureCollection][1]<[Polygon][6]>** a set of polygons, one per input point. | ||
[1]: https://tools.ietf.org/html/rfc7946#section-3.3 | ||
[2]: https://tools.ietf.org/html/rfc7946#section-3.1.2 | ||
[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object | ||
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array | ||
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number | ||
[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
@@ -36,0 +48,0 @@ if you find an error, edit the source file (likely index.js), and re-run |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12807
6
8
228
69
1
2
+ Added@turf/helpers@6.5.0(transitive)
+ Added@turf/invariant@6.5.0(transitive)
- Removed@turf/helpers@5.1.5(transitive)
- Removed@turf/invariant@5.2.0(transitive)
Updated@turf/helpers@^6.2.0-alpha.0