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

@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.3.3 to 3.5.2-alpha.d2c36ee7

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.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)&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
<!-- 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 @@

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