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

obscenity

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obscenity - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

dist/preset/english.js

@@ -214,5 +214,2 @@ "use strict";

.setMetadata({ originalWord: 'dick' })
.addPattern((0, Pattern_1.pattern) `d?ck|`)
.addPattern((0, Pattern_1.pattern) `d?cke[e]s|`)
.addPattern((0, Pattern_1.pattern) `d?cks|`)
.addPattern((0, Pattern_1.pattern) `|dck|`)

@@ -248,2 +245,3 @@ .addPattern((0, Pattern_1.pattern) `dick`)

.addPattern((0, Pattern_1.pattern) `|fuk`)
.addWhitelistedTerm('fickle')
.addWhitelistedTerm('kung-fu')

@@ -250,0 +248,0 @@ .addWhitelistedTerm('kung fu'))

{
"name": "obscenity",
"version": "0.4.0",
"version": "0.4.1",
"description": "Robust, extensible profanity filter.",

@@ -54,4 +54,4 @@ "files": [

"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"conventional-github-releaser": "^3.1.5",

@@ -58,0 +58,0 @@ "eslint": "^8.57.0",

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