remove-leading-slash
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -7,5 +7,5 @@ /** | ||
function removeLeadingSlash(str) { | ||
return str.replace(/^\/+/g, ''); | ||
return str.replace(/^\/+/, ''); | ||
} | ||
module.exports = removeLeadingSlash; |
{ | ||
"name": "remove-leading-slash", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Remove leading slashes from a given string", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2560