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

cson-parser

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cson-parser - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

CHANGELOG.md

@@ -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 @@ -----

2

lib/stringify.js

@@ -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",

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