Skip to content

Commit 43ba6b7

Browse files
committed
Remove properties that were true since abstract-level@1
1 parent efb3b0d commit 43ba6b7

File tree

3 files changed

+0
-169
lines changed

3 files changed

+0
-169
lines changed

README.md

Lines changed: 0 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -134,40 +134,6 @@ Do iterators support [`seek(..)`](https://github.com/Level/abstract-level/#itera
134134

135135
</details>
136136

137-
#### `clear` (boolean)
138-
139-
Does the database support `db.clear()`? Always true since `abstract-level@1`.
140-
141-
<details>
142-
<summary>Support matrix</summary>
143-
144-
See also [Level/community#79](https://github.com/Level/community/issues/79).
145-
146-
| Module | Support | Optimized |
147-
| :------------------------------ | :------ | :-------- |
148-
| `abstract-level` and dependents | ✅ 1.0.0 | ✅ 1.0.0 |
149-
| `abstract-leveldown` | ✅ 6.1.0 | n/a |
150-
| `leveldown` | ✅ 5.2.0 | ✅ 6.0.3 |
151-
| `rocksdb` | ✅ 4.1.0 | ✅ 5.2.0 |
152-
| `memdown` | ✅ 5.0.0 | ✅ 6.1.1 |
153-
| `level-js` | ✅ 5.0.0 | ✅ 5.0.0 |
154-
| `encoding-down` | ✅ 6.2.0 | n/a |
155-
| `deferred-leveldown` | ✅ 5.2.0 | n/a |
156-
| `levelup` | ✅ 4.2.0 | n/a |
157-
| `level-packager` | ✅ 5.0.3 | n/a |
158-
| `level` | ✅ 6.0.0 | ✅ 7.0.1 |
159-
| `level-mem` | ✅ 5.0.1 | ✅ 6.0.1 |
160-
| `level-rocksdb` | ✅ 5.0.0 | ✅ 5.0.0 |
161-
| `subleveldown` | ✅ 4.2.1 | ✅ 4.2.1 |
162-
| `multileveldown` | ✅ 5.0.0 | ✅ 5.0.0 |
163-
| `level-party` | ✅ 5.1.0 | ✅ 5.1.0 |
164-
165-
</details>
166-
167-
### `status` (boolean)
168-
169-
Does the database have a [`status`](https://github.com/Level/abstract-level/#dbstatus) property? Always true since `abstract-level@1`.
170-
171137
### `deferredOpen` (boolean)
172138

173139
Can operations like `db.put()` be called without explicitly opening the db? Like so:
@@ -199,35 +165,6 @@ Does `db.open()` support these options?
199165

200166
</details>
201167

202-
### `promises` (boolean)
203-
204-
Do all database methods (that don't otherwise have a return value) support promises, in addition to callbacks? Such that, when a callback argument is omitted, a promise is returned:
205-
206-
```js
207-
db.put('key', 'value', callback)
208-
await db.put('key', 'value')
209-
```
210-
211-
Always true since `abstract-level@1`.
212-
213-
<details>
214-
<summary>Support matrix</summary>
215-
216-
| Module | Support |
217-
| :---------------------------------- | :------------------- |
218-
| `abstract-level` and dependents ||
219-
| `abstract-leveldown` and dependents | ❌ (except iterators) |
220-
| `levelup` ||
221-
| `level-packager` ||
222-
| `level` ||
223-
| `level-mem` ||
224-
| `level-rocksdb` ||
225-
| `subleveldown` ||
226-
| `multileveldown` ||
227-
| `level-party` ||
228-
229-
</details>
230-
231168
### `events` (object)
232169

233170
Which events does the database emit, as indicated by nested properties? For example:
@@ -314,49 +251,6 @@ _This matrix lists which encodings are supported as indicated by e.g. `db.suppor
314251

315252
</details>
316253

317-
### `getMany` (boolean)
318-
319-
Does the database support `db.getMany()`? Always true since `abstract-level@1`.
320-
321-
<details>
322-
<summary>Support matrix</summary>
323-
324-
| Module | Support |
325-
| :------------------------------ | :------ |
326-
| `abstract-level` and dependents | ✅ 1.0.0 |
327-
| `abstract-leveldown` | ✅ 7.2.0 |
328-
| `leveldown` | ✅ 6.1.0 |
329-
| `rocksdb` | ✅ 5.2.0 |
330-
| `memdown` ||
331-
| `level-js` | ✅ 6.1.0 |
332-
| `encoding-down` | ✅ 7.1.0 |
333-
| `deferred-leveldown` | ✅ 7.0.0 |
334-
| `levelup` | ✅ 5.1.0 |
335-
| `level` | ✅ 7.0.1 |
336-
| `level-mem` | ✅ 6.0.1 |
337-
| `level-rocksdb` | ✅ 5.0.0 |
338-
| `subleveldown` | ✅ 6.0.0 |
339-
| `multileveldown` | ✅ 5.0.0 |
340-
| `level-party` | ✅ 5.1.0 |
341-
342-
</details>
343-
344-
### `keyIterator` (boolean)
345-
346-
Does the database have a `keys([options])` method that returns a key iterator? Always true since `abstract-level@1`.
347-
348-
### `valueIterator` (boolean)
349-
350-
Does the database have a `values([options])` method that returns a key iterator? Always true since `abstract-level@1`.
351-
352-
### `iteratorNextv` (boolean)
353-
354-
Do iterators have a `nextv(size[, options][, callback])` method? Always true since `abstract-level@1`.
355-
356-
### `iteratorAll` (boolean)
357-
358-
Do iterators have a `all([options][, callback])` method? Always true since `abstract-level@1`.
359-
360254
### `additionalMethods` (object)
361255

362256
Declares support of additional methods, that are not part of the `abstract-level` interface. In the form of:

index.d.ts

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -32,47 +32,6 @@ export interface IManifest {
3232
*/
3333
seek: boolean
3434

35-
/**
36-
* Does the database support `db.clear()`? Always true since `abstract-level@1`.
37-
*/
38-
clear: boolean
39-
40-
/**
41-
* Does the database support `db.getMany()`? Always true since `abstract-level@1`.
42-
*/
43-
getMany: boolean
44-
45-
/**
46-
* Does the database have a `keys([options])` method that returns a key iterator?
47-
* Always true since `abstract-level@1`.
48-
*/
49-
keyIterator: boolean
50-
51-
/**
52-
* Does the database have a `values([options])` method that returns a key iterator?
53-
* Always true since `abstract-level@1`.
54-
*/
55-
valueIterator: boolean
56-
57-
/**
58-
* Do iterators have a `nextv(size[, options][, callback])` method? Always true since
59-
* `abstract-level@1`.
60-
*/
61-
iteratorNextv: boolean
62-
63-
/**
64-
* Do iterators have a `all([options][, callback])` method? Always true since
65-
* `abstract-level@1`.
66-
*/
67-
iteratorAll: boolean
68-
69-
/**
70-
* Does the database have a
71-
* [`status`](https://github.com/Level/abstract-level/#dbstatus) property? Always true
72-
* since `abstract-level@1`.
73-
*/
74-
status: boolean
75-
7635
/**
7736
* Does `db.open()` and the database constructor support this option?
7837
*/
@@ -95,20 +54,6 @@ export interface IManifest {
9554
*/
9655
deferredOpen: boolean
9756

98-
/**
99-
* Do all database methods (that don't otherwise have a return value) support promises,
100-
* in addition to callbacks? Such that, when a callback argument is omitted, a promise
101-
* is returned:
102-
*
103-
* ```js
104-
* db.put('key', 'value', callback)
105-
* await db.put('key', 'value')
106-
* ```
107-
*
108-
* Always true since `abstract-level@1`.
109-
*/
110-
promises: boolean
111-
11257
/**
11358
* Does database have the methods `createReadStream`, `createKeyStream` and
11459
* `createValueStream`, following the API documented in `levelup`? For `abstract-level`

index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,9 @@ exports.supports = function supports (...manifests) {
77
snapshots: manifest.snapshots || false,
88
permanence: manifest.permanence || false,
99
seek: manifest.seek || false,
10-
clear: manifest.clear || false,
11-
getMany: manifest.getMany || false,
12-
keyIterator: manifest.keyIterator || false,
13-
valueIterator: manifest.valueIterator || false,
14-
iteratorNextv: manifest.iteratorNextv || false,
15-
iteratorAll: manifest.iteratorAll || false,
16-
status: manifest.status || false,
1710
createIfMissing: manifest.createIfMissing || false,
1811
errorIfExists: manifest.errorIfExists || false,
1912
deferredOpen: manifest.deferredOpen || false,
20-
promises: manifest.promises || false,
2113
streams: manifest.streams || false,
2214
encodings: Object.assign({}, manifest.encodings),
2315
events: Object.assign({}, manifest.events),

0 commit comments

Comments
 (0)