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.5.3 to 6.5.4

9

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

@@ -19,4 +19,4 @@ "repository": {

"devDependencies": {
"level": "~0.18.0",
"level-test": ">=1.5.1 <2",
"level": "^1.4.0",
"level-test": "^2.0.1",
"monotonic-timestamp": "0.0.8",

@@ -28,4 +28,3 @@ "pull-level": "~1.1.1",

"tape": "~2.14.0",
"through": "~2.3.4",
"leveldown": "~1.0.1"
"through": "~2.3.4"
},

@@ -32,0 +31,0 @@ "scripts": {

@@ -10,3 +10,3 @@

var db = sublevel(level('simple', {encoding: 'json'}))
var db = sublevel(level('simple', {valueEncoding: 'json'}))
db.put('hello', {ok: true}, function (err) {

@@ -20,3 +20,3 @@ if(err) throw err

var db2 = db.sublevel('sub')
db2.put('hello', {ok: true}, function (err) {
db2.put('hello', {ok: true}, function (err) {
if(err) throw err

@@ -35,3 +35,3 @@

tape('override json encoding', function (t) {
var db = sublevel(level('level-sublevel_override', {encoding: 'json'}))
var db = sublevel(level('level-sublevel_override', {valueEncoding: 'json'}))
var buf = new Buffer([1,2,3,4])

@@ -47,3 +47,3 @@

var db2 = db.sublevel('sub', {valueEncoding: 'binary'})
db2.put('hello', buf, function (err) {
db2.put('hello', buf, function (err) {
if(err) throw err

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