idea-toolbox
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -268,5 +268,6 @@ 'use strict'; | ||
* @param {*} str the string to clean | ||
* @param {*} separator separator char | ||
*/ | ||
function cleanStr(str) { | ||
return (str || '').toLowerCase().replace(/[^a-zA-Z0-9]+/g, '-'); | ||
function cleanStr(str, separator) { | ||
return (str || '').toLowerCase().replace(/[^a-zA-Z0-9]+/g, separator || ''); | ||
} |
{ | ||
"name": "idea-toolbox", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "IDEA's utility functions", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
13995
283