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

asl-validator

Package Overview
Dependencies
Maintainers
2
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asl-validator - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

dist/src/checks/mapChecks.js

12

dist/src/schemas/map.json

@@ -161,16 +161,4 @@ {

},
"oneOf": [
{
"required": [
"ItemProcessor"
]
},
{
"required": [
"Iterator"
]
}
],
"required": ["Type"],
"additionalProperties": false
}

2

dist/src/types.js

@@ -18,2 +18,4 @@ "use strict";

StateMachineErrorCode["TaskHeartbeatError"] = "TASK_HEARTBEAT";
StateMachineErrorCode["MapItemProcessorError"] = "MAP_ITEM_PROCESSOR";
StateMachineErrorCode["MapItemSelectorError"] = "MAP_ITEM_SELECTOR";
})(StateMachineErrorCode = exports.StateMachineErrorCode || (exports.StateMachineErrorCode = {}));

@@ -11,2 +11,3 @@ "use strict";

var taskChecks_1 = require("./checks/taskChecks");
var mapChecks_1 = require("./checks/mapChecks");
var DefaultOptions = {

@@ -28,2 +29,3 @@ checkPaths: true,

errors.push.apply(errors, (0, taskChecks_1.taskChecks)(definition, options));
errors.push.apply(errors, (0, mapChecks_1.mapChecks)(definition, options));
}

@@ -30,0 +32,0 @@ return {

{
"name": "asl-validator",
"version": "3.4.0",
"version": "3.5.0",
"description": "Amazon States Language validator",

@@ -5,0 +5,0 @@ "main": "./dist/src/validator.js",

@@ -161,16 +161,4 @@ {

},
"oneOf": [
{
"required": [
"ItemProcessor"
]
},
{
"required": [
"Iterator"
]
}
],
"required": ["Type"],
"additionalProperties": false
}

@@ -19,2 +19,4 @@ export type State = Record<string, unknown>;

TaskHeartbeatError = 'TASK_HEARTBEAT',
MapItemProcessorError = 'MAP_ITEM_PROCESSOR',
MapItemSelectorError = 'MAP_ITEM_SELECTOR'
}

@@ -21,0 +23,0 @@ export type StateMachineError = {

@@ -13,2 +13,3 @@ import {ErrorObject} from 'ajv';

import {taskChecks} from "./checks/taskChecks";
import {mapChecks} from "./checks/mapChecks";

@@ -36,2 +37,3 @@ const DefaultOptions: ValidationOptions = {

errors.push(...taskChecks(definition, options));
errors.push(...mapChecks(definition, options));
}

@@ -38,0 +40,0 @@

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