@zargu/couchdb-designer
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -71,8 +71,9 @@ "use strict"; | ||
for (let row of group) { | ||
keys.push([row.key, row._id]); | ||
keys.push([row.id, row.key]); | ||
values.push(row.value); | ||
} | ||
console.log(keys); | ||
return { | ||
key: groupKey(keys[0][0], options.group_level), | ||
key: groupKey(keys[0][1], options.group_level), | ||
value: reduce(keys, values, false) | ||
@@ -96,3 +97,3 @@ }; | ||
for (let row of viewResult.rows) { | ||
keys.push([row._id, row.key]); | ||
keys.push([row.id, row.key]); | ||
values.push(row.value); | ||
@@ -99,0 +100,0 @@ } |
{ | ||
"name": "@zargu/couchdb-designer", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Create and testing couchdb design document form directory structure.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -51,6 +51,8 @@ import {getTestContext} from '../../../../build/testing/testEnvironment'; | ||
for(let row of group){ | ||
keys.push([row.key, row._id]); | ||
keys.push([row.id, row.key]); | ||
values.push(row.value); | ||
} | ||
return {key:groupKey(keys[0][0],options.group_level),value:reduce(keys,values,false)} | ||
console.log(keys); | ||
return {key:groupKey(keys[0][1],options.group_level),value:reduce(keys,values,false)} | ||
}); | ||
@@ -66,3 +68,3 @@ let rereduceRows = reduceRows.map(row => { | ||
for(let row of viewResult.rows){ | ||
keys.push([row._id, row.key]); | ||
keys.push([row.id, row.key]); | ||
values.push(row.value); | ||
@@ -69,0 +71,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
183097
3690
0