Comparing version 0.0.4 to 0.0.5
@@ -5,3 +5,3 @@ var _ = require('lodash'); | ||
function options = { | ||
var globalOptions = { | ||
delimiter: '+' | ||
@@ -11,3 +11,3 @@ }; | ||
function expand(flatData, config) { | ||
var localOptions = _.extend(config || {}, options); | ||
var localOptions = _.extend(globalOptions, config || {}); | ||
var translated = []; | ||
@@ -99,3 +99,3 @@ | ||
exports.set = function(config) { | ||
_.extend(options, config); | ||
_.extend(globalOptions, config); | ||
}; |
{ | ||
"name": "treeize", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Converts tabular row data (as from SQL joins, flat JSON, etc) to deep tree graphs based on simple column naming conventions.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/treeize.js", |
treeize | ||
======= | ||
_v0.0.4_ | ||
Converts row data (in JSON/associative array format) to object/tree structure based on column naming conventions. | ||
@@ -7,0 +5,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
7428
94