config-templator
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -22,4 +22,8 @@ /* | ||
var cleanValue = function (value) { | ||
if (value == 'false') value = false; | ||
else if (value == 'true') value = true; | ||
if (value === 'false') { | ||
value = false; | ||
} | ||
else if (value === 'true') { | ||
value = true; | ||
} | ||
return value; | ||
@@ -26,0 +30,0 @@ }; |
{ | ||
"name": "config-templator", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Dynamic replacement in object, inspired by GruntJS config", | ||
@@ -21,3 +21,4 @@ "homepage": "https://github.com/loicmahieu/config-templator", | ||
"scripts": { | ||
"test": "grunt" | ||
"test": "grunt", | ||
"prepublish": "npm test" | ||
}, | ||
@@ -24,0 +25,0 @@ "main": "lib/config-templator", |
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
10132
276