@turf/helpers
Advanced tools
Comparing version 3.3.3 to 3.5.2-alpha.d2c36ee7
@@ -35,3 +35,3 @@ /** | ||
* @name point | ||
* @param {number[]} coordinates longitude, latitude position (each in decimal degrees) | ||
* @param {Array<number>} coordinates longitude, latitude position (each in decimal degrees) | ||
* @param {Object=} properties an Object that is used as the {@link Feature}'s | ||
@@ -241,3 +241,3 @@ * properties | ||
* @param {Object=} properties an Object of key-value pairs to add as properties | ||
* @returns {Feature<GeometryCollection>} a geometrycollection feature | ||
* @returns {Feature<GeometryCollection>} a GeoJSON GeometryCollection Feature | ||
* @example | ||
@@ -252,3 +252,3 @@ * var pt = { | ||
* }; | ||
* var collection = turf.geometrycollection([[0,0],[10,10]]); | ||
* var collection = turf.geometryCollection([pt, line]); | ||
* | ||
@@ -255,0 +255,0 @@ * //=collection |
{ | ||
"name": "@turf/helpers", | ||
"version": "3.3.3", | ||
"version": "3.5.2-alpha.d2c36ee7", | ||
"description": "turf geometries", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -225,3 +225,3 @@ # @turf/helpers | ||
}; | ||
var collection = turf.geometrycollection([[0,0],[10,10]]); | ||
var collection = turf.geometryCollection([pt, line]); | ||
@@ -231,4 +231,8 @@ //=collection | ||
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[GeometryCollection](http://geojson.org/geojson-spec.html#geometrycollection)>** a geometrycollection feature | ||
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[GeometryCollection](http://geojson.org/geojson-spec.html#geometrycollection)>** a GeoJSON GeometryCollection Feature | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
if you find an error, edit the source file (likely index.js), and re-run | ||
./scripts/generate-readmes in the turf project. --> | ||
--- | ||
@@ -235,0 +239,0 @@ |
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
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
29841
256
1
1