format-json
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3753