uniforms-bridge-json-schema
Advanced tools
Comparing version 3.7.0 to 3.8.0
@@ -114,3 +114,3 @@ "use strict"; | ||
fieldInvariant(name, !!definition.properties); | ||
definition = definition.properties[next]; | ||
definition = definition.properties[uniforms_1.joinName.unescape(next)]; | ||
fieldInvariant(name, !!definition); | ||
@@ -227,3 +227,3 @@ } | ||
if (type === 'object' && properties) { | ||
return Object.keys(properties); | ||
return Object.keys(properties).map(uniforms_1.joinName.escape); | ||
} | ||
@@ -230,0 +230,0 @@ return []; |
@@ -112,3 +112,3 @@ import { __rest } from "tslib"; | ||
fieldInvariant(name, !!definition.properties); | ||
definition = definition.properties[next]; | ||
definition = definition.properties[joinName.unescape(next)]; | ||
fieldInvariant(name, !!definition); | ||
@@ -225,3 +225,3 @@ } | ||
if (type === 'object' && properties) { | ||
return Object.keys(properties); | ||
return Object.keys(properties).map(joinName.escape); | ||
} | ||
@@ -228,0 +228,0 @@ return []; |
{ | ||
"name": "uniforms-bridge-json-schema", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"license": "MIT", | ||
@@ -39,5 +39,5 @@ "main": "./cjs/index.js", | ||
"tslib": "^2.2.0", | ||
"uniforms": "^3.7.0" | ||
"uniforms": "^3.8.0" | ||
}, | ||
"gitHead": "80b6a389a1f6271e844bf350a2b6f22592a7fcf6" | ||
"gitHead": "dbd09e1ab889be7814894e47e3ee3840947d5c7b" | ||
} |
@@ -153,3 +153,3 @@ import invariant from 'invariant'; | ||
fieldInvariant(name, !!definition.properties); | ||
definition = definition.properties[next]; | ||
definition = definition.properties[joinName.unescape(next)]; | ||
fieldInvariant(name, !!definition); | ||
@@ -300,3 +300,3 @@ } else { | ||
if (type === 'object' && properties) { | ||
return Object.keys(properties); | ||
return Object.keys(properties).map(joinName.escape); | ||
} | ||
@@ -303,0 +303,0 @@ |
36456
Updateduniforms@^3.8.0