no-profanity
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,2 +0,2 @@ | ||
export default [ | ||
const list = [ | ||
"2 girls 1 cup", | ||
@@ -960,1 +960,3 @@ "2g1c", | ||
]; | ||
module.exports = { list }; |
@@ -1,2 +0,2 @@ | ||
import baseList from "./en.js"; | ||
const { list: baseList } = require("./en.js"); | ||
@@ -118,2 +118,2 @@ /** | ||
export { isProfane, containsProfanities, replaceProfanities }; | ||
module.exports = { isProfane, containsProfanities, replaceProfanities }; |
{ | ||
"name": "no-profanity", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "A JavaScript package to detect and filter profanity", | ||
"main": "./lib/no-profanity.js", | ||
"types": "./lib/no-profanity.d.ts", | ||
"exports": { | ||
"import": "./lib/no-profanity.js", | ||
"require": "./commonjs/no-profanity.js" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --reporters=default", | ||
"build": "babel lib --out-dir commonjs" | ||
"test": "jest" | ||
}, | ||
@@ -27,3 +21,4 @@ "repository": { | ||
"profanity", | ||
"filter" | ||
"filter", | ||
"censor" | ||
], | ||
@@ -30,0 +25,0 @@ "devDependencies": { |
29746
8
1079
No