@turf/boolean-contains
Advanced tools
Comparing version 5.1.0 to 5.1.5
@@ -191,6 +191,6 @@ 'use strict'; | ||
function doBBoxOverlap(bbox1, bbox2) { | ||
if (bbox1[0] > bbox2[0]) { return false; } | ||
if (bbox1[2] < bbox2[2]) { return false; } | ||
if (bbox1[1] > bbox2[1]) { return false; } | ||
if (bbox1[3] < bbox2[3]) { return false; } | ||
if (bbox1[0] > bbox2[0]) return false; | ||
if (bbox1[2] < bbox2[2]) return false; | ||
if (bbox1[1] > bbox2[1]) return false; | ||
if (bbox1[3] < bbox2[3]) return false; | ||
return true; | ||
@@ -197,0 +197,0 @@ } |
{ | ||
"name": "@turf/boolean-contains", | ||
"version": "5.1.0", | ||
"version": "5.1.5", | ||
"description": "turf boolean-contains module", | ||
"main": "main.js", | ||
"module": "main.mjs", | ||
"module": "main.es.js", | ||
"types": "index.d.ts", | ||
@@ -12,3 +12,3 @@ "files": [ | ||
"main.js", | ||
"main.mjs" | ||
"main.es.js" | ||
], | ||
@@ -18,2 +18,3 @@ "scripts": { | ||
"test": "node -r @std/esm test.js", | ||
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js", | ||
"bench": "node -r @std/esm bench.js", | ||
@@ -50,11 +51,10 @@ "docs": "node ../../scripts/generate-readmes" | ||
"rollup": "*", | ||
"rollup-plugin-buble": "*", | ||
"tape": "*" | ||
}, | ||
"dependencies": { | ||
"@turf/bbox": "^5.1.0", | ||
"@turf/boolean-point-in-polygon": "^5.1.0", | ||
"@turf/boolean-point-on-line": "^5.1.0", | ||
"@turf/helpers": "^5.1.0", | ||
"@turf/invariant": "^5.1.0" | ||
"@turf/bbox": "^5.1.5", | ||
"@turf/boolean-point-in-polygon": "^5.1.5", | ||
"@turf/boolean-point-on-line": "^5.1.5", | ||
"@turf/helpers": "^5.1.5", | ||
"@turf/invariant": "^5.1.5" | ||
}, | ||
@@ -61,0 +61,0 @@ "@std/esm": { |
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
25049
8
Updated@turf/bbox@^5.1.5
Updated@turf/helpers@^5.1.5
Updated@turf/invariant@^5.1.5