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.0.1 to 1.0.2

1

isProfanity.js

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

if(x < (word.length/2) && exceptions.indexOf(word) === -1){
console.log('\''+word+'\' is too close to \''+swear+'\' for comfort');
containsASwear = true;

@@ -66,0 +65,0 @@ }

2

package.json
{
"name": "isprofanity",
"version": "1.0.1",
"version": "1.0.2",
"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",

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