(pouchdb/pouchdb#2409) - remove circular dep