abstract-leveldown
Advanced tools
Comparing version 0.11.4 to 0.12.0
@@ -47,17 +47,5 @@ /**** SETUP & UTILITY STUFF ****/ | ||
t.notOk(err, 'no error, has key/value for `' + key + '`') | ||
var result | ||
if (isTypedArray(_value)) { | ||
result = String.fromCharCode.apply(null, new Uint16Array(_value)) | ||
} else { | ||
t.ok(typeof Buffer != 'undefined' && _value instanceof Buffer, 'is a Buffer') | ||
result = _value.toString() | ||
} | ||
if (isTypedArray(value)) { | ||
value = String.fromCharCode.apply(null, new Uint16Array(value)) | ||
} else { | ||
value = value.toString() | ||
} | ||
t.ok(Buffer.isBuffer(_value), 'is a Buffer') | ||
var result = _value.toString() | ||
value = value.toString() | ||
t.equals(result, value) | ||
@@ -64,0 +52,0 @@ db.del(key, function (err) { |
{ | ||
"name": "abstract-leveldown", | ||
"description": "An abstract prototype matching the LevelDOWN API", | ||
"version": "0.11.4", | ||
"version": "0.12.0", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ "Rod Vagg <r@va.gg> (https://github.com/rvagg)", |
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
112127
2533