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

subleveldown

Package Overview
Dependencies
Maintainers
4
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 3.0.0 to 3.0.1

14

CHANGELOG.md

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

## [3.0.1] - 2018-07-27
### Added
* Add `nyc` and `coveralls` (@ralphtheninja)
### Removed
* Remove node 9 (@ralphtheninja)
### Fixed
* Pass on `fillCache` option to `SubIterator` (@Nocory)
## [3.0.0] - 2018-06-07

@@ -118,3 +129,4 @@

[Unreleased]: https://github.com/level/subleveldown/compare/v3.0.0...HEAD
[Unreleased]: https://github.com/level/subleveldown/compare/v3.0.1...HEAD
[3.0.1]: https://github.com/level/subleveldown/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/level/subleveldown/compare/v3.0.0-rc1...v3.0.0

@@ -121,0 +133,0 @@ [3.0.0-rc1]: https://github.com/level/subleveldown/compare/v2.1.0...v3.0.0-rc1

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

xopts.reverse = opts.reverse
xopts.fillCache = opts.fillCache
return xopts

@@ -137,0 +138,0 @@ }

7

package.json
{
"name": "subleveldown",
"version": "3.0.0",
"version": "3.0.1",
"description": "sublevels implemented using leveldowns",

@@ -14,3 +14,5 @@ "main": "index.js",

"devDependencies": {
"coveralls": "^3.0.2",
"memdown": "^3.0.0",
"nyc": "^12.0.2",
"standard": "^11.0.1",

@@ -33,3 +35,4 @@ "tape": "^4.9.0"

"scripts": {
"test": "standard && node test"
"test": "standard && nyc node test",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},

@@ -36,0 +39,0 @@ "engines": {

@@ -11,2 +11,3 @@ # subleveldown

[![npm](https://img.shields.io/npm/dm/subleveldown.svg)](https://www.npmjs.com/package/subleveldown)
[![Coverage Status](https://coveralls.io/repos/github/Level/subleveldown/badge.svg)](https://coveralls.io/github/Level/subleveldown)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

@@ -13,0 +14,0 @@

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

})
t.test('levelup *down is set to subdown which has correct storage', function (t) {

@@ -86,2 +87,3 @@ var db = levelup(memdown())

})
t.test('different sub levels can have different encodings', function (t) {

@@ -112,2 +114,3 @@ t.plan(6)

})
t.test('wrap a closed levelup and re-open levelup', function (t) {

@@ -129,2 +132,3 @@ t.plan(3)

})
t.test('wrapping a sub level', function (t) {

@@ -145,2 +149,3 @@ var db = levelup(memdown())

})
t.test('iterator options are forwarded (issue #1)', function (t) {

@@ -166,2 +171,3 @@ t.plan(4)

})
t.test('concatenating Buffer keys', function (t) {

@@ -180,2 +186,9 @@ t.plan(1)

})
t.test('subdb with no prefix', function (t) {
t.plan(1)
var db = levelup(memdown())
var sub = subdb(db, { valueEncoding: 'json' })
t.equal(sub.db._db.db.prefix, '!!')
})
})

@@ -182,0 +195,0 @@

Sorry, the diff of this file is not supported yet

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