PackageTrack
Sign in Get early access

profanity_filter

Simple filter to check and censor strings against profanity, obscene words. A default English words list is provided (LDNOOBW).

2.0.0 14K downloads/mo #2548 most downloaded on pub.dev roshanrahman/profanity_filter

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Ships fairly regularly

a new release about every 5 months

Most releases are documented

notes for 6 of 7 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

8 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

8 releases · Oct 2019 to Jun 2021
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 8
  1. 2.0.0 29 Jun 2021
    Release notes
    • Released 2.0.0 with null safety
    • Fixed issue with getAllProfanity that was incorrectly detecting substrings as profanity.
    Open source →
  2. 2.0.0-nullsafety.0 09 Mar 2021 pre-release
    Release notes
    • Minor code changes
    Open source →
  3. 1.0.4 04 Oct 2020
    Release notes
    • The SDK version in pubspec.yaml is now >=2.6.0 <3.0.0
    • Minor code changes
    • Updated README.md
    Open source →
  4. 1.0.3 03 Oct 2020
    Release notes
    • Moved the default list of words defaultWordsToFilterOutList to a new file default_list.dart
    • Renamed the methods to a more concise form - hasProfanity, getAllProfanity, censor
    • The older, longer names of the above mentioned methods (checkStringForProfanity, getAllProfanityFoundInString, censorString) are marked deprecated. They'll still work, but its recommended you choose their newer, shorter, more concise form.
    • The censor method is now case-agnostic, it will now censor profanity regardless of its case (converts all words to lowercase before comparing) (Thanks to contributor towner-10 - See PR )
    • Added test for getProfanity method.
    • Added test for censor method with case.
    Open source →
  5. 1.0.2 17 Oct 2019
    Release notes
    • Updated package description
    Open source →
  6. 1.0.1 17 Oct 2019
    Release notes
    • Updated package description
    • Fixed Dart SDK constraints in pubspec.yaml
    Open source →
  7. 1.0.0 17 Oct 2019
    Release notes
    • Initial release
    Open source →
  8. 0.0.1 17 Oct 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive