Socket
Socket
Sign inDemoInstall

@turf/helpers

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/helpers - npm Package Compare versions

Comparing version 3.5.2 to 3.5.3

index.d.ts

6

index.js

@@ -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.5.2",
"version": "3.5.3",
"description": "turf geometries",
"main": "index.js",
"scripts": {
"test": "tape test.js"
"test": "tape test.js && tsc index.d.ts"
},

@@ -26,6 +26,9 @@ "repository": {

"devDependencies": {
"@types/geojson": "0.0.31",
"benchmark": "^1.0.0",
"tape": "^3.5.0"
"tape": "^3.5.0",
"typescript": "^2.0.7"
},
"dependencies": {}
"dependencies": {},
"types": "index.d.ts"
}

@@ -225,3 +225,3 @@ # @turf/helpers

};
var collection = turf.geometrycollection([[0,0],[10,10]]);
var collection = turf.geometryCollection([pt, line]);

@@ -231,3 +231,3 @@ //=collection

Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;[GeometryCollection](http://geojson.org/geojson-spec.html#geometrycollection)>** a geometrycollection feature
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;[GeometryCollection](http://geojson.org/geojson-spec.html#geometrycollection)>** a GeoJSON GeometryCollection Feature

@@ -234,0 +234,0 @@ <!-- This file is automatically generated. Please don't edit it directly:

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