react-bsonschema-form
Advanced tools
Comparing version 0.41.11 to 0.41.12
@@ -304,4 +304,4 @@ "use strict"; | ||
function isMeteorEJSONType(v) { | ||
return v && typeof v.typeName === 'function'; | ||
function shouldSkip(v) { | ||
return v && (typeof v.typeName === 'function' || v instanceof Date); | ||
} | ||
@@ -313,6 +313,6 @@ | ||
// NOTE: do not merge bson object types | ||
if (isMeteorEJSONType(obj1)) { | ||
if (shouldSkip(obj1)) { | ||
return obj1; | ||
} | ||
if (isMeteorEJSONType(obj2)) { | ||
if (shouldSkip(obj2)) { | ||
return obj2; | ||
@@ -319,0 +319,0 @@ } |
{ | ||
"name": "react-bsonschema-form", | ||
"version": "0.41.11", | ||
"version": "0.41.12", | ||
"description": "A simple React component capable of building HTML forms out of a JSON schema.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
3885517