Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amazon-states-language-service

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-states-language-service - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

6

out/validation/validateStates.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc