Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

geojson-rbush

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geojson-rbush - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

CHANGELOG.md
# 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 @@

6

index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc