New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

json-fix

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-fix - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

5

index.js
#!/usr/bin/env node
var fs = require("fs");
var jsonic = require("jsonic");
var program = require("commander");

@@ -23,5 +24,5 @@ var packagejson = require("./package.json");

var str = fs.readFileSync(path).toString();
eval("var js = " + str);
var json = JSON.stringify(js, null, spaces);
var js = jsonic(str);
var json = JSON.stringify(js, null, spaces) + "\n";
fs.writeFileSync(path, json);
}
{
"name": "json-fix",
"version": "0.2.0",
"version": "0.3.0",
"description": "",

@@ -23,4 +23,5 @@ "main": "index.js",

"dependencies": {
"commander": "^2.12.2"
"commander": "^2.12.2",
"jsonic": "^0.3.0"
}
}
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