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 4.2.0 to 4.3.0

2

index.js

@@ -164,3 +164,3 @@ var ranges = require('string-range')

}
h.hook.call(context, e, context.add)
h.hook.call(context, e, context.add, b)
}

@@ -167,0 +167,0 @@ })

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

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

@@ -20,5 +20,7 @@ var rimraf = require('rimraf')

db.hooks.pre(/^\w/, mac(function (ch, add, batch) {
//iterate backwards so you can push without breaking stuff.
db.hooks.pre(/^\w/, mac(function (ch, add) {
//iterate backwards so you can push without breaking stuff.
assert.ok(Array.isArray(batch))
assert.notEqual(batch.indexOf(ch), -1)
var key = ch.key

@@ -25,0 +27,0 @@ add({

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