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

subleveldown

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

subleveldown - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

12

CHANGELOG.md

@@ -5,2 +5,12 @@ # Changelog

## [5.0.1] - 2020-06-26
### Added
- Run `abstract-leveldown` tests on `levelup` interface ([#90](https://github.com/level/subleveldown/issues/90)) ([`8928189`](https://github.com/level/subleveldown/commit/8928189)) ([**@vweevers**](https://github.com/vweevers))
### Fixed
- Don't mutate arguments object, which fails in strict mode ([#93](https://github.com/level/subleveldown/issues/93)) ([`5513c83`](https://github.com/level/subleveldown/commit/5513c83)) ([**@andymatuschak**](https://github.com/andymatuschak))
## [5.0.0] - 2020-04-05

@@ -243,2 +253,4 @@

[5.0.1]: https://github.com/level/subleveldown/compare/v5.0.0...v5.0.1
[5.0.0]: https://github.com/level/subleveldown/compare/v4.1.4...v5.0.0

@@ -245,0 +257,0 @@

1

CONTRIBUTORS.md

@@ -9,2 +9,3 @@ # Contributors

| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
| **Andy Matuschak** | | |
| **Nocory** | [**@Nocory**](https://github.com/Nocory) | |

2

leveldown.js

@@ -35,3 +35,3 @@ var inherits = require('inherits')

if (key) key = key.slice(self.prefix.length)
cb.apply(null, arguments)
cb(err, key, value)
})

@@ -38,0 +38,0 @@ }

{
"name": "subleveldown",
"version": "5.0.0",
"version": "5.0.1",
"description": "Split a levelup database into sublevels with their own keyspace, encoding and events",

@@ -19,7 +19,7 @@ "author": "Mathias Buus (@mafintosh)",

"dependencies": {
"abstract-leveldown": "^6.2.3",
"abstract-leveldown": "^6.3.0",
"encoding-down": "^6.2.0",
"inherits": "^2.0.3",
"level-option-wrap": "^1.1.0",
"levelup": "^4.3.1",
"levelup": "^4.4.0",
"reachdown": "^1.1.0"

@@ -26,0 +26,0 @@ },

@@ -68,2 +68,24 @@ var test = require('tape')

// Test levelup interface
suite({
test: test,
factory: function () {
// This is a levelup instance, but we're testing it as abstract-leveldown :)
return subdb(levelup(encoding(memdown())), 'test')
},
// Unsupported features
seek: false,
createIfMissing: false,
errorIfExists: false,
// Opt-in to new clear() tests
clear: true,
// Adapt for levelup
promises: true,
status: false,
serialize: false,
encodings: true
})
// Additional tests for this implementation

@@ -70,0 +92,0 @@ test('SubDown constructor', function (t) {

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