Socket
Socket
Sign inDemoInstall

level-packager

Package Overview
Dependencies
Maintainers
4
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-packager - npm Package Compare versions

Comparing version 4.0.1 to 5.0.0

181

CHANGELOG.md

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

## [5.0.0] - 2018-12-27
### Changed
- Upgrade `encoding-down` from `~5.0.0` to `^6.0.0` ([#80](https://github.com/Level/packager/issues/80), [#81](https://github.com/Level/packager/issues/81)) ([**@vweevers**](https://github.com/vweevers))
- Upgrade `levelup` from `^3.0.0` to `^4.0.0` ([#79](https://github.com/Level/packager/issues/79)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Upgrade `standard` devDependency from `^11.0.0` to `^12.0.0` ([#74](https://github.com/Level/packager/issues/74)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Replace `remark-cli` devDependency with `hallmark` ([#81](https://github.com/Level/packager/issues/81)) ([**@vweevers**](https://github.com/vweevers))
### Added
- Add nyc and coveralls ([#73](https://github.com/Level/packager/issues/73)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove node 9 ([`29fdaf4`](https://github.com/Level/packager/commit/29fdaf4)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [4.0.1] - 2018-06-23

@@ -10,12 +27,12 @@

- Use `var` instead of `let` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Use `var` instead of `let` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Added
- Add `remark` tooling ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `'use strict'` to all abstract tests ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `remark` tooling ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `'use strict'` to all abstract tests ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove `contributors` from `package.json` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Remove `contributors` from `package.json` ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -26,3 +43,3 @@ ## [4.0.0] - 2018-06-13

- Rewrite `test.js` to test `level-packager` api ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Rewrite `test.js` to test `level-packager` api ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -33,7 +50,7 @@ ## [3.1.0] - 2018-05-28

- Split up tests into `abstract/*-test.js` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Split up tests into `abstract/*-test.js` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove `.jshintrc` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Remove `.jshintrc` ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -44,17 +61,17 @@ ## [3.0.0] - 2018-05-23

- Add node 10 to Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `UPGRADING.md` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add node 10 to Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `UPGRADING.md` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Update `standard` to `^11.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `encoding-down` to `~5.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^4.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `^3.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Change `License & Copyright` to `License` in README ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Replace `const` with `var` for IE10 support ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `standard` to `^11.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `encoding-down` to `~5.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^4.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `^3.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Change `License & Copyright` to `License` in README ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Replace `const` with `var` for IE10 support ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove node 4 from Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Remove node 4 from Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -65,13 +82,13 @@ ## [2.1.1] - 2018-02-13

- Travis: add 9 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: add 9 ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Update `encoding-down` to `~4.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^3.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update copyright year to 2018 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `encoding-down` to `~4.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^3.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update copyright year to 2018 ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Fixed
- Test: clean up `level-test-*` dbs after tests are done ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Test: clean up `level-test-*` dbs after tests are done ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -82,7 +99,7 @@ ## [2.1.0] - 2017-12-13

- Add `standard` for linting ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `standard` for linting ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Attach `.errors` from `levelup` to `Level` constructor ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Attach `.errors` from `levelup` to `Level` constructor ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -93,8 +110,8 @@ ## [2.0.2] - 2017-11-11

- Update `encoding-down` to `~3.0.0` ([**@vweevers**](https://github.com/vweevers))
- README: update node badge ([**@vweevers**](https://github.com/vweevers))
- Update `encoding-down` to `~3.0.0` ([**@vweevers**](https://github.com/vweevers))
- README: update node badge ([**@vweevers**](https://github.com/vweevers))
### Fixed
- Travis: restore node 4 ([**@vweevers**](https://github.com/vweevers))
- Travis: restore node 4 ([**@vweevers**](https://github.com/vweevers))

@@ -105,8 +122,8 @@ ## [2.0.1] - 2017-10-12

- Test that encoding options default to utf8 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Test that `.keyEncoding` and `.valueEncoding` are passed to `encoding-down` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Test that encoding options default to utf8 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Test that `.keyEncoding` and `.valueEncoding` are passed to `encoding-down` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Fixed
- Fix encoding options to `encoding-down` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Fix encoding options to `encoding-down` ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -117,14 +134,14 @@ ## [2.0.0] - 2017-10-11

- README: add `level` badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: add `level` badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Update `levelup` to `^2.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `encoding-down` to `~2.3.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^2.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: update npm badges to similar badge style ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `^2.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `encoding-down` to `~2.3.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^2.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: update npm badges to similar badge style ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- README: Remove Greenkeeper badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: Remove Greenkeeper badge ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -135,4 +152,4 @@ ## [2.0.0-rc3] - 2017-09-16

- Update `levelup` to `2.0.0-rc3` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^1.8.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `2.0.0-rc3` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^1.8.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -143,4 +160,4 @@ ## [2.0.0-rc2] - 2017-09-12

- Update `levelup` to `2.0.0-rc2` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `encoding-down` to `~2.2.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `2.0.0-rc2` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `encoding-down` to `~2.2.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -151,14 +168,14 @@ ## [2.0.0-rc1] - 2017-09-04

- Travis: add 8 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: add Greenkeeper badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: add node badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: add 8 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: add Greenkeeper badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: add node badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- README: steer away from `LevelDOWN` to `abstract-leveldown` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update copyright year to 2017 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: steer away from `LevelDOWN` to `abstract-leveldown` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update copyright year to 2017 ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Travis: remove 0.12, 4, 5 and 7 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: remove 0.12, 4, 5 and 7 ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -171,11 +188,11 @@ ### Fixed

- Travis: add 6 and 7 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: add 6 and 7 ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Travis: use gcc 4.8 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: use gcc 4.8 ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Travis: remove 0.10, 1.0, 1.8, 2 and 3 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: remove 0.10, 1.0, 1.8, 2 and 3 ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -186,9 +203,9 @@ ## [1.2.0] - 2015-11-27

- Add dependency badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: add 1.0, 2, 3, 4 and 5 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add dependency badge ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Travis: add 1.0, 2, 3, 4 and 5 ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Update `levelup` to `~1.3.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^1.4.2` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `~1.3.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `leveldown` to `^1.4.2` ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -199,4 +216,4 @@ ## [1.1.0] - 2015-06-09

- Update `levelup` to `~1.2.0` ([**@mcollina**](https://github.com/mcollina))
- Update `leveldown` to `~1.2.2` ([**@mcollina**](https://github.com/mcollina))
- Update `levelup` to `~1.2.0` ([**@mcollina**](https://github.com/mcollina))
- Update `leveldown` to `~1.2.2` ([**@mcollina**](https://github.com/mcollina))

@@ -207,3 +224,3 @@ ## [1.0.0] - 2015-05-19

- README: add link to `level/community` repo ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: add link to `level/community` repo ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -214,13 +231,13 @@ ## [1.0.0-0] - 2015-05-16

- Add Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `leveldown` dev dependency ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `leveldown` dev dependency ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Update `levelup` to `~1.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Run tests using `packager(leveldown)` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `~1.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Run tests using `packager(leveldown)` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove `level` dependency ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Remove `level` dependency ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -231,8 +248,8 @@ ## [0.19.7] - 2015-05-10

- Add `level-test-*` to `.gitignore` ([**@juliangruber**](https://github.com/juliangruber))
- Add `level-test-*` to `.gitignore` ([**@juliangruber**](https://github.com/juliangruber))
### Changed
- Run the tests if they are not required ([**@juliangruber**](https://github.com/juliangruber))
- Rename the repository to `packager` ([**@juliangruber**](https://github.com/juliangruber))
- Run the tests if they are not required ([**@juliangruber**](https://github.com/juliangruber))
- Rename the repository to `packager` ([**@juliangruber**](https://github.com/juliangruber))

@@ -243,3 +260,3 @@ ## [0.19.6] - 2015-05-10

- Fix incorrect options logic ([**@juliangruber**](https://github.com/juliangruber))
- Fix incorrect options logic ([**@juliangruber**](https://github.com/juliangruber))

@@ -250,3 +267,3 @@ ## [0.19.5] - 2015-05-10

- Fixed bug with missing opening curly brace ([**@juliangruber**](https://github.com/juliangruber))
- Fixed bug with missing opening curly brace ([**@juliangruber**](https://github.com/juliangruber))

@@ -257,3 +274,3 @@ ## [0.19.4] - 2015-05-10

- Use `typeof` instead of `util.isFunction()` ([**@juliangruber**](https://github.com/juliangruber))
- Use `typeof` instead of `util.isFunction()` ([**@juliangruber**](https://github.com/juliangruber))

@@ -264,3 +281,3 @@ ## [0.19.3] - 2015-05-10

- Fix missing closing parenthesis ([**@juliangruber**](https://github.com/juliangruber))
- Fix missing closing parenthesis ([**@juliangruber**](https://github.com/juliangruber))

@@ -271,3 +288,3 @@ ## [0.19.2] - 2015-05-10

- Fix missing closing parenthesis ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Fix missing closing parenthesis ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -278,3 +295,3 @@ ## [0.19.1] - 2015-05-10

- `null` options should not be treated as object ([**@deian**](https://github.com/deian))
- `null` options should not be treated as object ([**@deian**](https://github.com/deian))

@@ -285,5 +302,5 @@ ## [0.19.0] - 2015-05-04

- Plain MIT license ([**@andrewrk**](https://github.com/andrewrk))
- README: update logo and copyright year ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `~0.19.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Plain MIT license ([**@andrewrk**](https://github.com/andrewrk))
- README: update logo and copyright year ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `levelup` to `~0.19.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))

@@ -294,3 +311,3 @@ ## [0.18.0] - 2013-11-18

- Bumped version ([**@rvagg**](https://github.com/rvagg))
- Bumped version ([**@rvagg**](https://github.com/rvagg))

@@ -301,3 +318,3 @@ ## [0.17.0-5] - 2013-10-12

- Clean up debugging noise ([**@rvagg**](https://github.com/rvagg))
- Clean up debugging noise ([**@rvagg**](https://github.com/rvagg))

@@ -308,7 +325,7 @@ ## [0.17.0-4] - 2013-10-12

- Remove `copy()` ([**@rvagg**](https://github.com/rvagg))
- Remove `copy()` ([**@rvagg**](https://github.com/rvagg))
### Fixed
- Fix `repair()` and `destroy()` ([**@rvagg**](https://github.com/rvagg))
- Fix `repair()` and `destroy()` ([**@rvagg**](https://github.com/rvagg))

@@ -319,3 +336,3 @@ ## [0.17.0-3] - 2013-10-12

- Made tests compatible with node 0.8 ([**@rvagg**](https://github.com/rvagg))
- Made tests compatible with node 0.8 ([**@rvagg**](https://github.com/rvagg))

@@ -326,7 +343,7 @@ ## [0.17.0-2] - 2013-10-12

- Add options to exported tests to handle memdown ([**@rvagg**](https://github.com/rvagg))
- Add options to exported tests to handle memdown ([**@rvagg**](https://github.com/rvagg))
### Changed
- README: `level` -> `level-packager` ([**@rvagg**](https://github.com/rvagg))
- README: `level` -> `level-packager` ([**@rvagg**](https://github.com/rvagg))

@@ -337,3 +354,3 @@ ## [0.17.0-1] - 2013-10-09

- Remove `tape` from devDependencies, allow callers to pass in custom test function ([**@rvagg**](https://github.com/rvagg))
- Remove `tape` from devDependencies, allow callers to pass in custom test function ([**@rvagg**](https://github.com/rvagg))

@@ -344,4 +361,6 @@ ## 0.17.0 - 2013-10-09

[unreleased]: https://github.com/level/packager/compare/v4.0.1...HEAD
[unreleased]: https://github.com/level/packager/compare/v5.0.0...HEAD
[5.0.0]: https://github.com/level/packager/compare/v4.0.1...v5.0.0
[4.0.1]: https://github.com/level/packager/compare/v4.0.0...v4.0.1

@@ -348,0 +367,0 @@

# Contributors
| Name | GitHub | Social |
| -------------------- | ------------------------------------------------------ | --------------------------------------------------------------- |
| :------------------- | :----------------------------------------------------- | :-------------------------------------------------------------- |
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |

@@ -6,0 +6,0 @@ | **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |

{
"name": "level-packager",
"description": "LevelUP package helper for distributing with a LevelDOWN-compatible back-end",
"version": "4.0.1",
"version": "5.0.0",
"repository": {

@@ -10,15 +10,8 @@ "type": "git",

"scripts": {
"test": "standard && node test.js",
"remark": "remark README.md CHANGELOG.md CONTRIBUTORS.md UPGRADING.md -o"
"test": "standard && hallmark && nyc node test.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"hallmark": "hallmark --fix"
},
"remarkConfig": {
"plugins": [
[
"remark-git-contributors",
"level-community"
],
[
"remark-github"
]
]
"hallmark": {
"community": "level-community"
},

@@ -37,12 +30,12 @@ "homepage": "https://github.com/Level/packager",

"dependencies": {
"encoding-down": "~5.0.0",
"levelup": "^3.0.0"
"encoding-down": "^6.0.0",
"levelup": "^4.0.0"
},
"license": "MIT",
"devDependencies": {
"coveralls": "^3.0.2",
"hallmark": "^0.1.0",
"level-community": "^3.0.0",
"remark-cli": "^5.0.0",
"remark-git-contributors": "^0.2.2",
"remark-github": "^7.0.3",
"standard": "^11.0.0",
"nyc": "^12.0.2",
"standard": "^12.0.0",
"tape": "^4.0.0"

@@ -49,0 +42,0 @@ },

@@ -10,2 +10,3 @@ # level-packager

[![dependencies](https://david-dm.org/Level/packager.svg)](https://david-dm.org/level/packager)
[![Coverage Status](https://coveralls.io/repos/github/Level/packager/badge.svg)](https://coveralls.io/github/Level/packager)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

@@ -22,6 +23,6 @@ [![npm](https://img.shields.io/npm/dm/level-packager.svg)](https://www.npmjs.com/package/level-packager)

- [`level`](https://github.com/Level/level)
- [`level-mem`](https://github.com/Level/level-mem)
- [`level-hyper`](https://github.com/Level/level-hyper)
- [`level-lmdb`](https://github.com/Level/level-lmdb)
- [`level`](https://github.com/Level/level)
- [`level-mem`](https://github.com/Level/level-mem)
- [`level-hyper`](https://github.com/Level/level-hyper)
- [`level-lmdb`](https://github.com/Level/level-lmdb)

@@ -28,0 +29,0 @@ Also available is a _test.js_ file that can be used to verify that the user-package works as expected.

@@ -32,3 +32,3 @@ 'use strict'

test('Level constructor, default options', function (t) {
test('Level constructor with default options', function (t) {
t.plan(3)

@@ -46,3 +46,20 @@ function Down (location) {

test('Level constructor, custom options', function (t) {
test('Level constructor with callback', function (t) {
t.plan(4)
function Down (location) {
t.is(location, 'location', 'location is correct')
return {
open: function (opts, cb) {
t.pass('open called')
process.nextTick(cb)
}
}
}
packager(Down)('location', function (err, db) {
t.error(err)
t.ok(db, 'db set in callback')
})
})
test('Level constructor with custom options', function (t) {
t.plan(3)

@@ -49,0 +66,0 @@ var Down = function (location) {

@@ -5,2 +5,6 @@ # Upgrade Guide

## v5
Upgraded to [`levelup@4`](https://github.com/Level/levelup/blob/v4.0.0/UPGRADING.md#v4) and [`encoding-down@6`](https://github.com/Level/encoding-down/blob/v6.0.0/UPGRADING.md#v6). We recommend to pair `level-packager@5` only with a store based on `abstract-leveldown` >= 6. Please follow the earlier links for more information.
## v4

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