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

abstract-leveldown

Package Overview
Dependencies
Maintainers
3
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 2.1.4 to 2.2.0

24

abstract/put-test.js

@@ -81,2 +81,24 @@ var db

module.exports.sync = function (test) {
test('sync put', function (t) {
db.put('foo', 'bar', { sync: true }, function (err) {
t.error(err)
db.get('foo', function (err, value) {
t.error(err)
t.equal(value.toString(), 'bar')
t.end()
})
})
})
test('sync put just before close', function (t) {
t.plan(2)
db.put('foo', 'bar', { sync: true }, function (err) {
t.error(err)
})
db.close(function (err) {
t.error(err)
})
})
}
module.exports.tearDown = function (test, testCommon) {

@@ -93,2 +115,2 @@ test('tearDown', function (t) {

module.exports.tearDown(test, testCommon)
}
}

2

package.json
{
"name": "abstract-leveldown",
"description": "An abstract prototype matching the LevelDOWN API",
"version": "2.1.4",
"version": "2.2.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