Skip to content

Commit 9f475d9

Browse files
committed
Use reachdown package (#3)
1 parent 1299694 commit 9f475d9

File tree

5 files changed

+4
-16
lines changed

5 files changed

+4
-16
lines changed

lib/level-du.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
const du = require('du')
4-
const reachdown = require('./reachdown')
4+
const reachdown = require('reachdown')
55

66
// TODO: move to package
77
module.exports = function ldu (db, callback) {

lib/reachdown.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"keyspace": "^0.0.1",
2424
"level-test": "~7.0.0",
2525
"mkdirp": "~0.5.1",
26+
"reachdown": "~1.0.0",
2627
"resolve": "~1.11.0",
2728
"subarg": "~1.0.0",
2829
"tmp-redis": "~1.0.0"

third-party/ioredis.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ module.exports = function inject (Redis) {
5858
},
5959

6060
// Trick reachdown
61+
_batch: function () {},
6162
_iterator: function () {}
6263
}
6364

third-party/sqlite3.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ module.exports = function inject (sqlite3) {
4949
},
5050

5151
// Trick reachdown
52+
_batch: function () {},
5253
_iterator: function () {}
5354
}
5455

0 commit comments

Comments
 (0)