parse-ini-string
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -54,3 +54,3 @@ 'use strict'; | ||
p[key] = []; | ||
} else if (!Array.isArray(p[key])) { | ||
} else if (!isArray(p[key])) { | ||
p[key] = [p[key]]; | ||
@@ -72,3 +72,3 @@ } | ||
} | ||
switch (value) { | ||
switch (value.toLowerCase()) { | ||
case 'true': | ||
@@ -75,0 +75,0 @@ case 'false': |
@@ -49,3 +49,3 @@ var commentReg = /^\s*[;]/; | ||
p[key] = []; | ||
} else if (!Array.isArray(p[key])) { | ||
} else if (!isArray(p[key])) { | ||
p[key] = [p[key]]; | ||
@@ -67,3 +67,3 @@ } | ||
} | ||
switch (value) { | ||
switch (value.toLowerCase()) { | ||
case 'true': | ||
@@ -70,0 +70,0 @@ case 'false': |
{ | ||
"name": "parse-ini-string", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "PHP like parse-ini-string, support multi line", | ||
@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism", |
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
5065