level-sublevel
Advanced tools
Comparing version 6.3.8 to 6.3.11
{ | ||
"name": "level-sublevel", | ||
"description": "partition levelup databases", | ||
"version": "6.3.8", | ||
"version": "6.3.11", | ||
"homepage": "https://github.com/dominictarr/level-sublevel", | ||
@@ -14,6 +14,6 @@ "repository": { | ||
"levelup": "~0.19.0", | ||
"xtend": "~4.0.0" | ||
"xtend": "~4.0.0", | ||
"bytewise": "~0.7.1" | ||
}, | ||
"devDependencies": { | ||
"bytewise": "~0.7.0", | ||
"level": "~0.18.0", | ||
@@ -20,0 +20,0 @@ "level-test": ">=1.5.1 <2", |
@@ -87,2 +87,3 @@ var EventEmitter = require('events').EventEmitter | ||
valueEncoding: op.valueEncoding, // * (TODO: encodings on sublevel) | ||
type: op.type | ||
} | ||
@@ -89,0 +90,0 @@ }) |
@@ -13,2 +13,3 @@ var levelup = require('level-test')() | ||
var n, m, o = m = n = 0 | ||
var q, r = q = 0 | ||
@@ -28,2 +29,12 @@ foo.post(function (op) { | ||
foo.pre(function (op) { | ||
t.equal(op.type, 'put') | ||
q ++ | ||
}) | ||
base.pre(function (op) { | ||
t.equal(op.type, 'put') | ||
r ++ | ||
}) | ||
base.batch([ | ||
@@ -41,2 +52,5 @@ { key: 'a', value: 1, type: 'put', prefix: foo }, | ||
t.equal(o, 2) | ||
t.equal(q, 4) | ||
t.equal(r, 1) | ||
t.end() | ||
@@ -48,4 +62,1 @@ }) | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77066
10
2307
5
+ Addedbytewise@~0.7.1
+ Addedbase64-js@0.0.2(transitive)
+ Addedbops@0.1.1(transitive)
+ Addedbytewise@0.7.1(transitive)
+ Addedto-utf8@0.0.1(transitive)