Socket
Socket
Sign inDemoInstall

@xliic/preserving-json-yaml-parser

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xliic/preserving-json-yaml-parser - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

5

lib/visit/yaml.js

@@ -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);

2

package.json
{
"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",

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