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

@turf/difference

Package Overview
Dependencies
Maintainers
4
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/difference - npm Package Compare versions

Comparing version

to
4.7.3

1

index.js

@@ -68,2 +68,3 @@ // depend on jsts for now https://github.com/bjornharrtell/jsts/blob/master/examples/overlay.html

*
* @private
* @param {Geometry<Polygon|MultiPolygon>} geom Geometry Object

@@ -70,0 +71,0 @@ * @returns {Geometry<Polygon|MultiPolygon>|undefined} removed any polygons with no areas

10

package.json
{
"name": "@turf/difference",
"version": "4.7.1",
"version": "4.7.3",
"description": "turf difference module",

@@ -37,8 +37,8 @@ "main": "index.js",

"dependencies": {
"@turf/area": "4.7.1",
"@turf/helpers": "4.7.1",
"@turf/invariant": "4.7.1",
"@turf/meta": "4.7.1",
"@turf/area": "^4.7.3",
"@turf/helpers": "^4.7.3",
"@turf/invariant": "^4.7.3",
"@turf/meta": "^4.7.3",
"jsts": "1.3.0"
}
}

@@ -44,12 +44,2 @@ # @turf/difference

# removeEmptyPolygon
Detect Empty Polygon
**Parameters**
- `geom` **[Geometry](http://geojson.org/geojson-spec.html#geometry)&lt;([Polygon](http://geojson.org/geojson-spec.html#polygon) \| [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon))>** Geometry Object
Returns **([Geometry](http://geojson.org/geojson-spec.html#geometry)&lt;([Polygon](http://geojson.org/geojson-spec.html#polygon) \| [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon))> | [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined))** removed any polygons with no areas
<!-- This file is automatically generated. Please don't edit it directly:

@@ -56,0 +46,0 @@ if you find an error, edit the source file (likely index.js), and re-run