asl-validator
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -30,3 +30,3 @@ "use strict"; | ||
keys[keyPostEval] = current ? current + 1 : 1; | ||
if (typeof parent[key] === "object") { | ||
if (!!parent[key] && typeof parent[key] === "object") { | ||
inspectKeys(parent[key]); | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "asl-validator", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "Amazon States Language validator", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/validator.js", |
@@ -29,3 +29,3 @@ import {JSONPath} from 'jsonpath-plus'; | ||
keys[keyPostEval] = current ? current + 1 : 1; | ||
if (typeof parent[key] === "object") { | ||
if (!!parent[key] && typeof parent[key] === "object") { | ||
inspectKeys(parent[key] as Record<string, unknown>); | ||
@@ -32,0 +32,0 @@ } |
105477