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

@turf/mask

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/mask - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

5

index.js

@@ -14,3 +14,2 @@ var featureEach = require('@turf/meta').featureEach;

* @returns {Feature<Polygon>} Masked Polygon (exterior ring with holes).
* @addToMap masked
* @example

@@ -34,3 +33,5 @@ * var polygon = {

* var masked = turf.mask(polygon, mask);
* //=masked
*
* //addToMap
* var addToMap = [masked]
*/

@@ -37,0 +38,0 @@ module.exports = function (polygon, mask) {

10

package.json
{
"name": "@turf/mask",
"version": "4.1.0",
"version": "4.2.0",
"description": "turf mask module",

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

"dependencies": {
"@turf/bbox": "^4.1.0",
"@turf/helpers": "^4.1.0",
"@turf/meta": "^4.1.0",
"@turf/union": "^4.1.0",
"@turf/bbox": "^4.2.0",
"@turf/helpers": "^4.2.0",
"@turf/meta": "^4.2.0",
"@turf/union": "^4.2.0",
"rbush": "^2.0.1"
}
}

@@ -32,3 +32,5 @@ # @turf/mask

var masked = turf.mask(polygon, mask);
//=masked
//addToMap
var addToMap = [masked]
```

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