Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump obscenity from 0.1.4 to 0.2.0 #194

Closed
wants to merge 16 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2024

Bumps obscenity from 0.1.4 to 0.2.0.

Release notes

Sourced from obscenity's releases.

v0.2.0

Bug Fixes

  • english-preset: don't include skip-non-alphabetic transformer (620c721), closes #23 #46
  • english-preset: remove extraneous patterns for n-word (e135be5), closes #48
  • pkg: ensure types resolve in ESM (718da8a), closes #44

Code Refactoring

  • matchers: remove NfaMatcher (b69c21d)

Features

  • english-preset: blacklist 'shit' by default (b0d90aa), closes #47

BREAKING CHANGES

  • english-preset: Using the default English preset, Obscenity will no longer strip non-alphabetic characters from the input text before matching.

This addresses a class of egregious false negatives in previous versions (see #23), but introduces a regression where cases such as 'f u c k' (with the space) will no longer be detected by default. We expect to provide a more comprehensive fix in the next minor release.

If desired, it remains possible to revert to the previous behavior by providing a custom set of transformers to the matcher.

  • matchers: The NfaMatcher class has been removed. Use the RegExpMatcher instead.
Changelog

Sourced from obscenity's changelog.

0.2.0 (2024-01-05)

⚠ BREAKING CHANGES

  • english-preset: Using the default English preset, Obscenity will no longer strip non-alphabetic characters from the input text before matching.

This addresses a class of egregious false negatives in previous versions (see #23), but introduces a regression where cases such as 'f u c k' (with the space) will no longer be detected by default. We expect to provide a more comprehensive fix in the next minor release.

If desired, it remains possible to revert to the previous behavior by providing a custom set of transformers to the matcher.

  • matchers: The NfaMatcher class has been removed. Use the RegExpMatcher instead.

Features

  • english-preset: blacklist 'shit' by default (b0d90aa), closes #47

Bug Fixes

  • english-preset: don't include skip-non-alphabetic transformer (620c721), closes #23 #46

  • english-preset: remove extraneous patterns for n-word (e135be5), closes #48

  • pkg: ensure types resolve in ESM (718da8a), closes #44

  • matchers: remove NfaMatcher (b69c21d)

Commits
  • 3c58e14 chore(release): 0.2.0
  • 5bb1ef1 docs(*): regenerate reference documentation again
  • 0b48eca chore(pkg): remove stray reference to husky
  • b665b2f docs(*): rebuild reference documentation
  • e135be5 fix(english-preset): remove extraneous patterns for n-word
  • 620c721 fix(english-preset): don't include skip-non-alphabetic transformer
  • b0d90aa feat(english-preset): blacklist 'shit' by default
  • 718da8a fix(pkg): ensure types resolve in ESM
  • 5ceb87d chore(util): remove CircularBuffer, Queue
  • b69c21d refactor(matchers): remove NfaMatcher
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 1, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/obscenity-0.2.0 branch from 2cda696 to c15d8f5 Compare February 21, 2024 20:39
jejebecarte and others added 3 commits February 27, 2024 20:52
Bumps [obscenity](https://github.com/jo3-l/obscenity) from 0.1.4 to 0.2.0.
- [Release notes](https://github.com/jo3-l/obscenity/releases)
- [Changelog](https://github.com/jo3-l/obscenity/blob/main/CHANGELOG.md)
- [Commits](jo3-l/obscenity@v0.1.4...v0.2.0)

---
updated-dependencies:
- dependency-name: obscenity
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2024

Superseded by #204.

@dependabot dependabot bot closed this Apr 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/obscenity-0.2.0 branch April 1, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants