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 6.3.15 to 6.3.16

7

index.js

@@ -11,5 +11,10 @@

module.exports = function (db, opts) {
var sublevel = function (db, opts) {
opts = merge(db.options, opts)
return shell ( nut ( db, precodec, codec ), [], ReadStream, opts)
}
module.exports = function (db, opts) {
if (typeof db.sublevel === 'function' && typeof db.clone === 'function') return db.clone(opts)
return sublevel(db, opts)
}

2

package.json
{
"name": "level-sublevel",
"description": "partition levelup databases",
"version": "6.3.15",
"version": "6.3.16",
"homepage": "https://github.com/dominictarr/level-sublevel",

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

@@ -106,2 +106,6 @@ var EventEmitter = require('events').EventEmitter

emitter.clone = function(opts) {
return sublevel(nut, prefix, createStream, mergeOpts(opts))
}
emitter.sublevel = function (name, opts) {

@@ -108,0 +112,0 @@ return emitter.sublevels[name] =

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