chimpanzee
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -27,3 +27,3 @@ "use strict"; | ||
const newSchema = _lazily.Seq.of(Object.keys(schema)).reduce(function (acc, key) { | ||
return schema[key] instanceof _schema2.default ? params.name === schema[key].params.selector || (params.name === "default" || typeof params.name === "undefined") && (schema[key].params.selector === "default" || typeof schema[key].params.selector === "undefined") ? _extends({}, acc, { [key]: schema[key] }) : acc : typeof schema[key] === "object" ? _extends({}, acc, { [key]: getSchema(schema[key], params.name) }) : acc; | ||
return schema[key] instanceof _schema2.default ? params.name === schema[key].params.selector || (params.name === "default" || typeof params.name === "undefined") && (schema[key].params.selector === "default" || typeof schema[key].params.selector === "undefined") ? _extends({}, acc, { [key]: schema[key] }) : acc : typeof schema[key] === "object" ? _extends({}, acc, { [key]: getSchema(schema[key], params) }) : acc; | ||
}, {}); | ||
@@ -30,0 +30,0 @@ return (0, _traverse.traverse)(newSchema, params); |
{ | ||
"name": "chimpanzee", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"author": "Jeswin<jeswinpk@agilehead.com>", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
136091