asl-validator
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -31,7 +31,7 @@ #!/usr/bin/env node | ||
program | ||
.version(version, '--version') | ||
.version(version, '-v, --version') | ||
.description('Amazon States Language validator') | ||
.option('--json-definition <jsonDefinition>', 'JSON definition') | ||
.option('--json-path <jsonPath>', 'JSON path') | ||
.option('--silent', 'Silent mode') | ||
.option('--silent', 'silent mode') | ||
.parse(process.argv); | ||
@@ -38,0 +38,0 @@ |
{ | ||
"name": "asl-validator", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Amazon States Language validator", | ||
@@ -34,4 +34,3 @@ "main": "./src/validator.js", | ||
"ajv": "^5.3.0", | ||
"commander": "^2.11.0", | ||
"jsonpath": "^1.0.0" | ||
"commander": "^2.11.0" | ||
}, | ||
@@ -38,0 +37,0 @@ "devDependencies": { |
@@ -19,3 +19,3 @@ # asl-validator | ||
```bash | ||
$ asl-validator.js --help | ||
$ asl-validator --help | ||
@@ -29,6 +29,6 @@ Usage: asl-validator [options] | ||
--version output the version number | ||
-v, --version output the version number | ||
--json-definition <jsonDefinition> JSON definition | ||
--json-path <jsonPath> JSON path | ||
--silent Silent mode | ||
--silent silent mode | ||
-h, --help output usage information | ||
@@ -64,4 +64,4 @@ ``` | ||
## See also | ||
- [ASL specifications](https://states-language.net) | ||
- [ASL specifications](https://states-language.net/spec.html) | ||
- [ASL documentation on AWS website](http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html) | ||
- [Blog post](https://www.tbray.org/ongoing/When/201x/2016/12/01/J2119-Validator) from the creator of ASL explaining the pros and cons of a JSON schema based validator. An RFC based looks really interesting, but still the JSON schema approach seems more flexible and evolutive. |
@@ -32,2 +32,19 @@ { | ||
} | ||
}, | ||
"Catch": { | ||
"type": "array", | ||
"items": { | ||
"types": "object", | ||
"properties": { | ||
"ErrorEquals": { | ||
"type": "array", | ||
"items": { | ||
"types": "string" | ||
} | ||
}, | ||
"Next": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
@@ -34,0 +51,0 @@ }, |
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
25628
2
26
954
- Removedjsonpath@^1.0.0
- Removeddeep-is@0.1.4(transitive)
- Removedescodegen@1.14.3(transitive)
- Removedesprima@1.2.24.0.1(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedjsonpath@1.1.1(transitive)
- Removedlevn@0.3.0(transitive)
- Removedoptionator@0.8.3(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedstatic-eval@2.0.2(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedunderscore@1.12.1(transitive)
- Removedword-wrap@1.2.5(transitive)