@wmfs/j2119
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -13,3 +13,3 @@ class NodeValidator { | ||
validateNode (node, path, roles, problems) { | ||
if (typeof node !== 'object') return | ||
if ((node === null) || (typeof node !== 'object')) return | ||
@@ -16,0 +16,0 @@ // may have more roles based on field presence/value etc |
{ | ||
"name": "@wmfs/j2119", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "A general-purpose validator generator that uses RFC2119-style assertions as input.", | ||
@@ -5,0 +5,0 @@ "author": "West Midlands Fire Service", |
Sorry, the diff of this file is not supported yet
132088