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 3.4.0 to 4.0.0

8

index.js

@@ -41,3 +41,11 @@ var EventEmitter = require('events').EventEmitter

var createReadStream = db.createReadStream
db.createReadStream = function (opts) {
opts = opts || {}
if(!opts.end && !opts.start)
opts.end = sep
return createReadStream.call(db, opts)
}
var batch = db.batch

@@ -44,0 +52,0 @@ db.batch = function (changes, opts, cb) {

2

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

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

@@ -61,3 +61,3 @@ var test = require('tape')

], function (err) {
base.createReadStream()
base.createReadStream({end: '\xff\xff'})
.on('data', function (ch) {

@@ -102,3 +102,3 @@ obj[ch.key] = ch.value

], function (err) {
base.createReadStream()
base.createReadStream({end: '\xff\xff'})
.on('data', function (ch) {

@@ -105,0 +105,0 @@ obj[ch.key] = ch.value

@@ -18,3 +18,3 @@

var o = {}
db.createReadStream().on('data', function (data) {
db.createReadStream({end: '\xff\xff'}).on('data', function (data) {
o[data.key.toString()] = data.value.toString()

@@ -21,0 +21,0 @@ })

@@ -17,3 +17,3 @@

var o = {}
db.createReadStream().on('data', function (data) {
db.createReadStream({end: '\xff\xff'}).on('data', function (data) {
o[data.key.toString()] = data.value.toString()

@@ -20,0 +20,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