Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fruitdown is not compatible with the latest version of abstract-leveldown #14

Open
dfreire opened this issue Jan 6, 2018 · 3 comments

Comments

@dfreire
Copy link

dfreire commented Jan 6, 2018

const leveldown = require('fruitdown')
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))

@nolanlawson
Copy link
Owner

This package has limited value now that Apple has fixed their IDB implementation. It should probably just be deprecated.

@humpedli
Copy link

humpedli commented Feb 6, 2018

Apple has fixed their IDB implementation

no, it's still not working in WKWebview

@guillaumejenkins
Copy link

For what it's worth we have the same exception in WKWebview when using PouchDB with pouch-adapter-fruitdown. FruitDOWN would still be very useful for WKWebview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants