Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 77f8f4c

Browse files
committed
Bump levelup to fix API parity with abstract-leveldown
1 parent b07892d commit 77f8f4c

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

client.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,10 @@ module.exports = function (opts) {
1010
const down = leveldown({ ...opts, onflush })
1111
const db = levelup(encode(down, opts), opts)
1212

13-
// TODO: fix in levelup
14-
db.supports.status = true
15-
1613
db.createRpcStream = db.connect = connect
1714
db.isFlushed = isFlushed
1815
db.forward = forward
1916

20-
// Workaround for abstract-leveldown tests that expect db._nextTick
21-
// TODO: fix tests or add _nextTick to levelup for API parity
22-
if (!db._nextTick) db._nextTick = leveldown.prototype._nextTick
23-
2417
return db
2518

2619
function onflush () {

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"encoding-down": "^7.1.0",
3131
"end-of-stream": "^1.1.0",
3232
"length-prefixed-stream": "^2.0.0",
33-
"levelup": "^5.1.0",
33+
"levelup": "^5.1.1",
3434
"numeric-id-map": "^1.1.0",
3535
"protocol-buffers-encodings": "^1.1.0",
36-
"reachdown": "^1.0.0"
36+
"reachdown": "^1.1.0"
3737
},
3838
"devDependencies": {
3939
"@adorsys/encrypt-down": "^2.0.1",
@@ -42,11 +42,11 @@
4242
"faucet": "^0.0.1",
4343
"hallmark": "^3.1.0",
4444
"level-compose": "^1.0.0",
45-
"memdown": "^6.0.0",
45+
"memdown": "^6.1.0",
4646
"nyc": "^15.1.0",
4747
"protocol-buffers": "^4.0.2",
4848
"standard": "^16.0.3",
49-
"subleveldown": "^6.0.0",
49+
"subleveldown": "^6.0.1",
5050
"tape": "^5.0.1"
5151
},
5252
"repository": {

0 commit comments

Comments
 (0)