Comparing version 1.0.2 to 1.0.3
@@ -39,3 +39,3 @@ (function() { | ||
} | ||
slug = rv.join('').replace(/^\s+|\s+$/g, '').replace(/\s+/g,' '); | ||
var slug = rv.join('').replace(/^\s+|\s+$/g, '').replace(/\s+/g,' '); | ||
if (!spaces) slug = slug.replace(/[\s\-]+/g,'-'); | ||
@@ -42,0 +42,0 @@ if (lower) slug = slug.toLowerCase(); |
{ | ||
"name" : "uslug", | ||
"version" : "1.0.2", | ||
"version" : "1.0.3", | ||
"description" : "A permissive slug generator that works with unicode.", | ||
@@ -5,0 +5,0 @@ "author": "Jeremy Selier <jerem.selier@gmail.com>", |
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
113018