🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@turf/boolean-within

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/boolean-within - npm Package Compare versions

Comparing version

to
7.2.0

2

dist/esm/index.d.ts

@@ -9,3 +9,3 @@ import { Feature, Geometry } from 'geojson';

*
* @name booleanWithin
* @function
* @param {Geometry|Feature<any>} feature1 GeoJSON Feature or Geometry

@@ -12,0 +12,0 @@ * @param {Geometry|Feature<any>} feature2 GeoJSON Feature or Geometry

@@ -169,10 +169,6 @@ // index.ts

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;

@@ -179,0 +175,0 @@ }

{
"name": "@turf/boolean-within",
"version": "7.1.0",
"version": "7.2.0",
"description": "turf boolean-within module",

@@ -61,3 +61,3 @@ "author": "Turf Authors",

"@types/benchmark": "^2.1.5",
"@types/tape": "^4.2.32",
"@types/tape": "^4.13.4",
"benchmark": "^2.1.4",

@@ -69,17 +69,17 @@ "boolean-jsts": "*",

"npm-run-all": "^4.1.5",
"tape": "^5.7.2",
"tsup": "^8.0.1",
"tsx": "^4.6.2",
"typescript": "^5.2.2"
"tape": "^5.9.0",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.5.4"
},
"dependencies": {
"@turf/bbox": "^7.1.0",
"@turf/boolean-point-in-polygon": "^7.1.0",
"@turf/boolean-point-on-line": "^7.1.0",
"@turf/helpers": "^7.1.0",
"@turf/invariant": "^7.1.0",
"@turf/bbox": "^7.2.0",
"@turf/boolean-point-in-polygon": "^7.2.0",
"@turf/boolean-point-on-line": "^7.2.0",
"@turf/helpers": "^7.2.0",
"@turf/invariant": "^7.2.0",
"@types/geojson": "^7946.0.10",
"tslib": "^2.6.2"
"tslib": "^2.8.1"
},
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
"gitHead": "7b0f0374c4668cd569f8904c71e2ae7d941be867"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet