@turf/boolean-disjoint
Advanced tools
Comparing version 5.0.4 to 5.1.0
@@ -151,4 +151,4 @@ import booleanPointInPolygon from '@turf/boolean-point-in-polygon'; | ||
* @private | ||
* @param {Array<number>} pair1 point [x,y] | ||
* @param {Array<number>} pair2 point [x,y] | ||
* @param {Position} pair1 point [x,y] | ||
* @param {Position} pair2 point [x,y] | ||
* @returns {boolean} true/false if coord pairs match | ||
@@ -155,0 +155,0 @@ */ |
@@ -28,3 +28,3 @@ 'use strict'; | ||
meta.flattenEach(feature2, function (flatten2) { | ||
if (boolean === false) return false; | ||
if (boolean === false) { return false; } | ||
boolean = disjoint(flatten1.geometry, flatten2.geometry); | ||
@@ -156,4 +156,4 @@ }); | ||
* @private | ||
* @param {Array<number>} pair1 point [x,y] | ||
* @param {Array<number>} pair2 point [x,y] | ||
* @param {Position} pair1 point [x,y] | ||
* @param {Position} pair2 point [x,y] | ||
* @returns {boolean} true/false if coord pairs match | ||
@@ -160,0 +160,0 @@ */ |
{ | ||
"name": "@turf/boolean-disjoint", | ||
"version": "5.0.4", | ||
"version": "5.1.0", | ||
"description": "turf boolean-disjoint module", | ||
"main": "main", | ||
"module": "index", | ||
"jsnext:main": "index", | ||
"main": "main.js", | ||
"module": "main.mjs", | ||
"types": "index.d.ts", | ||
@@ -12,3 +11,4 @@ "files": [ | ||
"index.d.ts", | ||
"main.js" | ||
"main.js", | ||
"main.mjs" | ||
], | ||
@@ -18,3 +18,4 @@ "scripts": { | ||
"test": "node -r @std/esm test.js", | ||
"bench": "node -r @std/esm bench.js" | ||
"bench": "node -r @std/esm bench.js", | ||
"docs": "node ../../scripts/generate-readmes" | ||
}, | ||
@@ -43,3 +44,2 @@ "repository": { | ||
"@std/esm": "*", | ||
"@turf/helpers": "^5.0.4", | ||
"benchmark": "*", | ||
@@ -49,9 +49,11 @@ "boolean-shapely": "*", | ||
"rollup": "*", | ||
"rollup-plugin-buble": "*", | ||
"tape": "*" | ||
}, | ||
"dependencies": { | ||
"@turf/boolean-point-in-polygon": "^5.0.4", | ||
"@turf/line-intersect": "^5.0.4", | ||
"@turf/meta": "^5.0.4", | ||
"@turf/polygon-to-line": "^5.0.4" | ||
"@turf/boolean-point-in-polygon": "^5.1.0", | ||
"@turf/helpers": "^5.1.0", | ||
"@turf/line-intersect": "^5.1.0", | ||
"@turf/meta": "^5.1.0", | ||
"@turf/polygon-to-line": "^5.1.0" | ||
}, | ||
@@ -58,0 +60,0 @@ "@std/esm": { |
@@ -11,4 +11,4 @@ # @turf/boolean-disjoint | ||
- `feature1` **([Geometry](http://geojson.org/geojson-spec.html#geometry) \| [Feature](http://geojson.org/geojson-spec.html#feature-objects)<any>)** GeoJSON Feature or Geometry | ||
- `feature2` **([Geometry](http://geojson.org/geojson-spec.html#geometry) \| [Feature](http://geojson.org/geojson-spec.html#feature-objects)<any>)** GeoJSON Feature or Geometry | ||
- `feature1` **([Geometry](https://tools.ietf.org/html/rfc7946#section-3.1) \| [Feature](https://tools.ietf.org/html/rfc7946#section-3.2)<any>)** GeoJSON Feature or Geometry | ||
- `feature2` **([Geometry](https://tools.ietf.org/html/rfc7946#section-3.1) \| [Feature](https://tools.ietf.org/html/rfc7946#section-3.2)<any>)** GeoJSON Feature or Geometry | ||
@@ -15,0 +15,0 @@ **Examples** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19186
7
461
0
5
+ Added@turf/helpers@^5.1.0
Updated@turf/line-intersect@^5.1.0
Updated@turf/meta@^5.1.0
Updated@turf/polygon-to-line@^5.1.0