geojson-rbush
Advanced tools
Comparing version 1.1.0 to 1.1.1
# Changelog | ||
## 1.1.1 - 2017-07-15 | ||
- Replaced `const` with `var` for pure ES5 compatibility | ||
## 1.1.0 - 2017-06-01 | ||
@@ -5,0 +9,0 @@ |
@@ -38,3 +38,3 @@ var turfBBox = require('@turf/bbox'); | ||
if (Array.isArray(feature)) { | ||
const bbox = feature; | ||
var bbox = feature; | ||
feature = bboxPolygon(bbox); | ||
@@ -82,3 +82,3 @@ feature.bbox = bbox; | ||
features.forEach(function (bbox) { | ||
const feature = bboxPolygon(bbox); | ||
var feature = bboxPolygon(bbox); | ||
feature.bbox = bbox; | ||
@@ -115,3 +115,3 @@ load.push(feature); | ||
if (Array.isArray(feature)) { | ||
const bbox = feature; | ||
var bbox = feature; | ||
feature = bboxPolygon(bbox); | ||
@@ -118,0 +118,0 @@ feature.bbox = bbox; |
{ | ||
"name": "geojson-rbush", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "GeoJSON implementation of RBush", | ||
@@ -9,4 +9,3 @@ "main": "index.js", | ||
"index.js", | ||
"index.d.ts", | ||
"docs" | ||
"index.d.ts" | ||
], | ||
@@ -13,0 +12,0 @@ "scripts": { |
@@ -17,8 +17,2 @@ # GeoJSON RBush | ||
**web browser ([ES5](https://kangax.github.io/compat-table/es5))** | ||
```html | ||
<script src="https://unpkg.com/geojson-rbush/docs/geojson-rbush.min.js"></script> | ||
``` | ||
## API | ||
@@ -47,3 +41,3 @@ | ||
- `maxEntries` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)?** defines the maximum number of entries in a tree node. 9 (used by default) is a | ||
- `maxEntries` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** defines the maximum number of entries in a tree node. 9 (used by default) is a | ||
reasonable choice for most applications. Higher value means faster insertion and slower search, and vice versa. (optional, default `9`) | ||
@@ -50,0 +44,0 @@ |
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
0
16191
257