asl-validator
Advanced tools
Comparing version 3.0.0 to 3.0.1
"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)[]; | ||
}; | ||
} | ||
} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
105039
2744