This is an automated email from the ASF dual-hosted git repository.
glynnbird pushed a change to branch esm
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git
from 03853c0 a nicer way to load the package.json to get pkg.name &
pkg.version
add ecfa7ae simplify Nano a bit. Removed some old code and made "relax" a
simpler function. At the same time, i have made the ...AsStream functions
"async" as they were a bit odd in that regard, returning synchronously.
No new revisions were added by this update.
Summary of changes:
README.md | 30 +-
lib/changesreader.js | 27 +-
lib/nano.d.ts | 24 +-
lib/nano.js | 543 +++++++++----------------------
test/attachment.getAsStream.test.js | 34 +-
test/database.changesAsStream.test.js | 49 ++-
test/database.listAsStream.test.js | 22 +-
test/design.findAsStream.test.js | 24 +-
test/design.searchAsStream.test.js | 22 +-
test/design.viewAsStream.test.js | 24 +-
test/design.viewWithListAsStream.test.js | 22 +-
test/document.listAsStream.test.js | 48 ++-
test/nano.auth.test.js | 10 +-
test/nano.request.test.js | 7 +-
test/partition.findAsStream.test.js | 24 +-
test/partition.listAsStream.test.js | 48 ++-
test/partition.searchAsStream.test.js | 24 +-
test/partition.viewAsStream.test.js | 24 +-
18 files changed, 357 insertions(+), 649 deletions(-)