jo3-l / obscenity

Robust, extensible profanity filter for NodeJS
MIT License
70 stars 2 forks source link

Update englishDataset phrases #50

Closed HatScripts closed 8 months ago

HatScripts commented 8 months ago

Type of change:

Please describe the changes this PR makes and why it should be merged:

  1. Sorted phrases alphabetically
  2. Add 10 new phrases: bollocks, dyke, kike, negro, piss, prick, spastic, turd, twat, wanker (Found at: https://en.wiktionary.org/wiki/Category:English_swear_words)
  3. Update patterns for abbo (now abo), bestiality, and cunt

Status:

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ad51d19) 100.00% compared to head (6303c3d) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #50 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 27 27 Lines 505 505 Branches 92 92 ========================================= Hits 505 505 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

HatScripts commented 8 months ago

Would you mind retargetting this PR to the dev branch? Everything else LGTM, thanks.

Done! :)

jo3-l commented 8 months ago

Thanks, I'll fix the lint issues in a followup commit.

HatScripts commented 6 months ago

Any chance of this being added to the main branch?

jo3-l commented 6 months ago

Thanks for the reminder. I will tag a new release this weekend; sorry for the delay.

jo3-l commented 6 months ago

Released 0.2.1 on npm, PTAL @HatScripts.