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

no-profanity

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

no-profanity - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

7

lib/no-profanity.d.ts

@@ -22,2 +22,9 @@ declare module "no-profanity" {

export function replaceProfanities(args: string | { testString: string; options?: object }): string;
/**
* Retrieves the list of profanities based on the provided options.
* @param {object} options - The options object.
* @returns {Array<string>} - An array of profanities.
*/
export function getProfanities(options?: object): Array<string>;
}

2

package.json
{
"name": "no-profanity",
"version": "1.5.0",
"version": "1.5.1",
"description": "A JavaScript package to detect and filter profanity",

@@ -5,0 +5,0 @@ "main": "./lib/no-profanity.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