amazon-states-language-service
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -29,5 +29,5 @@ "use strict"; | ||
const valueNode = parametersPropNode.valueNode; | ||
if (astUtilityFunctions_1.isObjectNode(valueNode)) { | ||
if (valueNode && astUtilityFunctions_1.isObjectNode(valueNode)) { | ||
valueNode.properties.forEach(prop => { | ||
if (prop.keyNode.value.endsWith('.$')) { | ||
if (prop.valueNode && prop.keyNode.value.endsWith('.$')) { | ||
const propValue = prop.valueNode.value; | ||
@@ -40,3 +40,3 @@ if (typeof propValue !== 'string' || !propValue.startsWith('$')) { | ||
} | ||
else if (astUtilityFunctions_1.isObjectNode(prop.valueNode)) { | ||
else if (prop.valueNode && astUtilityFunctions_1.isObjectNode(prop.valueNode)) { | ||
diagnostics = diagnostics.concat(validateParameters(prop, document)); | ||
@@ -43,0 +43,0 @@ } |
@@ -15,3 +15,3 @@ { | ||
"license": "MIT", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"publisher": "aws", | ||
@@ -18,0 +18,0 @@ "categories": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
168579
1