Socket
Socket
Sign inDemoInstall

format-json

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

format-json.js

@@ -13,3 +13,3 @@ #! /usr/bin/env node

try {
process.stdout.write(json.diffy(JSON.parse(raw)));
console.log(json.diffy(JSON.parse(raw)));
} catch(e) { return 1; }

@@ -16,0 +16,0 @@ return 0;

@@ -12,3 +12,3 @@ module.exports = (function() {

.replace(tailOp, leadOp)
.replace(cuddle, '$1') + '\n';
.replace(cuddle, '$1');
}

@@ -15,0 +15,0 @@ }

{ "name": "format-json"
, "version": "1.0.1"
, "version": "1.0.2"
, "author": "Johan Sundström <oyasumi@gmail.com>"

@@ -4,0 +4,0 @@ , "description": "A JSON formatter module for various text/plain serialization styles"

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