This is an automated email from the ASF dual-hosted git repository.
glynnbird pushed a change to branch issue98
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git.
from e537418 migration guide
new dc7687d swap out var for const/let in the core code and tests
new 6eac47d refactor responseHandler to make parameter names more readable
new 2e84992 add default parameter value in responseHandler
new 2d3b22c return headers for headDoc on an error
new 11c6168 added central getCallback function to remove code duplication
new 214a0da var--->const in the README
new 166c23c modernise JS in migration guide
new abab887 jshint fixes
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 58 ++--
lib/logger.js | 8 +-
lib/nano.js | 379 ++++++++++-------------
migration_6_to_7.md | 11 +-
tests/helpers/index.js | 16 +-
tests/helpers/integration.js | 58 ++--
tests/helpers/unit.js | 24 +-
tests/integration/attachment/destroy.js | 12 +-
tests/integration/attachment/get.js | 12 +-
tests/integration/attachment/insert.js | 10 +-
tests/integration/attachment/pipe.js | 28 +-
tests/integration/attachment/update.js | 17 +-
tests/integration/database/changes.js | 14 +-
tests/integration/database/compact.js | 12 +-
tests/integration/database/create-and-destroy.js | 12 +-
tests/integration/database/follow.js | 12 +-
tests/integration/database/get.js | 14 +-
tests/integration/database/list.js | 12 +-
tests/integration/database/replicate.js | 20 +-
tests/integration/database/replicator.js | 18 +-
tests/integration/design/atomic.js | 20 +-
tests/integration/design/compact.js | 36 +--
tests/integration/design/list.js | 10 +-
tests/integration/design/multiple.js | 14 +-
tests/integration/design/query.js | 14 +-
tests/integration/design/search.js | 14 +-
tests/integration/design/show.js | 12 +-
tests/integration/document/bulk.js | 10 +-
tests/integration/document/copy.js | 14 +-
tests/integration/document/create_index.js | 10 +-
tests/integration/document/destroy.js | 14 +-
tests/integration/document/fetch.js | 14 +-
tests/integration/document/fetch_revs.js | 14 +-
tests/integration/document/find.js | 12 +-
tests/integration/document/get.js | 10 +-
tests/integration/document/head.js | 10 +-
tests/integration/document/insert.js | 18 +-
tests/integration/document/list.js | 24 +-
tests/integration/document/update.js | 15 +-
tests/integration/multipart/get.js | 16 +-
tests/integration/multipart/insert.js | 20 +-
tests/integration/shared/config.js | 30 +-
tests/integration/shared/cookie.js | 18 +-
tests/integration/shared/error.js | 14 +-
tests/integration/shared/headers.js | 10 +-
tests/integration/shared/log.js | 11 +-
tests/integration/util/uuid.js | 12 +-
tests/intercept/design/search.js | 40 +--
tests/unit/attachment/destroy.js | 2 +-
tests/unit/attachment/get.js | 2 +-
tests/unit/attachment/insert.js | 6 +-
tests/unit/database/changes.js | 2 +-
tests/unit/database/compact.js | 2 +-
tests/unit/database/create.js | 2 +-
tests/unit/database/destroy.js | 2 +-
tests/unit/database/follow.js | 2 +-
tests/unit/database/get.js | 2 +-
tests/unit/database/list.js | 2 +-
tests/unit/database/replicate.js | 2 +-
tests/unit/database/replicator.js | 2 +-
tests/unit/database/updates.js | 2 +-
tests/unit/design/atomic.js | 2 +-
tests/unit/design/compact.js | 2 +-
tests/unit/design/find.js | 2 +-
tests/unit/design/list.js | 2 +-
tests/unit/design/search.js | 2 +-
tests/unit/design/show.js | 2 +-
tests/unit/design/spatial.js | 2 +-
tests/unit/design/view.js | 2 +-
tests/unit/document/bulk.js | 2 +-
tests/unit/document/copy.js | 4 +-
tests/unit/document/get.js | 10 +-
tests/unit/multipart/get.js | 2 +-
tests/unit/multipart/insert.js | 2 +-
tests/unit/shared/error.js | 16 +-
tests/unit/shared/follow-updates.js | 2 +-
tests/unit/shared/jar.js | 8 +-
77 files changed, 599 insertions(+), 696 deletions(-)