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

jsonlint

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonlint - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

lib/cli.js

@@ -53,7 +53,7 @@ #!/usr/bin/env node

var path = require('path').join(process.cwd(), options.file);
source = fs.readFileSync(path, "utf8");
source = parse(fs.readFileSync(path, "utf8"));
if (options.inplace) {
fs.writeSync(fs.openSync(path,'w+'), parse(source), 0, "utf8");
fs.writeSync(fs.openSync(path,'w+'), source, 0, "utf8");
} else {
sys.puts(parse(source));
sys.puts(source);
}

@@ -60,0 +60,0 @@ } else {

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

],
"version": "1.1.0",
"version": "1.1.1",
"preferGlobal": true,

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

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