Skip to content
This repository was archived by the owner on Jul 29, 2021. It is now read-only.

Commit 84e55a3

Browse files
v1.3.5; moved to github
1 parent cff6b86 commit 84e55a3

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ wrapperBuilders.bulkDocs = function (db, bulkDocs, handlers) {
178178
return function (docs, options, callback) {
179179
var args = parseBaseArgs(db, this, options, callback);
180180
//support the deprecated signature.
181+
if ('new_edits' in docs) {
182+
args.options.new_edits = docs.new_edits;
183+
}
181184
args.docs = docs.docs || docs;
182185
return callHandlers(handlers, args, function () {
183186
return bulkDocs.call(this, args.docs, args.options);

package.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
{
22
"name": "pouchdb-wrappers",
3-
"version": "1.3.3",
3+
"version": "1.3.5",
44
"main": "index.js",
55
"description": "Makes wrapping PouchDB functions a lot easier.",
6-
"repository": {
7-
"type": "bzr",
8-
"url": "http://bazaar.launchpad.net/~marten-de-vries/python-pouchdb/0.x"
9-
},
10-
"bugs": "https://bugs.launchpad.net/python-pouchdb",
6+
"repository": "pouchdb/pouchdb-wrappers",
117
"keywords": [
128
"couchdb",
139
"pouchdb",
@@ -21,13 +17,5 @@
2117
"author": "Marten de Vries",
2218
"dependencies": {
2319
"promise-nodify": "^1.0.1"
24-
},
25-
"devDependencies": {
26-
"es3ify": "^0.1.3"
27-
},
28-
"browserify": {
29-
"transform": [
30-
"es3ify"
31-
]
3220
}
3321
}

0 commit comments

Comments
 (0)