babel / kneden

Transpile ES2017 async/await to vanilla ES6 Promise chains: a Babel plugin
ISC License
514 stars 41 forks source link

Replace regenerator in pouchdb-plugin-helper #9

Closed marten-de-vries closed 8 years ago

marten-de-vries commented 8 years ago

Would be nice. Depends on #8.

marten-de-vries commented 8 years ago

The current rewrite branch supports this, except for errors in running the test suites of pouchdb-auth and pouchdb-validation. The first should be an easy fix (just implementing try/catch/finally properly), the second is vague.

marten-de-vries commented 8 years ago

The obvious error is fixed, but pouchdb-auth & -validation still fail. Needs more research.

marten-de-vries commented 8 years ago

pouchdb-auth was fixed lately. No idea what exactly did the trick, but it works now.

marten-de-vries commented 8 years ago

pouchdb-validation was a bug in the ported test suite that regenerator didn't hit, but I think should be hit according to the spec. Anyway, fixed it there.