Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abstract-leveldown

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-leveldown - npm Package Compare versions

Comparing version 0.11.4 to 0.12.0

18

abstract/put-get-del-test.js

@@ -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) {

2

package.json
{
"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)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc