Comparing version 2.0.2 to 2.0.3
@@ -9,5 +9,5 @@ 'use strict'; | ||
name = name.replace(/[A-Z]/g, '-$&').toLowerCase(); | ||
var quotedVal = /\W/.test(value) ? ("'" + escape(value) + "'") : value; | ||
//var quotedVal = /\s/.test(value) ? ("'" + escape(value) + "'") : value; | ||
return '--' + name + (value ? "=" + quotedVal : ''); | ||
return '--' + name + (value ? "=" + value : ''); | ||
}; | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "dargs", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Converts an object of options into an array of command-line arguments", | ||
@@ -5,0 +5,0 @@ "repository": "sindresorhus/dargs", |
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
2738