Replies: 5 comments 6 replies
-
We did stuff like this |
Beta Was this translation helpful? Give feedback.
-
First of all there is no guarantee that there won't be any bad words in the results.
If you find more, please report them to us, so we can remove them.
Yes, you can review the locale data that will be returned in the methods: https://github.com/faker-js/faker/tree/next/src/locales
We ran offensive word filters on the existing locales and do this for new locale data as well, but the tools don't support all locales and don't find all words (especially if they contain typos). We also face the issue, that some words are considered offensive in some locales, but not it others. Note: The string module generates random texts from characters, so with lots of bad luck it might generate offensive content. If you want to be 100% sure that nothing that could be considered offensive for anyone is returned, you have to apply manual filtering. |
Beta Was this translation helpful? Give feedback.
-
Also be aware that if this is customer facing emails, phones, addresses etc might coincidentally be the same as real emails, phones, addresses. |
Beta Was this translation helpful? Give feedback.
-
It appears that some of the words that aren't in the raw source are still appearing in the generated cjs/esm modules. I found this output (from The word |
Beta Was this translation helpful? Give feedback.
-
I am now, thanks!
On Thu, Feb 23, 2023 at 5:49 PM ST-DDT ***@***.***> wrote:
The second more thorough cleanup isn't released yet.
—
Reply to this email directly, view it on GitHub
<#1864 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABD6JOVWUTQL73TCRDJ7ODWY7SP5ANCNFSM6AAAAAAVDMIU3Y>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
*Peace.**Mike Cavaliere*
Software Strategist / Author
*cutintothejamstack.com <http://cutintothejamstack.com/>*
<http://www.linkedin.com/in/mikecavaliere>
linkedin.com/in/mikecavaliere <http://www.linkedin.com/in/mikecavaliere>
@mcavaliere <http://twitter.com/mcavaliere>
|
Beta Was this translation helpful? Give feedback.
-
Hi there, we're looking to use this in a customer facing previews and want to be sure that there are no bad text strings being generated. Is there a way to view the list of strings that are used to generate the fake info? Or are there other methods used to ensure no offensive strings are generated?
Beta Was this translation helpful? Give feedback.
All reactions