Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopmacher/bad-words

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopmacher/bad-words - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

2

lib/badwords.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc