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

level-js is not compatible with the latest version of abstract-leveldown #59

Closed
dfreire opened this issue Jan 6, 2018 · 0 comments · Fixed by #83
Closed

level-js is not compatible with the latest version of abstract-leveldown #59

dfreire opened this issue Jan 6, 2018 · 0 comments · Fixed by #83

Comments

@dfreire
Copy link

dfreire commented Jan 6, 2018

const leveldown = require('level-js')
const levelup = require('levelup');
const db = leveldown('my-database-name')
levelup(db);

Causes the assertion error:

".status required, old abstract-leveldown"

The status property is documented in the README of:
https://github.com/Level/abstract-leveldown
AbstractLevelDOWN#status

(As a workaround I'm setting db.status = 'unknown' before doing levelup(db))

@vweevers vweevers mentioned this issue May 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant