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

level-sublevel

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-sublevel - npm Package Compare versions

Comparing version 4.0.5 to 4.1.0

2

package.json
{
"name": "level-sublevel",
"description": "",
"version": "4.0.5",
"version": "4.1.0",
"homepage": "https://github.com/dominictarr/level-sublevel",

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

var EventEmitter = require('events').EventEmitter
var inherits = require('util').inherits
var ranges = require('string-range')
var fixRange = require('level-fix-range')

@@ -123,3 +124,3 @@ inherits(SubDB, EventEmitter)

var p = this.prefix()
return r.hooks.pre(range, function (ch, add) {
return r.hooks.pre(fixRange(range), function (ch, add) {
hook({

@@ -141,3 +142,3 @@ key: ch.key.substring(p.length),

console.log('posthook range', range)
return r.hooks.post(range, function (data) {
return r.hooks.post(fixRange(range), function (data) {
hook({key: data.key.substring(p.length), value: data.value, type: data.type})

@@ -144,0 +145,0 @@ })

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