restruct-data
Advanced tools
Comparing version 0.2.9 to 0.2.10
{ | ||
"name": "restruct-data", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "ERROR: No README data found!", | ||
@@ -5,0 +5,0 @@ "main": "restruct.js", |
@@ -19,2 +19,3 @@ | ||
restruct.indexKey = '$index'; | ||
restruct.parentKey = '$parent'; | ||
restruct.prototype.flatten = function (result, parent, key) { | ||
@@ -121,2 +122,3 @@ // Go through entire result and flatten dicts that contain | ||
rows[i][restruct.indexKey] = parseInt(i); | ||
rows[i][restruct.parentKey] = rows; | ||
this.extend(rows[i], struct, result); | ||
@@ -123,0 +125,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
7352
278