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.0.0 to 3.0.1

6

dist/src/validator.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var json_schema_errors_1 = require("./checks/json-schema-errors");

@@ -13,3 +12,3 @@ var missing_transition_target_errors_1 = require("./checks/missing-transition-target-errors");

};
function validator(definition, opts) {
module.exports = function validator(definition, opts) {
var options = opts !== null && opts !== void 0 ? opts : DefaultOptions;

@@ -34,3 +33,2 @@ var errors = (0, json_schema_errors_1.jsonSchemaErrors)(definition, options);

};
}
exports.default = validator;
};
{
"name": "asl-validator",
"version": "3.0.0",
"version": "3.0.1",
"description": "Amazon States Language validator",
"main": "./dist/validator.js",
"main": "./dist/src/validator.js",
"bin": {

@@ -7,0 +7,0 @@ "asl-validator": "./dist/bin/asl-validator.js"

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

export default function validator(definition: StateMachine, opts?: ValidationOptions): {
export = function validator(definition: StateMachine, opts?: ValidationOptions): {
isValid: boolean;

@@ -39,2 +39,2 @@ errors: (ErrorObject | StateMachineError)[];

};
}
}
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