New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

isprofanity

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isprofanity - npm Package Compare versions

Comparing version 1.2.8 to 1.3.0

1

isProfanity.js

@@ -74,2 +74,3 @@ fs = require('fs');

async.each(strings,function(word,callback) {
word = word.replace(/\b[-.,()&$#!\[\]{}"']+\B|\B[-.,()&$#!\[\]{}"']+\b/g, "");
var WorstSwear = new Word();

@@ -76,0 +77,0 @@ var mostlikelyexception = new Word();

2

package.json
{
"name": "isprofanity",
"version": "1.2.8",
"version": "1.3.0",
"description": "A profanity checker which, unlike alternatives, uses the Wagner–Fischer algorithm in order to catch variations that you haven't thought of. ",

@@ -5,0 +5,0 @@ "main": "isProfanity.js",

var isprofanity = require('./isProfanity.js');
var ta =['gobshite'];
var ta =['Hello my friend! Thanks! for the help.'];

@@ -4,0 +4,0 @@ ta.forEach(function(tstring) {

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