ajv-cli
ajv-cli copied to clipboard
fix: correctly handle yml with duplicate keys
JS-YAML fails to parse YAML in to JS when duplicate keys exist due to JS object restrictions, this uses JSON parse option for JS-YAML to prevent JS-YAML from throwing out during safeload of the YML file.
Fixes #211
Ref: https://github.com/nodeca/js-yaml/issues/591