From df881bd044dd62bb2b90e8bfaa58d24d95dfef3b Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Sat, 24 Dec 2022 06:58:37 -0500 Subject: fix(locale): filter inappropriate words in the en locale (#1633) --- test/__snapshots__/internet.spec.ts.snap | 30 +++++++-------- test/__snapshots__/random.spec.ts.snap | 8 ++-- test/__snapshots__/system.spec.ts.snap | 14 +++---- test/__snapshots__/word.spec.ts.snap | 66 ++++++++++++++++---------------- 4 files changed, 59 insertions(+), 59 deletions(-) (limited to 'test') diff --git a/test/__snapshots__/internet.spec.ts.snap b/test/__snapshots__/internet.spec.ts.snap index 2ad847d8..45913d97 100644 --- a/test/__snapshots__/internet.spec.ts.snap +++ b/test/__snapshots__/internet.spec.ts.snap @@ -16,11 +16,11 @@ exports[`internet > 42 > displayName > with Latin names 1`] = `"Jane_Doe"`; exports[`internet > 42 > displayName > with accented names 1`] = `"Hélene_Müller"`; -exports[`internet > 42 > domainName 1`] = `"hasty-shin.org"`; +exports[`internet > 42 > domainName 1`] = `"hasty-shipyard.org"`; exports[`internet > 42 > domainSuffix 1`] = `"info"`; -exports[`internet > 42 > domainWord 1`] = `"hasty-shin"`; +exports[`internet > 42 > domainWord 1`] = `"hasty-shipyard"`; exports[`internet > 42 > email > noArgs 1`] = `"Peyton73@yahoo.com"`; @@ -62,11 +62,11 @@ exports[`internet > 42 > port 1`] = `24545`; exports[`internet > 42 > protocol 1`] = `"http"`; -exports[`internet > 42 > url > noArgs 1`] = `"https://staid-veil.biz/"`; +exports[`internet > 42 > url > noArgs 1`] = `"https://staid-vegetation.biz/"`; -exports[`internet > 42 > url > with slash appended 1`] = `"https://hasty-shin.org/"`; +exports[`internet > 42 > url > with slash appended 1`] = `"https://hasty-shipyard.org/"`; -exports[`internet > 42 > url > without slash appended and with http protocol 1`] = `"http://hasty-shin.org"`; +exports[`internet > 42 > url > without slash appended and with http protocol 1`] = `"http://hasty-shipyard.org"`; exports[`internet > 42 > userAgent 1`] = `"Mozilla/5.0 (Windows; U; Windows NT 6.2) AppleWebKit/538.0.2 (KHTML, like Gecko) Chrome/29.0.815.0 Safari/538.0.2"`; @@ -96,11 +96,11 @@ exports[`internet > 1211 > displayName > with Latin names 1`] = `"Jane.Doe89"`; exports[`internet > 1211 > displayName > with accented names 1`] = `"Hélene.Müller89"`; -exports[`internet > 1211 > domainName 1`] = `"vibrant-infix.org"`; +exports[`internet > 1211 > domainName 1`] = `"vibrant-infusion.org"`; exports[`internet > 1211 > domainSuffix 1`] = `"org"`; -exports[`internet > 1211 > domainWord 1`] = `"vibrant-infix"`; +exports[`internet > 1211 > domainWord 1`] = `"vibrant-infusion"`; exports[`internet > 1211 > email > noArgs 1`] = `"Jadyn.Trantow12@hotmail.com"`; @@ -142,11 +142,11 @@ exports[`internet > 1211 > port 1`] = `60851`; exports[`internet > 1211 > protocol 1`] = `"https"`; -exports[`internet > 1211 > url > noArgs 1`] = `"https://jubilant-temple.net"`; +exports[`internet > 1211 > url > noArgs 1`] = `"https://jubilant-tempo.net"`; -exports[`internet > 1211 > url > with slash appended 1`] = `"https://vibrant-infix.org/"`; +exports[`internet > 1211 > url > with slash appended 1`] = `"https://vibrant-infusion.org/"`; -exports[`internet > 1211 > url > without slash appended and with http protocol 1`] = `"http://vibrant-infix.org"`; +exports[`internet > 1211 > url > without slash appended and with http protocol 1`] = `"http://vibrant-infusion.org"`; exports[`internet > 1211 > userAgent 1`] = `"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6 rv:3.0; PT) AppleWebKit/538.2.0 (KHTML, like Gecko) Version/4.1.0 Safari/538.2.0"`; @@ -176,11 +176,11 @@ exports[`internet > 1337 > displayName > with Latin names 1`] = `"Jane56"`; exports[`internet > 1337 > displayName > with accented names 1`] = `"Hélene56"`; -exports[`internet > 1337 > domainName 1`] = `"fair-migration.com"`; +exports[`internet > 1337 > domainName 1`] = `"faithful-milestone.com"`; exports[`internet > 1337 > domainSuffix 1`] = `"biz"`; -exports[`internet > 1337 > domainWord 1`] = `"fair-migration"`; +exports[`internet > 1337 > domainWord 1`] = `"faithful-milestone"`; exports[`internet > 1337 > email > noArgs 1`] = `"Kellen27@gmail.com"`; @@ -222,11 +222,11 @@ exports[`internet > 1337 > port 1`] = `17172`; exports[`internet > 1337 > protocol 1`] = `"http"`; -exports[`internet > 1337 > url > noArgs 1`] = `"https://neat-chopstick.biz/"`; +exports[`internet > 1337 > url > noArgs 1`] = `"https://necessary-chowder.biz/"`; -exports[`internet > 1337 > url > with slash appended 1`] = `"https://fair-migration.com/"`; +exports[`internet > 1337 > url > with slash appended 1`] = `"https://faithful-milestone.com/"`; -exports[`internet > 1337 > url > without slash appended and with http protocol 1`] = `"http://fair-migration.com"`; +exports[`internet > 1337 > url > without slash appended and with http protocol 1`] = `"http://faithful-milestone.com"`; exports[`internet > 1337 > userAgent 1`] = `"Mozilla/5.0 (Windows; U; Windows NT 6.1) AppleWebKit/532.0.0 (KHTML, like Gecko) Chrome/13.0.832.0 Safari/532.0.0"`; diff --git a/test/__snapshots__/random.spec.ts.snap b/test/__snapshots__/random.spec.ts.snap index 483ff05e..7f01d87e 100644 --- a/test/__snapshots__/random.spec.ts.snap +++ b/test/__snapshots__/random.spec.ts.snap @@ -18,7 +18,7 @@ exports[`random > 42 > word 1`] = `"responsive"`; exports[`random > 42 > words > noArgs 1`] = `"lavender Shoes"`; -exports[`random > 42 > words > with length 1`] = `"responsive comeback Neptunium Hip deposit"`; +exports[`random > 42 > words > with length 1`] = `"responsive comma Neptunium Hip deposit"`; exports[`random > 42 > words > with length range 1`] = `"lavender Shoes"`; @@ -38,11 +38,11 @@ exports[`random > 1211 > numeric > with length 1`] = `"94872"`; exports[`random > 1211 > word 1`] = `"gah"`; -exports[`random > 1211 > words > noArgs 1`] = `"invoice Cyclocross assault"`; +exports[`random > 1211 > words > noArgs 1`] = `"invoice Cyclocross assail"`; -exports[`random > 1211 > words > with length 1`] = `"gah strictly Rustic assault Manager"`; +exports[`random > 1211 > words > with length 1`] = `"gah strictly Rustic assail Manager"`; -exports[`random > 1211 > words > with length range 1`] = `"invoice Cyclocross assault Manager New"`; +exports[`random > 1211 > words > with length range 1`] = `"invoice Cyclocross assail Manager New"`; exports[`random > 1337 > alpha > noArgs 1`] = `"n"`; diff --git a/test/__snapshots__/system.spec.ts.snap b/test/__snapshots__/system.spec.ts.snap index 7af6e9c0..edb8e00c 100644 --- a/test/__snapshots__/system.spec.ts.snap +++ b/test/__snapshots__/system.spec.ts.snap @@ -2,9 +2,9 @@ exports[`system > 42 > commonFileExt 1`] = `"png"`; -exports[`system > 42 > commonFileName > noArgs 1`] = `"nonbeliever_stub.png"`; +exports[`system > 42 > commonFileName > noArgs 1`] = `"noon_stump.png"`; -exports[`system > 42 > commonFileName > with extension 1`] = `"nonbeliever_stub.ext"`; +exports[`system > 42 > commonFileName > with extension 1`] = `"noon_stump.ext"`; exports[`system > 42 > commonFileType 1`] = `"audio"`; @@ -24,13 +24,13 @@ exports[`system > 42 > fileExt > noArgs 1`] = `"lrm"`; exports[`system > 42 > fileExt > with mimeType 1`] = `"json"`; -exports[`system > 42 > fileName > noArgs 1`] = `"nonbeliever_stub.skt"`; +exports[`system > 42 > fileName > noArgs 1`] = `"noon_stump.skt"`; -exports[`system > 42 > fileName > with extensionCount 1`] = `"nonbeliever_stub.skt.latex"`; +exports[`system > 42 > fileName > with extensionCount 1`] = `"noon_stump.skt.latex"`; -exports[`system > 42 > fileName > with extensionCount range 1`] = `"nonbeliever_stub.latex"`; +exports[`system > 42 > fileName > with extensionCount range 1`] = `"noon_stump.latex"`; -exports[`system > 42 > filePath 1`] = `"/opt/bin/crowded_fail_woefully.dra"`; +exports[`system > 42 > filePath 1`] = `"/opt/bin/crooked_fantasise_woefully.dra"`; exports[`system > 42 > fileType 1`] = `"image"`; @@ -190,7 +190,7 @@ exports[`system > 1337 > fileName > with extensionCount 1`] = `"although.chrt.dp exports[`system > 1337 > fileName > with extensionCount range 1`] = `"although"`; -exports[`system > 1337 > filePath 1`] = `"/Library/yum_fast.aiff"`; +exports[`system > 1337 > filePath 1`] = `"/Library/yum_fat.aiff"`; exports[`system > 1337 > fileType 1`] = `"font"`; diff --git a/test/__snapshots__/word.spec.ts.snap b/test/__snapshots__/word.spec.ts.snap index dabcfa9c..80fce35c 100644 --- a/test/__snapshots__/word.spec.ts.snap +++ b/test/__snapshots__/word.spec.ts.snap @@ -12,11 +12,11 @@ exports[`word > 42 > adjective > with options.length and options.strategy 1`] = exports[`word > 42 > adjective > with options.strategy 1`] = `"hot"`; -exports[`word > 42 > adverb > noArgs 1`] = `"jealously"`; +exports[`word > 42 > adverb > noArgs 1`] = `"jaggedly"`; exports[`word > 42 > adverb > with length = 10 1`] = `"generously"`; -exports[`word > 42 > adverb > with length = 20 1`] = `"jealously"`; +exports[`word > 42 > adverb > with length = 20 1`] = `"jaggedly"`; exports[`word > 42 > adverb > with options.length 1`] = `"generously"`; @@ -48,11 +48,11 @@ exports[`word > 42 > interjection > with options.length and options.strategy 1`] exports[`word > 42 > interjection > with options.strategy 1`] = `"ah"`; -exports[`word > 42 > noun > noArgs 1`] = `"galley"`; +exports[`word > 42 > noun > noArgs 1`] = `"gaming"`; exports[`word > 42 > noun > with length = 10 1`] = `"extinction"`; -exports[`word > 42 > noun > with length = 20 1`] = `"galley"`; +exports[`word > 42 > noun > with length = 20 1`] = `"gaming"`; exports[`word > 42 > noun > with options.length 1`] = `"extinction"`; @@ -84,27 +84,27 @@ exports[`word > 42 > sample > with options.length and options.strategy 1`] = `"g exports[`word > 42 > sample > with options.strategy 1`] = `"aw"`; -exports[`word > 42 > verb > noArgs 1`] = `"function"`; +exports[`word > 42 > verb > noArgs 1`] = `"gain"`; -exports[`word > 42 > verb > with length = 10 1`] = `"exasperate"`; +exports[`word > 42 > verb > with length = 10 1`] = `"exhilarate"`; -exports[`word > 42 > verb > with length = 20 1`] = `"function"`; +exports[`word > 42 > verb > with length = 20 1`] = `"gain"`; -exports[`word > 42 > verb > with options.length 1`] = `"exasperate"`; +exports[`word > 42 > verb > with options.length 1`] = `"exhilarate"`; exports[`word > 42 > verb > with options.length and options.strategy 1`] = `"institutionalise"`; exports[`word > 42 > verb > with options.strategy 1`] = `"cc"`; -exports[`word > 42 > words > noArgs 1`] = `"nonbeliever stub"`; +exports[`word > 42 > words > noArgs 1`] = `"noon stump"`; -exports[`word > 42 > words > with count = 10 1`] = `"eek loudly alibi abnormally aw great-grandmother nor without conjoin mind"`; +exports[`word > 42 > words > with count = 10 1`] = `"eek loudly alibi abnormally aw grenade nor without conscientize mini"`; -exports[`word > 42 > words > with count = 20 1`] = `"eek loudly alibi abnormally aw great-grandmother nor without conjoin mind power till gadzooks yippee unbend gentle between offensive yowza hone"`; +exports[`word > 42 > words > with count = 20 1`] = `"eek loudly alibi abnormally aw grenade nor without conscientize mini prayer till gadzooks yippee unblock gentle between official yowza horn"`; -exports[`word > 42 > words > with options.count 1`] = `"eek loudly alibi abnormally aw great-grandmother nor without conjoin mind"`; +exports[`word > 42 > words > with options.count 1`] = `"eek loudly alibi abnormally aw grenade nor without conscientize mini"`; -exports[`word > 42 > words > with options.count range 1`] = `"nonbeliever stub across dreamily accurate chunder boo neuropathologist loftily through detoxify about when boohoo grasp busily to grouchy beneath"`; +exports[`word > 42 > words > with options.count range 1`] = `"noon stump across dreamily accurate cite boo newsstand loftily through diagnose about when boohoo grin busily to grouchy beneath"`; exports[`word > 1211 > adjective > noArgs 1`] = `"vibrant"`; @@ -190,11 +190,11 @@ exports[`word > 1211 > sample > with options.length and options.strategy 1`] = ` exports[`word > 1211 > sample > with options.strategy 1`] = `"too"`; -exports[`word > 1211 > verb > noArgs 1`] = `"trick"`; +exports[`word > 1211 > verb > noArgs 1`] = `"trifle"`; exports[`word > 1211 > verb > with length = 10 1`] = `"trampoline"`; -exports[`word > 1211 > verb > with length = 20 1`] = `"trick"`; +exports[`word > 1211 > verb > with length = 20 1`] = `"trifle"`; exports[`word > 1211 > verb > with options.length 1`] = `"trampoline"`; @@ -204,21 +204,21 @@ exports[`word > 1211 > verb > with options.strategy 1`] = `"up"`; exports[`word > 1211 > words > noArgs 1`] = `"although instantly though"`; -exports[`word > 1211 > words > with count = 10 1`] = `"youthfully woot speedily gracefully positively hurry aw content thin monster"`; +exports[`word > 1211 > words > with count = 10 1`] = `"youthfully woot speedily gracefully poorly hydraulics aw contraindicate thin moon"`; -exports[`word > 1211 > words > with count = 20 1`] = `"youthfully woot speedily gracefully positively hurry aw content thin monster cinch for moonscape motivate science consequently whether per upon but"`; +exports[`word > 1211 > words > with count = 20 1`] = `"youthfully woot speedily gracefully poorly hydraulics aw contraindicate thin moon clack for morbidity muddle score consequently whether per upon but"`; -exports[`word > 1211 > words > with options.count 1`] = `"youthfully woot speedily gracefully positively hurry aw content thin monster"`; +exports[`word > 1211 > words > with options.count 1`] = `"youthfully woot speedily gracefully poorly hydraulics aw contraindicate thin moon"`; -exports[`word > 1211 > words > with options.count range 1`] = `"although instantly though which zowie salon except pumpkin frightened contain ark kindly next colorlessness out penalise internalize minus upgrade excitedly"`; +exports[`word > 1211 > words > with options.count range 1`] = `"although instantly though which zowie samovar except punishment frightened contort argument kindheartedly nice combine out perch intervene minus upgrade excitedly"`; -exports[`word > 1337 > adjective > noArgs 1`] = `"fair"`; +exports[`word > 1337 > adjective > noArgs 1`] = `"faithful"`; -exports[`word > 1337 > adjective > with length = 10 1`] = `"enchanting"`; +exports[`word > 1337 > adjective > with length = 10 1`] = `"equatorial"`; -exports[`word > 1337 > adjective > with length = 20 1`] = `"fair"`; +exports[`word > 1337 > adjective > with length = 20 1`] = `"faithful"`; -exports[`word > 1337 > adjective > with options.length 1`] = `"enchanting"`; +exports[`word > 1337 > adjective > with options.length 1`] = `"equatorial"`; exports[`word > 1337 > adjective > with options.length and options.strategy 1`] = `"black-and-white"`; @@ -260,11 +260,11 @@ exports[`word > 1337 > interjection > with options.length and options.strategy 1 exports[`word > 1337 > interjection > with options.strategy 1`] = `"ah"`; -exports[`word > 1337 > noun > noArgs 1`] = `"digit"`; +exports[`word > 1337 > noun > noArgs 1`] = `"diner"`; exports[`word > 1337 > noun > with length = 10 1`] = `"depression"`; -exports[`word > 1337 > noun > with length = 20 1`] = `"digit"`; +exports[`word > 1337 > noun > with length = 20 1`] = `"diner"`; exports[`word > 1337 > noun > with options.length 1`] = `"depression"`; @@ -296,13 +296,13 @@ exports[`word > 1337 > sample > with options.length and options.strategy 1`] = ` exports[`word > 1337 > sample > with options.strategy 1`] = `"if"`; -exports[`word > 1337 > verb > noArgs 1`] = `"dispense"`; +exports[`word > 1337 > verb > noArgs 1`] = `"disregard"`; -exports[`word > 1337 > verb > with length = 10 1`] = `"demoralize"`; +exports[`word > 1337 > verb > with length = 10 1`] = `"denominate"`; -exports[`word > 1337 > verb > with length = 20 1`] = `"dispense"`; +exports[`word > 1337 > verb > with length = 20 1`] = `"disregard"`; -exports[`word > 1337 > verb > with options.length 1`] = `"demoralize"`; +exports[`word > 1337 > verb > with options.length 1`] = `"denominate"`; exports[`word > 1337 > verb > with options.length and options.strategy 1`] = `"compartmentalize"`; @@ -310,10 +310,10 @@ exports[`word > 1337 > verb > with options.strategy 1`] = `"be"`; exports[`word > 1337 > words > noArgs 1`] = `"although"`; -exports[`word > 1337 > words > with count = 10 1`] = `"nor brr instead anenst intently hard larder team vacation repentant"`; +exports[`word > 1337 > words > with count = 10 1`] = `"nor brr instead anenst intently hard latency teem vaccinate required"`; -exports[`word > 1337 > words > with count = 20 1`] = `"nor brr instead anenst intently hard larder team vacation repentant compress the where duh ugh embryo lather rudely plaintiff sesame"`; +exports[`word > 1337 > words > with count = 20 1`] = `"nor brr instead anenst intently hard latency teem vaccinate required concentrate the where duh ugh emission leaflet rudely planula setting"`; -exports[`word > 1337 > words > with options.count 1`] = `"nor brr instead anenst intently hard larder team vacation repentant"`; +exports[`word > 1337 > words > with options.count 1`] = `"nor brr instead anenst intently hard latency teem vaccinate required"`; -exports[`word > 1337 > words > with options.count range 1`] = `"although within along limply loyally elegantly implicate maggot underneath afraid nor abrogate oof within gosh against editorialize sag"`; +exports[`word > 1337 > words > with options.count range 1`] = `"although within along limply lovingly elegantly imprison mail underneath afraid nor abrogate oof within gosh against elbow salt"`; -- cgit v1.2.3