Socket
Socket
Sign inDemoInstall

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.2.0 to 0.2.1

abstract/.tern-port

1

abstract/open-test.js

@@ -26,2 +26,3 @@ module.exports.setUp = function (test, testCommon) {

}
module.exports.open = function (leveldown, test, testCommon) {

@@ -28,0 +29,0 @@ test('test database open', function (t) {

8

abstract/put-get-del-test.js

@@ -44,5 +44,9 @@ /**** SETUP & UTILITY STUFF ****/

var result = _value.toString()
if (_value instanceof ArrayBuffer)
var result
if (_value instanceof ArrayBuffer) {
result = String.fromCharCode.apply(null, new Uint16Array(_value))
} else {
t.ok(typeof Buffer != 'undefined' && _value instanceof Buffer)
result= _value.toString()
}

@@ -49,0 +53,0 @@ t.equals(result, value.toString())

{
"name" : "abstract-leveldown"
, "description" : "An abstract prototype matching the LevelDOWN API"
, "version" : "0.2.0"
, "version" : "0.2.1"
, "homepage" : "https://github.com/rvagg/node-abstract-leveldown"

@@ -6,0 +6,0 @@ , "contributors" : [

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