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 1.0.4 to 2.0.0

14

index.js

@@ -22,4 +22,14 @@

db.pre = db.hooks.pre
db.post = db.hooks.post
db.pre = function (hook) {
r.hooks.pre({
start: '',
end : sep
}
, hook)
return db
}
db.post = function (hook) {
db.hooks.post({start: '', end: sep}, hook)
return db
}

@@ -26,0 +36,0 @@ return db

2

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

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

@@ -70,9 +70,2 @@ # level-sublevel

## Known Issues
Until this issue is closed https://github.com/rvagg/node-levelup/issues/86
hooks do not work correctly until the database is fully opened.
Use `levelup(dir, function (err, db) {...})` to open db,
not `var db = levelup(dir)`.
## License

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