@xliic/preserving-json-yaml-parser
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -30,2 +30,7 @@ "use strict"; | ||
} | ||
else if (node.kind === yaml_language_server_parser_1.Kind.MAPPING) { | ||
// this should not happen normally, but node.kind === Kind.MAPPING can be passed | ||
// as root, so we just walk it's contents | ||
visitYaml(parent, key, node.value, visitor); | ||
} | ||
else if (node.kind === yaml_language_server_parser_1.Kind.SCALAR) { | ||
@@ -32,0 +37,0 @@ const [type, value] = parseYamlScalar(node); |
{ | ||
"name": "@xliic/preserving-json-yaml-parser", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "YAML/JSON parser and serializer that preserves formatting of the original numerical values (i.e. 1.0 vs 1) and handles integers bigger than MAX_SAFE_INTEGER", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
60725
677