Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 4a0d645

Browse files
greenkeeper[bot]vweevers
authored andcommitted
Add manifest (Level/community#83) (#183)
* Upgrade abstract-leveldown from ~6.1.1 to ~6.2.1 * Add manifest
1 parent 9a04b3b commit 4a0d645

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Diff for: index.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ var DEFAULT_PREFIX = 'level-js-'
1818

1919
function Level (location, opts) {
2020
if (!(this instanceof Level)) return new Level(location, opts)
21-
AbstractLevelDOWN.call(this)
21+
22+
AbstractLevelDOWN.call(this, {
23+
bufferKeys: support.bufferKeys(indexedDB),
24+
snapshots: true,
25+
permanence: true,
26+
clear: true
27+
})
28+
2229
opts = opts || {}
2330

2431
if (typeof location !== 'string') {
@@ -28,12 +35,6 @@ function Level (location, opts) {
2835
this.location = location
2936
this.prefix = opts.prefix || DEFAULT_PREFIX
3037
this.version = parseInt(opts.version || 1, 10)
31-
32-
// Experimental, do not externally rely on this object yet.
33-
// See Level/community#42.
34-
this.supports = {
35-
bufferKeys: support.bufferKeys(indexedDB)
36-
}
3738
}
3839

3940
inherits(Level, AbstractLevelDOWN)

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"./util/immediate.js": "./util/immediate-browser.js"
2727
},
2828
"dependencies": {
29-
"abstract-leveldown": "~6.1.1",
29+
"abstract-leveldown": "~6.2.1",
3030
"immediate": "~3.2.3",
3131
"inherits": "^2.0.3",
3232
"ltgt": "^2.1.2"

0 commit comments

Comments
 (0)