From 885272f2eacec56e1653d037ce5304483efd458d Mon Sep 17 00:00:00 2001 From: Robert James Gabriel Date: Sun, 19 Dec 2021 21:56:27 -0600 Subject: [PATCH] Updated 1.0.2 --- README.md | 18 ++- package.json | 314 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 324 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index dc5c44a..6761074 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,23 @@ ## About -Full List of Bad Words and Top Swear Words Banned by Google. As they closed the api +Full list of bad words and top swear words banned by Google. The list is updated monthly. Pull requests are welcome! -## Getting Started +## Getting started +``` +npm install -s @coffeeandfun/google-profanity-words +``` -Everything is in the list.txt +## Usage +```js +import { profanityEngine } from '@coffeeandfun/google-profanity-words'; +let profanity = new profanityEngine(); + +await profanity.all(); // returns all bad words as an array. + +await profanity.search('bad word'); // returns true if the word is found in the list. + +``` \ No newline at end of file diff --git a/package.json b/package.json index e58af57..24cfc69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@coffee-and-fun/google-profanity-words", - "version": "1.0.0", + "name": "@coffeeandfun/google-profanity-words", + "version": "1.0.2", "description": "Full list of bad words and top swear words banned by Google.", "main": "index.js", "type": "module", @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/coffee-and-fun/Google-profanity-words.git" + "url": "git+https://github.com/coffeeandfun/Google-profanity-words.git" }, "keywords": [ "google", @@ -21,9 +21,9 @@ "author": "Robert James Gabriel", "license": "ISC", "bugs": { - "url": "https://github.com/coffee-and-fun/Google-profanity-words/issues" + "url": "https://github.com/coffeeandfun/Google-profanity-words/issues" }, - "homepage": "https://github.com/coffee-and-fun/Google-profanity-words#readme", + "homepage": "https://github.com/ccoffeeandfun/Google-profanity-words#readme", "devDependencies": { "@babel/cli": "^7.16.0", "@babel/core": "^7.16.5", @@ -36,5 +36,309 @@ "babel-jest": "^21.2.0", "babel-plugin-jest-hoist": "^21.2.0", "babel-preset-jest": "^21.2.0" + }, + "dependencies": { + "acorn-globals": "^6.0.0", + "acorn-jsx": "^5.3.2", + "abab": "^2.0.5", + "acorn": "^8.6.0", + "acorn-walk": "^7.2.0", + "ansi-colors": "^4.1.1", + "agent-base": "^6.0.2", + "ajv": "^6.12.6", + "ansi-regex": "^5.0.1", + "ansi-escapes": "^4.3.2", + "anymatch": "^3.1.2", + "asynckit": "^0.4.0", + "ansi-styles": "^4.3.0", + "argparse": "^1.0.10", + "babel-plugin-jest-hoist": "^27.4.0", + "babel-plugin-dynamic-import-node": "^2.3.3", + "babel-plugin-istanbul": "^6.1.1", + "babel-jest": "^27.4.5", + "babel-preset-current-node-syntax": "^1.0.1", + "babel-plugin-polyfill-corejs3": "^0.4.0", + "babel-preset-jest": "^27.4.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "binary-extensions": "^2.2.0", + "braces": "^3.0.2", + "balanced-match": "^1.0.2", + "call-bind": "^1.0.2", + "brace-expansion": "^1.1.11", + "bser": "^2.1.1", + "browserslist": "^4.19.1", + "camelcase": "^5.3.1", + "browser-process-hrtime": "^1.0.0", + "caniuse-lite": "^1.0.30001291", + "callsites": "^3.1.0", + "buffer-from": "^1.1.2", + "ci-info": "^3.3.0", + "chokidar": "^3.5.2", + "char-regex": "^1.0.2", + "cjs-module-lexer": "^1.2.2", + "co": "^4.6.0", + "cliui": "^7.0.4", + "combined-stream": "^1.0.8", + "collect-v8-coverage": "^1.0.1", + "color-convert": "^2.0.1", + "concat-map": "^0.0.1", + "convert-source-map": "^1.8.0", + "commander": "^4.1.1", + "chalk": "^4.1.2", + "color-name": "^1.1.4", + "core-js-compat": "^3.20.0", + "cssstyle": "^2.3.0", + "cross-spawn": "^7.0.3", + "cssom": "^0.4.4", + "data-urls": "^2.0.0", + "dedent": "^0.7.0", + "debug": "^4.3.3", + "decimal.js": "^10.3.1", + "deep-is": "^0.1.4", + "delayed-stream": "^1.0.0", + "deepmerge": "^4.2.2", + "define-properties": "^1.1.3", + "domexception": "^2.0.1", + "diff-sequences": "^27.4.0", + "detect-newline": "^3.1.0", + "doctrine": "^3.0.0", + "electron-to-chromium": "^1.4.24", + "emoji-regex": "^8.0.0", + "enquirer": "^2.3.6", + "emittery": "^0.8.1", + "escape-string-regexp": "^2.0.0", + "escalade": "^3.1.1", + "escodegen": "^2.0.0", + "eslint": "^8.5.0", + "eslint-scope": "^7.1.0", + "esprima": "^4.0.1", + "espree": "^9.2.0", + "eslint-visitor-keys": "^1.3.0", + "eslint-utils": "^3.0.0", + "esquery": "^1.4.0", + "estraverse": "^5.3.0", + "execa": "^5.1.1", + "esrecurse": "^4.3.0", + "esutils": "^2.0.3", + "exit": "^0.1.2", + "expect": "^27.4.2", + "fast-json-stable-stringify": "^2.1.0", + "fast-deep-equal": "^3.1.3", + "fb-watchman": "^2.0.1", + "fill-range": "^7.0.1", + "fast-levenshtein": "^2.0.6", + "find-up": "^4.1.0", + "file-entry-cache": "^6.0.1", + "form-data": "^3.0.1", + "flat-cache": "^3.0.4", + "fs-readdir-recursive": "^1.1.0", + "flatted": "^3.2.4", + "fs.realpath": "^1.0.0", + "fsevents": "^2.3.2", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "functional-red-black-tree": "^1.0.1", + "gensync": "^1.0.0-beta.2", + "get-caller-file": "^2.0.5", + "globals": "^11.12.0", + "get-package-type": "^0.1.0", + "glob": "^7.2.0", + "has": "^1.0.3", + "get-stream": "^6.0.1", + "has-flag": "^4.0.0", + "glob-parent": "^6.0.2", + "graceful-fs": "^4.2.8", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "html-escaper": "^2.0.2", + "has-symbols": "^1.0.2", + "human-signals": "^2.1.0", + "https-proxy-agent": "^5.0.0", + "ignore": "^4.0.6", + "iconv-lite": "^0.4.24", + "import-fresh": "^3.3.0", + "inherits": "^2.0.4", + "import-local": "^3.0.3", + "imurmurhash": "^0.1.4", + "is-binary-path": "^2.1.0", + "is-extglob": "^2.1.1", + "is-core-module": "^2.8.0", + "inflight": "^1.0.6", + "is-number": "^7.0.0", + "is-generator-fn": "^2.1.0", + "is-fullwidth-code-point": "^3.0.0", + "isexe": "^2.0.0", + "is-glob": "^4.0.3", + "is-stream": "^2.0.1", + "is-typedarray": "^1.0.0", + "is-potential-custom-element-name": "^1.0.1", + "istanbul-lib-instrument": "^4.0.3", + "istanbul-lib-coverage": "^3.2.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-reports": "^3.1.1", + "istanbul-lib-source-maps": "^4.0.1", + "jest-circus": "^27.4.5", + "jest-changed-files": "^27.4.2", + "jest-docblock": "^27.4.0", + "jest-cli": "^27.4.5", + "jest-config": "^27.4.5", + "jest-environment-node": "^27.4.4", + "jest-environment-jsdom": "^27.4.4", + "jest-diff": "^27.4.2", + "jest-get-type": "^27.4.0", + "jest-each": "^27.4.2", + "jest-leak-detector": "^27.4.2", + "jest-jasmine2": "^27.4.5", + "jest-haste-map": "^27.4.5", + "jest-matcher-utils": "^27.4.2", + "jest-mock": "^27.4.2", + "jest-pnp-resolver": "^1.2.2", + "jest-message-util": "^27.4.2", + "jest-resolve-dependencies": "^27.4.5", + "jest-regex-util": "^27.4.0", + "jest-runtime": "^27.4.5", + "jest-runner": "^27.4.5", + "jest-validate": "^27.4.2", + "jest-snapshot": "^27.4.5", + "jest-util": "^27.4.2", + "jest-watcher": "^27.4.2", + "jest-serializer": "^27.4.0", + "js-yaml": "^3.14.1", + "js-tokens": "^4.0.0", + "jsesc": "^2.5.2", + "jest-worker": "^27.4.5", + "jsdom": "^16.7.0", + "kleur": "^3.0.3", + "json-schema-traverse": "^0.4.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.3.0", + "leven": "^3.1.0", + "lodash": "^4.17.21", + "lodash.debounce": "^4.0.8", + "json5": "^2.2.0", + "locate-path": "^5.0.0", + "lodash.merge": "^4.6.2", + "jest-resolve": "^27.4.5", + "makeerror": "^1.0.12", + "make-dir": "^3.1.0", + "lru-cache": "^6.0.0", + "mimic-fn": "^2.1.0", + "micromatch": "^4.0.4", + "merge-stream": "^2.0.0", + "mime-db": "^1.51.0", + "mime-types": "^2.1.34", + "minimatch": "^3.0.4", + "ms": "^2.1.2", + "node-releases": "^2.0.1", + "natural-compare": "^1.4.0", + "minimist": "^1.2.5", + "node-int64": "^0.4.0", + "normalize-path": "^3.0.0", + "npm-run-path": "^4.0.1", + "nwsapi": "^2.2.0", + "object-keys": "^1.1.1", + "once": "^1.4.0", + "optionator": "^0.8.3", + "p-locate": "^4.1.0", + "p-try": "^2.2.0", + "onetime": "^5.1.2", + "p-limit": "^2.3.0", + "object.assign": "^4.1.2", + "parent-module": "^1.0.1", + "path-exists": "^4.0.0", + "picocolors": "^1.0.0", + "parse5": "^6.0.1", + "path-parse": "^1.0.7", + "path-key": "^3.1.1", + "path-is-absolute": "^1.0.1", + "pify": "^4.0.1", + "pretty-format": "^27.4.2", + "picomatch": "^2.3.0", + "pirates": "^4.0.4", + "pkg-dir": "^4.2.0", + "prelude-ls": "^1.1.2", + "progress": "^2.0.3", + "prompts": "^2.4.2", + "psl": "^1.8.0", + "regenerate-unicode-properties": "^9.0.0", + "punycode": "^2.1.1", + "react-is": "^17.0.2", + "readdirp": "^3.6.0", + "regenerator-runtime": "^0.13.9", + "regenerate": "^1.4.2", + "regenerator-transform": "^0.14.5", + "regjsgen": "^0.5.2", + "regexpu-core": "^4.8.0", + "regexpp": "^3.2.0", + "regjsparser": "^0.7.0", + "resolve-cwd": "^3.0.0", + "require-directory": "^2.1.1", + "safe-buffer": "^5.1.2", + "resolve": "^1.20.0", + "resolve-from": "^5.0.0", + "safer-buffer": "^2.1.2", + "rimraf": "^3.0.2", + "resolve.exports": "^1.1.0", + "shebang-regex": "^3.0.0", + "saxes": "^5.0.1", + "shebang-command": "^2.0.0", + "semver": "^6.3.0", + "slash": "^3.0.0", + "sprintf-js": "^1.0.3", + "sisteransi": "^1.0.5", + "source-map": "^0.6.1", + "signal-exit": "^3.0.6", + "stack-utils": "^2.0.5", + "string-width": "^4.2.3", + "string-length": "^4.0.2", + "source-map-support": "^0.5.21", + "strip-bom": "^4.0.0", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.1", + "terminal-link": "^2.1.1", + "strip-final-newline": "^2.0.0", + "symbol-tree": "^3.2.4", + "text-table": "^0.2.0", + "supports-color": "^7.2.0", + "test-exclude": "^6.0.0", + "throat": "^6.0.1", + "tmpl": "^1.0.5", + "to-regex-range": "^5.0.1", + "supports-hyperlinks": "^2.2.0", + "to-fast-properties": "^2.0.0", + "tough-cookie": "^4.0.0", + "type-detect": "^4.0.8", + "type-check": "^0.3.2", + "tr46": "^2.1.0", + "typedarray-to-buffer": "^3.1.5", + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "type-fest": "^0.21.3", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0", + "universalify": "^0.1.2", + "walker": "^1.0.8", + "v8-compile-cache": "^2.3.0", + "v8-to-istanbul": "^8.1.0", + "unicode-match-property-value-ecmascript": "^2.0.0", + "uri-js": "^4.4.1", + "w3c-xmlserializer": "^2.0.0", + "whatwg-encoding": "^1.0.5", + "webidl-conversions": "^6.1.0", + "w3c-hr-time": "^1.0.2", + "whatwg-mimetype": "^2.3.0", + "word-wrap": "^1.2.3", + "wrap-ansi": "^7.0.0", + "whatwg-url": "^8.7.0", + "write-file-atomic": "^3.0.3", + "which": "^2.0.2", + "ws": "^7.5.6", + "yallist": "^4.0.0", + "wrappy": "^1.0.2", + "xml-name-validator": "^3.0.0", + "y18n": "^5.0.8", + "xmlchars": "^2.2.0", + "yargs-parser": "^20.2.9", + "yargs": "^16.2.0" } }