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

Commit 83556fd

Browse files
committed
Bump abstract-leveldown, level-codec and level-errors
1 parent eb35276 commit 83556fd

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"prepublishOnly": "npm run dependency-check"
1313
},
1414
"dependencies": {
15-
"abstract-leveldown": "^6.2.1",
15+
"abstract-leveldown": "^7.0.0",
1616
"inherits": "^2.0.3",
17-
"level-codec": "^9.0.0",
18-
"level-errors": "^2.0.0"
17+
"level-codec": "^10.0.0",
18+
"level-errors": "^3.0.0"
1919
},
2020
"devDependencies": {
2121
"coveralls": "^3.0.2",

test/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ test('iterator skips values if options.values is false', function (t) {
404404
})
405405

406406
test('iterator encodes range options', function (t) {
407-
t.plan(7)
407+
t.plan(5)
408408

409409
const keyEncoding = {
410410
encode: function (key) {
@@ -415,8 +415,6 @@ test('iterator encodes range options', function (t) {
415415

416416
const db = encdown({
417417
iterator: function (options) {
418-
t.is(options.start, 'encoded_1')
419-
t.is(options.end, 'encoded_2')
420418
t.is(options.gt, 'encoded_3')
421419
t.is(options.gte, 'encoded_4')
422420
t.is(options.lt, 'encoded_5')
@@ -425,7 +423,7 @@ test('iterator encodes range options', function (t) {
425423
}
426424
}, { keyEncoding })
427425

428-
db.iterator({ start: 1, end: 2, gt: 3, gte: 4, lt: 5, lte: 6, foo: 7 })
426+
db.iterator({ gt: 3, gte: 4, lt: 5, lte: 6, foo: 7 })
429427
})
430428

431429
test('iterator does not strip nullish range options', function (t) {

0 commit comments

Comments
 (0)