@shopmacher/bad-words
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -35,3 +35,3 @@ const localList = require('./lang.json').words; | ||
.filter((word) => { | ||
if (string.includes(word)) { | ||
if (string.toLocaleLowerCase().includes(word.toLocaleLowerCase())) { | ||
return true; | ||
@@ -38,0 +38,0 @@ } |
{ | ||
"name": "@shopmacher/bad-words", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "A javascript filter for bad words", | ||
@@ -5,0 +5,0 @@ "main": "./lib/badwords", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
143744
0