cson-parser
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,6 @@ | ||
1.1.1 | ||
----- | ||
* Support key with empty object - @charlierudolph | ||
https://github.com/groupon/cson-parser/pull/42 | ||
1.1.0 | ||
@@ -2,0 +7,0 @@ ----- |
@@ -114,3 +114,3 @@ // Generated by CoffeeScript 1.9.0 | ||
if (indent) { | ||
serializedValue = isObject(value) ? "\n" + (indentLines(serializedValue)) : " " + serializedValue; | ||
serializedValue = isObject(value) && Object.keys(value).length > 0 ? "\n" + (indentLines(serializedValue)) : " " + serializedValue; | ||
} | ||
@@ -117,0 +117,0 @@ _results.push(key + ":" + serializedValue); |
{ | ||
"name": "cson-parser", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Safe parsing of CSON files", | ||
@@ -5,0 +5,0 @@ "main": "lib/cson-parser.js", |
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
21007