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

levelup

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

levelup - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

255

CHANGELOG.md

@@ -5,4 +5,15 @@ # Changelog

## [Unreleased][unreleased]
## [4.2.0] - 2019-09-08
### Changed
- Upgrade `deferred-leveldown` from `~5.1.0` to `~5.2.0` ([#669](https://github.com/Level/levelup/issues/669)) ([**@vweevers**](https://github.com/vweevers))
- Upgrade `hallmark` devDependency from `^0.1.0` to `^2.0.0` ([#664](https://github.com/Level/levelup/issues/664), [#672](https://github.com/Level/levelup/issues/672)) ([**@vweevers**](https://github.com/vweevers))
- Upgrade `standard` devDependency from `^12.0.0` to `^14.1.0` ([#663](https://github.com/Level/levelup/issues/663), [`cd3af83`](https://github.com/Level/levelup/commit/cd3af83)) ([**@vweevers**](https://github.com/vweevers))
- Upgrade `memdown` devDependency from `^4.0.0` to `^5.0.0` ([#668](https://github.com/Level/levelup/issues/668)) ([**@vweevers**](https://github.com/vweevers))
### Added
- Add `clear()` method to delete all entries or a range ([#669](https://github.com/Level/levelup/issues/669)) ([**@vweevers**](https://github.com/vweevers))
## [4.1.0] - 2019-06-28

@@ -798,8 +809,2 @@

## [0.5.3-1] - 2013-02-05
### Changed
- Non shrinkwrapped release [**@rvagg**](https://github.com/rvagg)
## [0.5.3] - 2013-01-28

@@ -814,2 +819,8 @@

## [0.5.3-1] - 2013-02-05
### Changed
- Non shrinkwrapped release [**@rvagg**](https://github.com/rvagg)
## [0.5.2] - 2013-01-23

@@ -827,11 +838,2 @@

## [0.5.0-1] - 2013-01-09
### Added
### Changed
- Change `createIfMissing` option default to `true` ([**@rvagg**](https://github.com/rvagg))
- Use `util._extend` instead of local variant ([**@rvagg**](https://github.com/rvagg))
## [0.5.0] - 2013-01-08

@@ -853,2 +855,11 @@

## [0.5.0-1] - 2013-01-09
### Added
### Changed
- Change `createIfMissing` option default to `true` ([**@rvagg**](https://github.com/rvagg))
- Use `util._extend` instead of local variant ([**@rvagg**](https://github.com/rvagg))
## [0.4.4] - 2013-01-01

@@ -989,2 +1000,8 @@

## [0.0.5] - 2012-09-22
### Changed
- Native layer errors if `key` or `value` are `undefined` or `null` ([**@rvagg**](https://github.com/rvagg))
## [0.0.5-1] - 2012-09-28

@@ -996,8 +1013,2 @@

## [0.0.5] - 2012-09-22
### Changed
- Native layer errors if `key` or `value` are `undefined` or `null` ([**@rvagg**](https://github.com/rvagg))
## [0.0.4] - 2012-09-12

@@ -1015,8 +1026,2 @@

## [0.0.2-1] - 2012-09-07
### Added
- Add repository information to `package.json` ([**@rvagg**](https://github.com/rvagg))
## [0.0.2] - 2012-09-07

@@ -1033,2 +1038,8 @@

## [0.0.2-1] - 2012-09-07
### Added
- Add repository information to `package.json` ([**@rvagg**](https://github.com/rvagg))
## [0.0.1] - 2012-08-31

@@ -1053,4 +1064,8 @@

## [0.0.0-1] - 2012-08-18
## [0.0.0] - 2012-08-17
:seedling: Initial release.
## 0.0.0-1 - 2012-08-18
### Added

@@ -1069,182 +1084,178 @@

## 0.0.0 - 2012-08-17
[4.2.0]: https://github.com/Level/levelup/compare/v4.1.0...v4.2.0
:seedling: Initial release.
[4.1.0]: https://github.com/Level/levelup/compare/v4.0.2...v4.1.0
[unreleased]: https://github.com/level/levelup/compare/v4.1.0...HEAD
[4.0.2]: https://github.com/Level/levelup/compare/v4.0.1...v4.0.2
[4.1.0]: https://github.com/level/levelup/compare/v4.0.2...v4.1.0
[4.0.1]: https://github.com/Level/levelup/compare/v4.0.0...v4.0.1
[4.0.2]: https://github.com/level/levelup/compare/v4.0.1...v4.0.2
[4.0.0]: https://github.com/Level/levelup/compare/v3.1.1...v4.0.0
[4.0.1]: https://github.com/level/levelup/compare/v4.0.0...v4.0.1
[3.1.1]: https://github.com/Level/levelup/compare/v3.1.0...v3.1.1
[4.0.0]: https://github.com/level/levelup/compare/v3.1.1...v4.0.0
[3.1.0]: https://github.com/Level/levelup/compare/v3.0.1...v3.1.0
[3.1.1]: https://github.com/level/levelup/compare/v3.1.0...v3.1.1
[3.0.1]: https://github.com/Level/levelup/compare/v3.0.0...v3.0.1
[3.1.0]: https://github.com/level/levelup/compare/v3.0.1...v3.1.0
[3.0.0]: https://github.com/Level/levelup/compare/v2.0.2...v3.0.0
[3.0.1]: https://github.com/level/levelup/compare/v3.0.0...v3.0.1
[2.0.2]: https://github.com/Level/levelup/compare/v2.0.1...v2.0.2
[3.0.0]: https://github.com/level/levelup/compare/v2.0.2...v3.0.0
[2.0.1]: https://github.com/Level/levelup/compare/v2.0.0...v2.0.1
[2.0.2]: https://github.com/level/levelup/compare/v2.0.1...v2.0.2
[2.0.0]: https://github.com/Level/levelup/compare/v2.0.0-rc3...v2.0.0
[2.0.1]: https://github.com/level/levelup/compare/v2.0.0...v2.0.1
[2.0.0-rc3]: https://github.com/Level/levelup/compare/v2.0.0-rc2...v2.0.0-rc3
[2.0.0]: https://github.com/level/levelup/compare/v2.0.0-rc3...v2.0.0
[2.0.0-rc2]: https://github.com/Level/levelup/compare/v2.0.0-rc1...v2.0.0-rc2
[2.0.0-rc3]: https://github.com/level/levelup/compare/v2.0.0-rc2...v2.0.0-rc3
[2.0.0-rc1]: https://github.com/Level/levelup/compare/v1.3.9...v2.0.0-rc1
[2.0.0-rc2]: https://github.com/level/levelup/compare/v2.0.0-rc1...v2.0.0-rc2
[1.3.9]: https://github.com/Level/levelup/compare/v1.3.8...v1.3.9
[2.0.0-rc1]: https://github.com/level/levelup/compare/v1.3.9...v2.0.0-rc1
[1.3.8]: https://github.com/Level/levelup/compare/v1.3.7...v1.3.8
[1.3.9]: https://github.com/level/levelup/compare/v1.3.8...v1.3.9
[1.3.7]: https://github.com/Level/levelup/compare/v1.3.6...v1.3.7
[1.3.8]: https://github.com/level/levelup/compare/v1.3.7...v1.3.8
[1.3.6]: https://github.com/Level/levelup/compare/v1.3.5...v1.3.6
[1.3.7]: https://github.com/level/levelup/compare/v1.3.6...v1.3.7
[1.3.5]: https://github.com/Level/levelup/compare/v1.3.4...v1.3.5
[1.3.6]: https://github.com/level/levelup/compare/v1.3.5...v1.3.6
[1.3.4]: https://github.com/Level/levelup/compare/v1.3.3...v1.3.4
[1.3.5]: https://github.com/level/levelup/compare/v1.3.4...v1.3.5
[1.3.3]: https://github.com/Level/levelup/compare/v1.3.2...v1.3.3
[1.3.4]: https://github.com/level/levelup/compare/v1.3.3...v1.3.4
[1.3.2]: https://github.com/Level/levelup/compare/v1.3.1...v1.3.2
[1.3.3]: https://github.com/level/levelup/compare/v1.3.2...v1.3.3
[1.3.1]: https://github.com/Level/levelup/compare/v1.3.0...v1.3.1
[1.3.2]: https://github.com/level/levelup/compare/v1.3.1...v1.3.2
[1.3.0]: https://github.com/Level/levelup/compare/v1.2.1...v1.3.0
[1.3.1]: https://github.com/level/levelup/compare/v1.3.0...v1.3.1
[1.2.1]: https://github.com/Level/levelup/compare/v1.2.0...v1.2.1
[1.3.0]: https://github.com/level/levelup/compare/v1.2.1...v1.3.0
[1.2.0]: https://github.com/Level/levelup/compare/v1.1.1...v1.2.0
[1.2.1]: https://github.com/level/levelup/compare/v1.2.0...v1.2.1
[1.1.1]: https://github.com/Level/levelup/compare/v1.1.0...v1.1.1
[1.2.0]: https://github.com/level/levelup/compare/v1.1.1...v1.2.0
[1.1.0]: https://github.com/Level/levelup/compare/v1.0.0...v1.1.0
[1.1.1]: https://github.com/level/levelup/compare/v1.1.0...v1.1.1
[1.0.0]: https://github.com/Level/levelup/compare/v1.0.0-5...v1.0.0
[1.1.0]: https://github.com/level/levelup/compare/v1.0.0...v1.1.0
[1.0.0-5]: https://github.com/Level/levelup/compare/v1.0.0-4...v1.0.0-5
[1.0.0]: https://github.com/level/levelup/compare/v1.0.0-5...v1.0.0
[1.0.0-4]: https://github.com/Level/levelup/compare/v1.0.0-3...v1.0.0-4
[1.0.0-5]: https://github.com/level/levelup/compare/v1.0.0-4...v1.0.0-5
[1.0.0-3]: https://github.com/Level/levelup/compare/v1.0.0-2...v1.0.0-3
[1.0.0-4]: https://github.com/level/levelup/compare/v1.0.0-3...v1.0.0-4
[1.0.0-2]: https://github.com/Level/levelup/compare/v1.0.0-1...v1.0.0-2
[1.0.0-3]: https://github.com/level/levelup/compare/v1.0.0-2...v1.0.0-3
[1.0.0-1]: https://github.com/Level/levelup/compare/v1.0.0-0...v1.0.0-1
[1.0.0-2]: https://github.com/level/levelup/compare/v1.0.0-1...v1.0.0-2
[1.0.0-0]: https://github.com/Level/levelup/compare/v0.19.1...v1.0.0-0
[1.0.0-1]: https://github.com/level/levelup/compare/v1.0.0-0...v1.0.0-1
[0.19.1]: https://github.com/Level/levelup/compare/v0.19.0...v0.19.1
[1.0.0-0]: https://github.com/level/levelup/compare/v0.19.0...v1.0.0-0
[0.19.0]: https://github.com/Level/levelup/compare/v0.18.6...v0.19.0
[0.19.1]: https://github.com/level/levelup/compare/v0.19.0...v0.19.1
[0.18.6]: https://github.com/Level/levelup/compare/v0.18.5...v0.18.6
[0.19.0]: https://github.com/level/levelup/compare/v0.18.6...v0.19.0
[0.18.5]: https://github.com/Level/levelup/compare/v0.18.4...v0.18.5
[0.18.6]: https://github.com/level/levelup/compare/v0.18.5...v0.18.6
[0.18.4]: https://github.com/Level/levelup/compare/v0.18.3...v0.18.4
[0.18.5]: https://github.com/level/levelup/compare/v0.18.4...v0.18.5
[0.18.3]: https://github.com/Level/levelup/compare/v0.18.2...v0.18.3
[0.18.4]: https://github.com/level/levelup/compare/v0.18.3...v0.18.4
[0.18.2]: https://github.com/Level/levelup/compare/v0.18.1...v0.18.2
[0.18.3]: https://github.com/level/levelup/compare/v0.18.2...v0.18.3
[0.18.1]: https://github.com/Level/levelup/compare/0.18.0...v0.18.1
[0.18.2]: https://github.com/level/levelup/compare/v0.18.1...v0.18.2
[0.18.0]: https://github.com/Level/levelup/compare/0.17.0...0.18.0
[0.18.1]: https://github.com/level/levelup/compare/0.18.0...v0.18.1
[0.17.0]: https://github.com/Level/levelup/compare/0.16.0...0.17.0
[0.18.0]: https://github.com/level/levelup/compare/0.17.0...0.18.0
[0.16.0]: https://github.com/Level/levelup/compare/0.15.0...0.16.0
[0.17.0]: https://github.com/level/levelup/compare/0.16.0...0.17.0
[0.15.0]: https://github.com/Level/levelup/compare/0.14.0...0.15.0
[0.16.0]: https://github.com/level/levelup/compare/0.15.0...0.16.0
[0.14.0]: https://github.com/Level/levelup/compare/0.13.0...0.14.0
[0.15.0]: https://github.com/level/levelup/compare/0.14.0...0.15.0
[0.13.0]: https://github.com/Level/levelup/compare/0.12.0...0.13.0
[0.14.0]: https://github.com/level/levelup/compare/0.13.0...0.14.0
[0.12.0]: https://github.com/Level/levelup/compare/0.11.0...0.12.0
[0.13.0]: https://github.com/level/levelup/compare/0.12.0...0.13.0
[0.11.0]: https://github.com/Level/levelup/compare/0.10.0...0.11.0
[0.12.0]: https://github.com/level/levelup/compare/0.11.0...0.12.0
[0.10.0]: https://github.com/Level/levelup/compare/0.9.0...0.10.0
[0.11.0]: https://github.com/level/levelup/compare/0.10.0...0.11.0
[0.9.0]: https://github.com/Level/levelup/compare/0.8.0...0.9.0
[0.10.0]: https://github.com/level/levelup/compare/0.9.0...0.10.0
[0.8.0]: https://github.com/Level/levelup/compare/0.7.0...0.8.0
[0.9.0]: https://github.com/level/levelup/compare/0.8.0...0.9.0
[0.7.0]: https://github.com/Level/levelup/compare/0.6.2...0.7.0
[0.8.0]: https://github.com/level/levelup/compare/0.7.0...0.8.0
[0.6.2]: https://github.com/Level/levelup/compare/0.6.1...0.6.2
[0.7.0]: https://github.com/level/levelup/compare/0.6.2...0.7.0
[0.6.1]: https://github.com/Level/levelup/compare/0.6.0...0.6.1
[0.6.2]: https://github.com/level/levelup/compare/0.6.1...0.6.2
[0.6.0]: https://github.com/Level/levelup/compare/0.6.0-rc1...0.6.0
[0.6.1]: https://github.com/level/levelup/compare/0.6.0...0.6.1
[0.6.0-rc1]: https://github.com/Level/levelup/compare/0.5.4...0.6.0-rc1
[0.6.0]: https://github.com/level/levelup/compare/0.6.0-rc1...0.6.0
[0.5.4]: https://github.com/Level/levelup/compare/0.5.3...0.5.4
[0.6.0-rc1]: https://github.com/level/levelup/compare/0.5.4...0.6.0-rc1
[0.5.3]: https://github.com/Level/levelup/compare/0.5.3-1...0.5.3
[0.5.4]: https://github.com/level/levelup/compare/0.5.3-1...0.5.4
[0.5.3-1]: https://github.com/Level/levelup/compare/0.5.2...0.5.3-1
[0.5.3-1]: https://github.com/level/levelup/compare/0.5.3...0.5.3-1
[0.5.2]: https://github.com/Level/levelup/compare/0.5.1...0.5.2
[0.5.3]: https://github.com/level/levelup/compare/0.5.2...0.5.3
[0.5.1]: https://github.com/Level/levelup/compare/0.5.0...0.5.1
[0.5.2]: https://github.com/level/levelup/compare/0.5.1...0.5.2
[0.5.0]: https://github.com/Level/levelup/compare/0.5.0-1...0.5.0
[0.5.1]: https://github.com/level/levelup/compare/0.5.0-1...0.5.1
[0.5.0-1]: https://github.com/Level/levelup/compare/0.4.4...0.5.0-1
[0.5.0-1]: https://github.com/level/levelup/compare/0.5.0...0.5.0-1
[0.4.4]: https://github.com/Level/levelup/compare/0.4.3...0.4.4
[0.5.0]: https://github.com/level/levelup/compare/0.4.4...0.5.0
[0.4.3]: https://github.com/Level/levelup/compare/0.4.2...0.4.3
[0.4.4]: https://github.com/level/levelup/compare/0.4.3...0.4.4
[0.4.2]: https://github.com/Level/levelup/compare/0.4.1...0.4.2
[0.4.3]: https://github.com/level/levelup/compare/0.4.2...0.4.3
[0.4.1]: https://github.com/Level/levelup/compare/0.4.0...0.4.1
[0.4.2]: https://github.com/level/levelup/compare/0.4.1...0.4.2
[0.4.0]: https://github.com/Level/levelup/compare/0.3.3...0.4.0
[0.4.1]: https://github.com/level/levelup/compare/0.4.0...0.4.1
[0.3.3]: https://github.com/Level/levelup/compare/0.3.2...0.3.3
[0.4.0]: https://github.com/level/levelup/compare/0.3.3...0.4.0
[0.3.2]: https://github.com/Level/levelup/compare/0.3.1...0.3.2
[0.3.3]: https://github.com/level/levelup/compare/0.3.2...0.3.3
[0.3.1]: https://github.com/Level/levelup/compare/0.3.0...0.3.1
[0.3.2]: https://github.com/level/levelup/compare/0.3.1...0.3.2
[0.3.0]: https://github.com/Level/levelup/compare/0.2.1...0.3.0
[0.3.1]: https://github.com/level/levelup/compare/0.3.0...0.3.1
[0.2.1]: https://github.com/Level/levelup/compare/0.2.0...0.2.1
[0.3.0]: https://github.com/level/levelup/compare/0.2.1...0.3.0
[0.2.0]: https://github.com/Level/levelup/compare/0.1.2...0.2.0
[0.2.1]: https://github.com/level/levelup/compare/0.2.0...0.2.1
[0.1.2]: https://github.com/Level/levelup/compare/0.1.1...0.1.2
[0.2.0]: https://github.com/level/levelup/compare/0.1.2...0.2.0
[0.1.1]: https://github.com/Level/levelup/compare/0.1.0...0.1.1
[0.1.2]: https://github.com/level/levelup/compare/0.1.1...0.1.2
[0.1.0]: https://github.com/Level/levelup/compare/0.0.5...0.1.0
[0.1.1]: https://github.com/level/levelup/compare/0.1.0...0.1.1
[0.0.5]: https://github.com/Level/levelup/compare/0.0.5-1...0.0.5
[0.1.0]: https://github.com/level/levelup/compare/0.0.5-1...0.1.0
[0.0.5-1]: https://github.com/Level/levelup/compare/0.0.4...0.0.5-1
[0.0.5-1]: https://github.com/level/levelup/compare/0.0.5...0.0.5-1
[0.0.4]: https://github.com/Level/levelup/compare/0.0.3...0.0.4
[0.0.5]: https://github.com/level/levelup/compare/0.0.4...0.0.5
[0.0.3]: https://github.com/Level/levelup/compare/0.0.2...0.0.3
[0.0.4]: https://github.com/level/levelup/compare/0.0.3...0.0.4
[0.0.2]: https://github.com/Level/levelup/compare/0.0.2-1...0.0.2
[0.0.3]: https://github.com/level/levelup/compare/0.0.2-1...0.0.3
[0.0.2-1]: https://github.com/Level/levelup/compare/0.0.1...0.0.2-1
[0.0.2-1]: https://github.com/level/levelup/compare/0.0.2...0.0.2-1
[0.0.1]: https://github.com/Level/levelup/compare/0.0.0...0.0.1
[0.0.2]: https://github.com/level/levelup/compare/0.0.1...0.0.2
[0.0.1]: https://github.com/level/levelup/compare/0.0.0-1...0.0.1
[0.0.0-1]: https://github.com/level/levelup/compare/0.0.0...0.0.0-1
[0.0.0]: https://github.com/Level/levelup/compare/0.0.0-1...0.0.0
# Contributors
| Name | GitHub | Social |
| :------------------- | :------------------------------------------------------------------------- | :------------------------------------------------------------------ |
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
| **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) |
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
| **Dominic Tarr** | [**@dominictarr**](https://github.com/dominictarr) | [**@dominictarr@twitter**](https://twitter.com/dominictarr) |
| **Matteo Collina** | [**@mcollina**](https://github.com/mcollina) | [**@matteocollina@twitter**](https://twitter.com/matteocollina) |
| **James Halliday** | [**@substack**](https://github.com/substack) | [**@substack@twitter**](https://twitter.com/substack) |
| **David Björklund** | [**@kesla**](https://github.com/kesla) | [**@david_bjorklund@twitter**](https://twitter.com/david_bjorklund) |
| **Raynos** | | |
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
| **Jarrett Cruger** | [**@jcrugzz**](https://github.com/jcrugzz) | [**@jcrugzz@twitter**](https://twitter.com/jcrugzz) |
| **Ben West** | [**@bewest**](https://github.com/bewest) | |
| **Arnout Engelen** | [**@raboof**](https://github.com/raboof) | |
| **Kyle E. Mitchell** | | |
| **Braydon Fuller** | [**@braydonf**](https://github.com/braydonf) | |
| **Huan LI** | [**@zixia**](https://github.com/zixia) | [**@zixia@twitter**](https://twitter.com/zixia) |
| **Aditya Purwa** | [**@adityapurwa**](https://github.com/adityapurwa) | |
| **Eduardo Sorribas** | [**@sorribas**](https://github.com/sorribas) | |
| **Nolan Lawson** | [**@nolanlawson**](https://github.com/nolanlawson) | [**@nolan@toot.cafe**](https://toot.cafe/@nolan) |
| **James Butler** | [**@sandfox**](https://github.com/sandfox) | |
| **Alex Potsides** | | |
| **Mads Andreasen** | [**@MadsAndreasenTechPeople**](https://github.com/MadsAndreasenTechPeople) | |
| **Super-User** | | |
| **Matthew Wright** | [**@farskipper**](https://github.com/farskipper) | |
| **David Dias** | [**@diasdavid**](https://github.com/diasdavid) | |
| **Pascal Temel** | [**@PascalTemel**](https://github.com/PascalTemel) | |
| **Daniel Ravina** | [**@danielravina**](https://github.com/danielravina) | |
| **James Brown** | | |
| **Alejandro Oviedo** | [**@a0viedo**](https://github.com/a0viedo) | |
| **Monty Anderson** | [**@montyanderson**](https://github.com/montyanderson) | |
| **Prayag Verma** | [**@pra85**](https://github.com/pra85) | |
| **Paolo Fragomeni** | [**@hxoht**](https://github.com/hxoht) | [**@hxoht@twitter**](https://twitter.com/hxoht) |
| **Hans Ott** | [**@hansott**](https://github.com/hansott) | |
| **Stephen Sawchuk** | | |
| **Richard Littauer** | [**@RichardLitt**](https://github.com/RichardLitt) | |
| **Brian Woodward** | [**@doowb**](https://github.com/doowb) | [**@doowb@twitter**](https://twitter.com/doowb) |
| **Manuel Ernst** | [**@seriousManual**](https://github.com/seriousManual) | |
| **Calvin Metcalf** | [**@calvinmetcalf**](https://github.com/calvinmetcalf) | |
| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | |
| **Max Ogden** | [**@maxogden**](https://github.com/maxogden) | [**@maxogden@twitter**](https://twitter.com/maxogden) |
| **Patrick Pfeiffer** | | |
| **Mark Cavage** | [**@mcavage**](https://github.com/mcavage) | |
| **Pomke** | | |
| **Pedro Teixeira** | [**@pgte**](https://github.com/pgte) | [**@pgte@twitter**](https://twitter.com/pgte) |
| **moro** | | |
| Name | GitHub | Social |
| :------------------------- | :------------------------------------------------------------------------- | :------------------------------------------------------------------ |
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
| **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) |
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
| **Dominic Tarr** | [**@dominictarr**](https://github.com/dominictarr) | [**@dominictarr@twitter**](https://twitter.com/dominictarr) |
| **Matteo Collina** | [**@mcollina**](https://github.com/mcollina) | [**@matteocollina@twitter**](https://twitter.com/matteocollina) |
| **James Halliday** | [**@substack**](https://github.com/substack) | [**@substack@twitter**](https://twitter.com/substack) |
| **David Björklund** | [**@kesla**](https://github.com/kesla) | [**@david_bjorklund@twitter**](https://twitter.com/david_bjorklund) |
| **Raynos (Jake Verbaten)** | | |
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
| **Jarrett Cruger** | [**@jcrugzz**](https://github.com/jcrugzz) | [**@jcrugzz@twitter**](https://twitter.com/jcrugzz) |
| **Arnout Engelen** | [**@raboof**](https://github.com/raboof) | |
| **Ben West** | [**@bewest**](https://github.com/bewest) | |
| **Braydon Fuller** | [**@braydonf**](https://github.com/braydonf) | |
| **Kyle E. Mitchell** | | |
| **Huan LI** | [**@zixia**](https://github.com/zixia) | [**@zixia@twitter**](https://twitter.com/zixia) |
| **Eduardo Sorribas** | [**@sorribas**](https://github.com/sorribas) | |
| **Aditya Purwa** | [**@adityapurwa**](https://github.com/adityapurwa) | |
| **Nolan Lawson** | [**@nolanlawson**](https://github.com/nolanlawson) | [**@nolan@toot.cafe**](https://toot.cafe/@nolan) |
| **James Butler** | [**@sandfox**](https://github.com/sandfox) | |
| **Manuel Ernst** | [**@seriousManual**](https://github.com/seriousManual) | |
| **Stephen Sawchuk** | | |
| **Alex Potsides** | | |
| **Richard Littauer** | [**@RichardLitt**](https://github.com/RichardLitt) | |
| **James Brown** | | |
| **Brian Woodward** | [**@doowb**](https://github.com/doowb) | [**@doowb@twitter**](https://twitter.com/doowb) |
| **Daniel Ravina** | [**@danielravina**](https://github.com/danielravina) | |
| **Pascal Temel** | [**@PascalTemel**](https://github.com/PascalTemel) | |
| **Monty Anderson** | [**@montyanderson**](https://github.com/montyanderson) | |
| **David Dias** | [**@diasdavid**](https://github.com/diasdavid) | |
| **Prayag Verma** | [**@pra85**](https://github.com/pra85) | |
| **Matthew Wright** | [**@farskipper**](https://github.com/farskipper) | |
| **Alejandro Oviedo** | [**@a0viedo**](https://github.com/a0viedo) | |
| **Calvin Metcalf** | [**@calvinmetcalf**](https://github.com/calvinmetcalf) | |
| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | |
| **moro** | | |
| **Paolo Fragomeni** | [**@hxoht**](https://github.com/hxoht) | [**@hxoht@twitter**](https://twitter.com/hxoht) |
| **Max Ogden** | [**@maxogden**](https://github.com/maxogden) | [**@maxogden@twitter**](https://twitter.com/maxogden) |
| **Patrick Pfeiffer** | | |
| **Mark Cavage** | [**@mcavage**](https://github.com/mcavage) | |
| **Mads Andreasen** | [**@MadsAndreasenTechPeople**](https://github.com/MadsAndreasenTechPeople) | |
| **Pomke** | | |
| **Pedro Teixeira** | [**@pgte**](https://github.com/pgte) | [**@pgte@twitter**](https://twitter.com/pgte) |
| **Hans Ott** | [**@hansott**](https://github.com/hansott) | |
| **Super-User** | | |

@@ -279,2 +279,29 @@ var EventEmitter = require('events').EventEmitter

LevelUP.prototype.clear = function (options, callback) {
var self = this
var promise
callback = getCallback(options, callback)
options = getOptions(options)
if (!callback) {
callback = promisify()
promise = callback.promise
}
if (maybeError(this, callback)) {
return promise
}
this.db.clear(options, function (err) {
if (err) {
return callback(new WriteError(err))
}
self.emit('clear', options)
callback()
})
return promise
}
LevelUP.prototype.readStream =

@@ -281,0 +308,0 @@ LevelUP.prototype.createReadStream = function (options) {

{
"name": "levelup",
"version": "4.1.0",
"version": "4.2.0",
"description": "Fast & simple storage - a Node.js-style LevelDB wrapper",

@@ -17,3 +17,3 @@ "license": "MIT",

"dependencies": {
"deferred-leveldown": "~5.1.0",
"deferred-leveldown": "~5.2.0",
"level-errors": "~2.0.0",

@@ -34,6 +34,7 @@ "level-iterator-stream": "~4.0.0",

"dependency-check": "^3.3.0",
"encoding-down": "^6.0.0",
"hallmark": "^0.1.0",
"encoding-down": "^6.2.0",
"hallmark": "^2.0.0",
"level-community": "^3.0.0",
"memdown": "^4.0.0",
"level-concat-iterator": "^2.0.1",
"memdown": "^5.0.0",
"nyc": "^14.0.0",

@@ -45,3 +46,3 @@ "pinkie": "^2.0.4",

"safe-buffer": "^5.1.0",
"standard": "^12.0.0",
"standard": "^14.1.0",
"tape": "^4.7.0",

@@ -48,0 +49,0 @@ "trickle": "0.0.2"

@@ -98,2 +98,3 @@ # levelup

- <a href="#iterator"><code>db.<b>iterator()</b></code></a>
- <a href="#clear"><code>db.<b>clear()</b></code></a>

@@ -395,2 +396,19 @@ ### Special Notes

<a name="clear"></a>
### `db.clear([options][, callback])`
**This method is experimental. Not all underlying stores support it yet. Consult [Level/community#79](https://github.com/Level/community/issues/79) to find out if your (combination of) dependencies support `db.clear()`.**
Delete all entries or a range. Not guaranteed to be atomic. Accepts the following range options (with the same rules as on iterators):
- `gt` (greater than), `gte` (greater than or equal) define the lower bound of the range to be deleted. Only entries where the key is greater than (or equal to) this option will be included in the range. When `reverse=true` the order will be reversed, but the entries deleted will be the same.
- `lt` (less than), `lte` (less than or equal) define the higher bound of the range to be deleted. Only entries where the key is less than (or equal to) this option will be included in the range. When `reverse=true` the order will be reversed, but the entries deleted will be the same.
- `reverse` _(boolean, default: `false`)_: delete entries in reverse order. Only effective in combination with `limit`, to remove the last N records.
- `limit` _(number, default: `-1`)_: limit the number of entries to be deleted. This number represents a _maximum_ number of entries and may not be reached if you get to the end of the range first. A value of `-1` means there is no limit. When `reverse=true` the entries with the highest keys will be deleted instead of the lowest keys.
If no options are provided, all entries will be deleted. The `callback` function will be called with no arguments if the operation was successful or with an `WriteError` if it failed for any reason.
If no callback is passed, a promise is returned.
<a name="writeStreams"></a>

@@ -451,2 +469,3 @@

| `batch` | Batch has executed | `operations` (array) |
| `clear` | Entries were deleted | `options` (object) |
| `opening` | Underlying store is opening | - |

@@ -453,0 +472,0 @@ | `open` | Store has opened | - |

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