You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce recursiveDenylist option in jest-validate's ValidationOptions as a racially neutral alternative to recursiveBlacklist. Do not remove recursiveBlacklist just yet in order not to introduce a breaking change.
Warn against using recursiveBlacklist.
Remove recursiveBlacklist in the next major version after warning has been set up.
Motivation
Part of continuous effort to get rid of non-inclusive terms like "whitelist" and "blacklist" implying that white = good and black = bad.
I'd be more than happy to contribute the first bullet point by adding something along the lines of recursiveDenylist || recursiveBlacklist where applicable, if you think this is a good idea.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🚀 Proposal
Introduce
recursiveDenylist
option injest-validate
's ValidationOptions as a racially neutral alternative torecursiveBlacklist
. Do not removerecursiveBlacklist
just yet in order not to introduce a breaking change.Warn against using
recursiveBlacklist
.Remove
recursiveBlacklist
in the next major version after warning has been set up.Motivation
Part of continuous effort to get rid of non-inclusive terms like "whitelist" and "blacklist" implying that white = good and black = bad.
I'd be more than happy to contribute the first bullet point by adding something along the lines of
recursiveDenylist || recursiveBlacklist
where applicable, if you think this is a good idea.The text was updated successfully, but these errors were encountered: