Comparing version 1.0.9 to 1.0.91
@@ -279,4 +279,3 @@ 'use strict'; | ||
localesAllWords.forEach(function (word) { | ||
word = word.toLowerCase(); | ||
if (toProcess.indexOf(word) !== -1) { | ||
if (toProcess.match(new RegExp(word, 'gi')).length > 0) { | ||
(function () { | ||
@@ -283,0 +282,0 @@ var wordLength = word.length; |
{ | ||
"name": "profam", | ||
"version": "1.0.9", | ||
"version": "1.0.91", | ||
"description": "Profanity and Spam Tool, supporting multiple languages and modes.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -12,2 +12,2 @@ 'use strict'; | ||
console.log(x.proceed('I dont want pineapples or olives in my pizza.')); | ||
console.log(x.proceed('I dont want PINEAPPLES or olives in my pizza.')); |
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
82434
546