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

jsonlint-mod

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonlint-mod - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

1

lib/jsonlint.js

@@ -424,3 +424,2 @@ /* Jison generated parser */

} catch(e) {
console.error(e);
if(/Duplicate key|Bad string|Unexpected/.test(e.message)) {

@@ -427,0 +426,0 @@ var lineNumber = input.substring(0, e.at).split('\n').length;

2

package.json

@@ -11,3 +11,3 @@ {

],
"version": "1.7.2",
"version": "1.7.3",
"preferGlobal": true,

@@ -14,0 +14,0 @@ "repository": {

JSON Lint [![npm version](https://badge.fury.io/js/jsonlint-mod.svg)](https://badge.fury.io/js/jsonlint-mod)
=========
The fork is modified version of [jsonlint](http://zaach.github.com/jsonlint/) with the following features:
The fork is a modified version of [jsonlint](http://zaach.github.com/jsonlint/) enhanced by the original Douglas Crockford's JSON parser which brought the following features:
- Handle hidden chars

@@ -12,2 +13,3 @@ - Handle key duplicates

## Command line interface
Install jsonlint with npm to use the command line interface:

@@ -14,0 +16,0 @@

@@ -784,3 +784,2 @@ var jsonlint = (function(){var require=true,module=false;var exports={};/*

} catch(e) {
console.error(e);
if(/Duplicate key|Bad string|Unexpected/.test(e.message)) {

@@ -787,0 +786,0 @@ var lineNumber = input.substring(0, e.at).split('\n').length;

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