Socket
Socket
Sign inDemoInstall

@xliic/preserving-json-yaml-parser

Package Overview
Dependencies
2
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.1 to 1.7.2

4

lib/visit/json.js

@@ -9,2 +9,6 @@ "use strict";

function visitJson(parent, key, node, visitor) {
if (node === undefined) {
visitor.onValue(parent, key, null, undefined, { value: { start: 0, end: 0 } });
return;
}
const location = { value: { start: node.offset, end: node.offset + node.length } };

@@ -11,0 +15,0 @@ if (parent.type === "property") {

2

package.json
{
"name": "@xliic/preserving-json-yaml-parser",
"version": "1.7.1",
"version": "1.7.2",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc