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

profam

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

profam - npm Package Compare versions

Comparing version 1.0.9 to 1.0.91

3

distribution/profam.js

@@ -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.'));
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