@drippy-music/commons
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -40,3 +40,7 @@ const fuzz = require('fuzzball'); | ||
return split.replace(/with.+?-/g, '-').replace(/.\((with|feat).+?\)/g, '').replace(/-.+with.+/gi, '').trim(); | ||
if (/.with.+/g.test(split)) { | ||
split = split.replace(/with.+?-/g, '-').replace(/.with.+/gi, ''); | ||
} | ||
return split.replace(/.\((with|feat).+?\)/g, '').trim(); | ||
} | ||
@@ -43,0 +47,0 @@ |
{ | ||
"name": "@drippy-music/commons", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Drippy's common Node.JS utilities", | ||
@@ -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
5732
100