Socket
Socket
Sign inDemoInstall

jsonc-parser

Package Overview
Dependencies
1
Maintainers
11
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

16

lib/main.js

@@ -577,11 +577,11 @@ /*---------------------------------------------------------------------------------------------

var hasComma = false;
function setPreviousNode(value, offset, length, type) {
previousNodeInst.value = value;
previousNodeInst.offset = offset;
previousNodeInst.length = length;
previousNodeInst.type = type;
previousNodeInst.columnOffset = void 0;
previousNode = previousNodeInst;
}
try {
function setPreviousNode(value, offset, length, type) {
previousNodeInst.value = value;
previousNodeInst.offset = offset;
previousNodeInst.length = length;
previousNodeInst.type = type;
previousNodeInst.columnOffset = void 0;
previousNode = previousNodeInst;
}
visit(text, {

@@ -588,0 +588,0 @@ onObjectBegin: function (offset, length) {

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

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