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

@turf/convex

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/convex - npm Package Compare versions

Comparing version 3.10.5 to 3.13.0

6

index.js

@@ -6,5 +6,3 @@ var each = require('@turf/meta').coordEach,

/**
* Takes a [feature](http://geojson.org/geojson-spec.html#feature-objects)
* or a [featureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)
* and returns a [convex hull](http://en.wikipedia.org/wiki/Convex_hull) polygon.
* Takes a {@link Feature} or a {@link FeatureCollection} and returns a convex hull {@link Polygon}.
*

@@ -16,3 +14,3 @@ * Internally this uses

* @name convex
* @param {(Feature|FeatureCollection)} feature input Feature or FeatureCollection
* @param {Feature|FeatureCollection} feature input Feature or FeatureCollection
* @returns {Feature<Polygon>} a convex hull

@@ -19,0 +17,0 @@ * @example

{
"name": "@turf/convex",
"version": "3.10.5",
"description": "",
"version": "3.13.0",
"description": "turf convex module",
"main": "index.js",
"directories": {
"test": "test"
},
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"test": "tape test/*.js"
"test": "node test.js",
"bench": "node bench.js"
},

@@ -33,6 +36,5 @@ "repository": {

"convex-hull": "^1.0.3",
"@turf/meta": "^3.10.5",
"@turf/helpers": "^3.10.5"
},
"types": "index.d.ts"
"@turf/meta": "^3.13.0",
"@turf/helpers": "^3.13.0"
}
}

@@ -5,5 +5,3 @@ # @turf/convex

Takes a [feature](http://geojson.org/geojson-spec.html#feature-objects)
or a [featureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)
and returns a [convex hull](http://en.wikipedia.org/wiki/Convex_hull) polygon.
Takes a [Feature](http://geojson.org/geojson-spec.html#feature-objects) or a [FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects) and returns a convex hull [Polygon](http://geojson.org/geojson-spec.html#polygon).

@@ -10,0 +8,0 @@ Internally this uses

Sorry, the diff of this file is not supported yet

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