abstract-level
Advanced tools
Comparing version 1.0.0 to 1.0.1
# Changelog | ||
## [1.0.1] - 2022-02-06 | ||
### Fixed | ||
- Add `highWaterMarkBytes` option to tests where it matters ([`6b25a91`](https://github.com/Level/abstract-level/commit/6b25a91)) (Vincent Weevers) | ||
- Clarify the meaning of `db.status` ([`2e90b05`](https://github.com/Level/abstract-level/commit/2e90b05)) (Vincent Weevers) | ||
- Use `new` in README examples ([`379503e`](https://github.com/Level/abstract-level/commit/379503e)) (Vincent Weevers). | ||
## [1.0.0] - 2022-01-30 | ||
@@ -7,2 +15,4 @@ | ||
[1.0.1]: https://github.com/Level/abstract-level/releases/tag/v1.0.1 | ||
[1.0.0]: https://github.com/Level/abstract-level/releases/tag/v1.0.0 |
{ | ||
"name": "abstract-level", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Abstract class for a lexicographically sorted key-value database", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -20,5 +20,6 @@ 'use strict' | ||
// For this test it is important that we don't read eagerly. | ||
// NOTE: highWaterMark is not an abstract option atm, but | ||
// it is supported by leveldown, rocksdb and others. | ||
const it = db.iterator({ highWaterMark: 0 }) | ||
// NOTE: highWaterMarkBytes is not an abstract option, but | ||
// it is supported by classic-level and others. Also set the | ||
// old & equivalent leveldown highWaterMark option for compat. | ||
const it = db.iterator({ highWaterMarkBytes: 0, highWaterMark: 0 }) | ||
@@ -25,0 +26,0 @@ run(db, function (err) { |
@@ -15,5 +15,6 @@ 'use strict' | ||
// For this test it is important that we don't read eagerly. | ||
// NOTE: highWaterMark is not an abstract option atm, but | ||
// it is supported by leveldown, rocksdb and others. | ||
const it = db.iterator({ highWaterMark: 0 }) | ||
// NOTE: highWaterMarkBytes is not an abstract option, but | ||
// it is supported by classic-level and others. Also set the | ||
// old & equivalent leveldown highWaterMark option for compat. | ||
const it = db.iterator({ highWaterMarkBytes: 0, highWaterMark: 0 }) | ||
@@ -20,0 +21,0 @@ run(t, db, it, function end (err) { |
@@ -46,3 +46,3 @@ import { IManifest } from 'level-supports' | ||
/** | ||
* A read-only string property that is one of: | ||
* Read-only getter that returns a string reflecting the current state of the database: | ||
* | ||
@@ -49,0 +49,0 @@ * - `'opening'` - waiting for the database to be opened |
Sorry, the diff of this file is too big to display
485139
10365
1412