🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

json-to-properties

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-to-properties - npm Package Compare versions

Comparing version

to
1.1.2

2

package.json
{
"name": "json-to-properties",
"version": "1.1.1",
"version": "1.1.2",
"description": "A standalone utility to transform language files in JSON format into .properties files, and languages files in .properties format into JSON format.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -106,2 +106,6 @@ var fs = require('fs'),

reader.on('line', function (line) {
// Skip comments lines (lines starting with #) and empty lines
if (line && (line.charAt(0) === '#' || line.charAt(0) === '!' || line.trim().length === 0)) {
return;
}
lines.push(line);

@@ -108,0 +112,0 @@ });