geojson-geometries-lookup
Advanced tools
Comparing version 0.4.0 to 0.5.0
'use strict'; | ||
const rbush = require('rbush'); | ||
const RBush = require('rbush'); | ||
const tbbox = require('@turf/bbox').default; | ||
@@ -57,3 +57,3 @@ | ||
dim.bboxs = new Array(dim.list.length); | ||
dim.lookup = rbush(); | ||
dim.lookup = new RBush(); | ||
@@ -60,0 +60,0 @@ const geoms = dim.list; |
{ | ||
"name": "geojson-geometries-lookup", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Fast geometry in geometry lookup for large GeoJSONs", | ||
@@ -47,3 +47,3 @@ "license": "MIT", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=10" | ||
}, | ||
@@ -59,10 +59,10 @@ "scripts": { | ||
"@turf/boolean-contains": "^6.0.1", | ||
"geojson-geometries": "^1.1.1", | ||
"rbush": "^2.0.1" | ||
"geojson-geometries": "^2.0.0", | ||
"rbush": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"@turf/helpers": "^6.1.4", | ||
"ava": "^1.4.1", | ||
"nyc": "^14.1.1", | ||
"xo": "~0.24.0" | ||
"ava": "^3.9.0", | ||
"nyc": "^15.1.0", | ||
"xo": "~0.27.2" | ||
}, | ||
@@ -69,0 +69,0 @@ "ava": { |
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
24950
+ Addedgeojson-geometries@2.0.0(transitive)
+ Addedquickselect@2.0.0(transitive)
+ Addedrbush@3.0.1(transitive)
- Removedgeojson-geometries@1.1.2(transitive)
- Removedquickselect@1.1.1(transitive)
- Removedrbush@2.0.2(transitive)
Updatedgeojson-geometries@^2.0.0
Updatedrbush@^3.0.1