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.1 to 1.7.2

5

package.json

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

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

@@ -39,3 +39,4 @@ "repository": {

"test": "node test/all-tests.js",
"bundle": "node scripts/bundle > web/jsonlint.js"
"bundle": "node scripts/bundle > web/jsonlint.js",
"prepublish": "npm run bundle"
},

@@ -42,0 +43,0 @@ "homepage": "http://jsonlint.com",

4

web/jsonlint.js

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

} catch(e) {
console.log(e.message);
if(/Duplicate key|Bad string/.test(e.message)) {
console.error(e);
if(/Duplicate key|Bad string|Unexpected/.test(e.message)) {
var lineNumber = input.substring(0, e.at).split('\n').length;

@@ -788,0 +788,0 @@ throw SyntaxError(e.message + ' on line ' + lineNumber);

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