New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

level-hooks

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-hooks - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

8

index.js

@@ -19,3 +19,3 @@

post: function (posthook) {
posthooks.push(posthook)
db.on('hooks:post', posthook)
return db

@@ -33,5 +33,3 @@ },

function each (e) {
posthooks.forEach(function (h) {
h(e)
})
db.emit('hooks:post', e)
}

@@ -75,3 +73,3 @@

db._db.del = function (key, opts, cb) {
var batch =[{key: key, type: 'del'}]
var batch = [{key: key, type: 'del'}]
return callHooks(batch, opts, cb)

@@ -78,0 +76,0 @@ }

{
"name": "level-hooks",
"description": "pre/post hooks for leveldb",
"version": "1.0.1",
"version": "1.1.0",
"homepage": "https://github.com/dominictarr/level-hooks",

@@ -6,0 +6,0 @@ "repository": {

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