mirror of
https://github.com/mourner/flatbush.git
synced 2025-12-08 17:36:26 +00:00
upgrade deps, remove Node 8 from Travis
This commit is contained in:
parent
e75b1e932a
commit
1cb5c5c9cc
2
.github/workflows/nodejs.yml
vendored
2
.github/workflows/nodejs.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [8.x, 10.x, 12.x]
|
||||
node-version: [10.x, 12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
4
bench.js
4
bench.js
@ -1,6 +1,6 @@
|
||||
|
||||
import Flatbush from './index.js';
|
||||
import rbush from 'rbush';
|
||||
import RBush from 'rbush';
|
||||
import rbushKNN from 'rbush-knn';
|
||||
|
||||
const N = 1000000;
|
||||
@ -83,7 +83,7 @@ for (let i = 0; i < coords.length; i += 4) {
|
||||
|
||||
console.log('');
|
||||
console.time('rbush');
|
||||
const rbushIndex = rbush(nodeSize).load(dataForRbush);
|
||||
const rbushIndex = new RBush(nodeSize).load(dataForRbush);
|
||||
console.timeEnd('rbush');
|
||||
|
||||
function benchSearchRBush(boxes, name, warmup) {
|
||||
|
||||
16
package.json
16
package.json
@ -41,16 +41,16 @@
|
||||
},
|
||||
"homepage": "https://github.com/mourner/flatbush#readme",
|
||||
"devDependencies": {
|
||||
"eslint": "^5.16.0",
|
||||
"eslint": "^6.6.0",
|
||||
"eslint-config-mourner": "^3.0.0",
|
||||
"esm": "^3.2.22",
|
||||
"rbush": "^2.0.2",
|
||||
"esm": "^3.2.25",
|
||||
"rbush": "^3.0.1",
|
||||
"rbush-knn": "^2.1.0",
|
||||
"rollup": "^1.10.1",
|
||||
"rollup-plugin-buble": "^0.19.6",
|
||||
"rollup-plugin-node-resolve": "^4.2.3",
|
||||
"rollup-plugin-terser": "^4.0.4",
|
||||
"tape": "^4.10.1"
|
||||
"rollup": "^1.26.3",
|
||||
"rollup-plugin-buble": "^0.19.8",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"rollup-plugin-terser": "^5.1.2",
|
||||
"tape": "^4.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"flatqueue": "^1.1.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user