New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@turf/collect

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/collect - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

6

index.js

@@ -18,3 +18,2 @@ var turfbbox = require('@turf/bbox');

* @returns {FeatureCollection<Polygon>} polygons with properties listed based on `outField`
* @addToMap collected, pointFC
* @example

@@ -33,4 +32,5 @@ * var poly1 = turf.polygon([[[0,0],[10,0],[10,10],[0,10],[0,0]]]);

* //=values => [200, 600]
* //=pointFC
* //=collected
*
* //addToMap
* var addToMap = [pointFC, collected]
*/

@@ -37,0 +37,0 @@ module.exports = function (polygons, points, inProperty, outProperty) {

{
"name": "@turf/collect",
"version": "4.1.0",
"version": "4.2.0",
"description": "turf collect module",

@@ -39,9 +39,9 @@ "main": "index.js",

"tape": "^3.6.1",
"@turf/helpers": "^4.1.0"
"@turf/helpers": "^4.2.0"
},
"dependencies": {
"rbush": "^2.0.1",
"@turf/bbox": "^4.1.0",
"@turf/inside": "^4.1.0"
"@turf/bbox": "^4.2.0",
"@turf/inside": "^4.2.0"
}
}

@@ -33,4 +33,5 @@ # @turf/collect

//=values => [200, 600]
//=pointFC
//=collected
//addToMap
var addToMap = [pointFC, collected]
```

@@ -37,0 +38,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