-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Description
🚀 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.
timoxley