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

jsonc-parser

Package Overview
Dependencies
Maintainers
11
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonc-parser - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

3

lib/esm/impl/edit.js

@@ -11,3 +11,4 @@ /*---------------------------------------------------------------------------------------------

}
export function setProperty(text, path, value, formattingOptions, getInsertionIndex) {
export function setProperty(text, originalPath, value, formattingOptions, getInsertionIndex) {
var path = originalPath.slice();
var errors = [];

@@ -14,0 +15,0 @@ var root = parseTree(text, errors);

@@ -22,3 +22,4 @@ (function (factory) {

exports.removeProperty = removeProperty;
function setProperty(text, path, value, formattingOptions, getInsertionIndex) {
function setProperty(text, originalPath, value, formattingOptions, getInsertionIndex) {
var path = originalPath.slice();
var errors = [];

@@ -25,0 +26,0 @@ var root = parser_1.parseTree(text, errors);

{
"name": "jsonc-parser",
"version": "2.0.1",
"version": "2.0.2",
"description": "Scanner and parser for JSON with comments.",

@@ -5,0 +5,0 @@ "main": "./lib/umd/main.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