Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc