From 01cacd5592c93587f73de35f70f74b01b85bce26 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Fri, 5 Aug 2022 18:07:25 +0200 Subject: [PATCH 1/2] chore(address): remove obsolete TODO (#1234) --- src/modules/address/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/address/index.ts b/src/modules/address/index.ts index 72ba6ed2185..96572cba9b3 100644 --- a/src/modules/address/index.ts +++ b/src/modules/address/index.ts @@ -465,7 +465,6 @@ export class Address { * faker.address.nearbyGPSCoordinate([33, -170]) // [ '33.0165', '-170.0636' ] * faker.address.nearbyGPSCoordinate([33, -170], 1000, true) // [ '37.9163', '-179.2408' ] */ - // TODO ST-DDT 2022-02-10: Allow coordinate parameter to be [string, string]. nearbyGPSCoordinate( coordinate?: [latitude: number, longitude: number], radius: number = 10, From 0668cfe393368f59feffbb0e96540603bc2d8755 Mon Sep 17 00:00:00 2001 From: griest024 Date: Fri, 5 Aug 2022 12:51:15 -0500 Subject: [PATCH 2/2] locale(en): remove word examples that contain spaces (#281) Co-authored-by: ST-DDT --- src/locales/en/word/conjunction.ts | 35 ++++++++---------------- src/locales/en/word/interjection.ts | 3 +- src/locales/en/word/noun.ts | 5 ---- test/__snapshots__/internet.spec.ts.snap | 18 ++++++------ test/__snapshots__/word.spec.ts.snap | 30 ++++++++++---------- 5 files changed, 37 insertions(+), 54 deletions(-) diff --git a/src/locales/en/word/conjunction.ts b/src/locales/en/word/conjunction.ts index 8e03623b4fe..e8efddeb9a3 100644 --- a/src/locales/en/word/conjunction.ts +++ b/src/locales/en/word/conjunction.ts @@ -1,64 +1,53 @@ export default [ 'after', - 'after all', 'although', 'and', 'as', - 'as a result', - 'as if', - 'as long as', - 'as much as', - 'as soon as', - 'as though', 'because', 'before', 'but', 'consequently', 'even', - 'even if', - 'even though', 'finally', 'for', - 'for example', 'furthermore', 'hence', + 'how', 'however', 'if', - 'if only', - 'if then', - 'if when', - 'in addition', - 'in fact', - 'in order that', 'inasmuch', 'incidentally', 'indeed', 'instead', - 'just as', 'lest', 'likewise', 'meanwhile', 'nor', 'now', - 'now since', - 'now that', - 'now when', 'once', 'or', 'provided', - 'provided that', - 'rather than', 'since', 'so', - 'so that', 'supposing', + 'than', 'that', 'though', + 'till', + 'unless', 'until', + 'what', + 'when', 'whenever', + 'where', 'whereas', 'wherever', + 'whether', 'which', + 'while', 'who', + 'whoever', + 'whose', + 'why', 'yet', ]; diff --git a/src/locales/en/word/interjection.ts b/src/locales/en/word/interjection.ts index c092f1086ec..5afc4c9bd8d 100644 --- a/src/locales/en/word/interjection.ts +++ b/src/locales/en/word/interjection.ts @@ -7,7 +7,7 @@ export default [ 'whoa', 'yowza', 'huzzah', - 'boo hoo', + 'boohoo', 'fooey', 'geez', 'pfft', @@ -33,7 +33,6 @@ export default [ 'duh', 'ha', 'mmm', - 'tsk tsk', 'ouch', 'phew', 'ack', diff --git a/src/locales/en/word/noun.ts b/src/locales/en/word/noun.ts index 3f5ca896ce0..da46f56e9c4 100644 --- a/src/locales/en/word/noun.ts +++ b/src/locales/en/word/noun.ts @@ -1363,7 +1363,6 @@ export default [ 'consumer', 'consumption', 'contact', - 'contact lens', 'contagion', 'container', 'content', @@ -1507,7 +1506,6 @@ export default [ 'credit', 'creditor', 'creek', - 'creme brulee', 'crepe', 'crest', 'crew', @@ -1962,9 +1960,7 @@ export default [ 'dulcimer', 'dumbwaiter', 'dump', - 'dump truck', 'dune', - 'dune buggy', 'dungarees', 'dungeon', 'duplexer', @@ -1972,7 +1968,6 @@ export default [ 'durian', 'dusk', 'dust', - 'dust storm', 'duster', 'duty', 'dwarf', diff --git a/test/__snapshots__/internet.spec.ts.snap b/test/__snapshots__/internet.spec.ts.snap index 75f60a8163a..bf5e94a4bf2 100644 --- a/test/__snapshots__/internet.spec.ts.snap +++ b/test/__snapshots__/internet.spec.ts.snap @@ -6,11 +6,11 @@ exports[`internet > 42 > color > noArgs 1`] = `"#30667a"`; exports[`internet > 42 > color > with color base 1`] = `"#6298ac"`; -exports[`internet > 42 > domainName 1`] = `"harmonious-shift.org"`; +exports[`internet > 42 > domainName 1`] = `"harmonious-shin.org"`; exports[`internet > 42 > domainSuffix 1`] = `"info"`; -exports[`internet > 42 > domainWord 1`] = `"harmonious-shift"`; +exports[`internet > 42 > domainWord 1`] = `"harmonious-shin"`; exports[`internet > 42 > email > noArgs 1`] = `"Peyton73@yahoo.com"`; @@ -52,7 +52,7 @@ exports[`internet > 42 > port 1`] = `24545`; exports[`internet > 42 > protocol 1`] = `"http"`; -exports[`internet > 42 > url 1`] = `"http://stable-vehicle.biz"`; +exports[`internet > 42 > url 1`] = `"http://stable-veil.biz"`; 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"`; @@ -66,11 +66,11 @@ exports[`internet > 1211 > color > noArgs 1`] = `"#773a72"`; exports[`internet > 1211 > color > with color base 1`] = `"#a96ca4"`; -exports[`internet > 1211 > domainName 1`] = `"verifiable-infection.org"`; +exports[`internet > 1211 > domainName 1`] = `"verifiable-infix.org"`; exports[`internet > 1211 > domainSuffix 1`] = `"org"`; -exports[`internet > 1211 > domainWord 1`] = `"verifiable-infection"`; +exports[`internet > 1211 > domainWord 1`] = `"verifiable-infix"`; exports[`internet > 1211 > email > noArgs 1`] = `"Jadon.Trantow12@hotmail.com"`; @@ -112,7 +112,7 @@ exports[`internet > 1211 > port 1`] = `60851`; exports[`internet > 1211 > protocol 1`] = `"https"`; -exports[`internet > 1211 > url 1`] = `"https://joyous-temperature.net"`; +exports[`internet > 1211 > url 1`] = `"https://joyous-temple.net"`; 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"`; @@ -126,11 +126,11 @@ exports[`internet > 1337 > color > noArgs 1`] = `"#214814"`; exports[`internet > 1337 > color > with color base 1`] = `"#537a46"`; -exports[`internet > 1337 > domainName 1`] = `"fabulous-might.com"`; +exports[`internet > 1337 > domainName 1`] = `"fabulous-migration.com"`; exports[`internet > 1337 > domainSuffix 1`] = `"biz"`; -exports[`internet > 1337 > domainWord 1`] = `"fabulous-might"`; +exports[`internet > 1337 > domainWord 1`] = `"fabulous-migration"`; exports[`internet > 1337 > email > noArgs 1`] = `"Keith27@gmail.com"`; @@ -172,7 +172,7 @@ exports[`internet > 1337 > port 1`] = `17172`; exports[`internet > 1337 > protocol 1`] = `"http"`; -exports[`internet > 1337 > url 1`] = `"http://neat-chopsticks.biz"`; +exports[`internet > 1337 > url 1`] = `"http://neat-chopstick.biz"`; 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__/word.spec.ts.snap b/test/__snapshots__/word.spec.ts.snap index 76ca9d16375..6a3c75754c2 100644 --- a/test/__snapshots__/word.spec.ts.snap +++ b/test/__snapshots__/word.spec.ts.snap @@ -12,11 +12,11 @@ exports[`word > 42 > adverb > with length = 10 1`] = `"generously"`; exports[`word > 42 > adverb > with length = 20 1`] = `"jealously"`; -exports[`word > 42 > conjunction > noArgs 1`] = `"however"`; +exports[`word > 42 > conjunction > noArgs 1`] = `"instead"`; -exports[`word > 42 > conjunction > with length = 10 1`] = `"as much as"`; +exports[`word > 42 > conjunction > with length = 10 1`] = `"instead"`; -exports[`word > 42 > conjunction > with length = 20 1`] = `"however"`; +exports[`word > 42 > conjunction > with length = 20 1`] = `"instead"`; exports[`word > 42 > interjection > noArgs 1`] = `"yahoo"`; @@ -24,11 +24,11 @@ exports[`word > 42 > interjection > with length = 10 1`] = `"yahoo"`; exports[`word > 42 > interjection > with length = 20 1`] = `"yahoo"`; -exports[`word > 42 > noun > noArgs 1`] = `"gale"`; +exports[`word > 42 > noun > noArgs 1`] = `"galley"`; -exports[`word > 42 > noun > with length = 10 1`] = `"exposition"`; +exports[`word > 42 > noun > with length = 10 1`] = `"extinction"`; -exports[`word > 42 > noun > with length = 20 1`] = `"gale"`; +exports[`word > 42 > noun > with length = 20 1`] = `"galley"`; exports[`word > 42 > preposition > noArgs 1`] = `"concerning"`; @@ -54,11 +54,11 @@ exports[`word > 1211 > adverb > with length = 10 1`] = `"unbearably"`; exports[`word > 1211 > adverb > with length = 20 1`] = `"viciously"`; -exports[`word > 1211 > conjunction > noArgs 1`] = `"whereas"`; +exports[`word > 1211 > conjunction > noArgs 1`] = `"whoever"`; -exports[`word > 1211 > conjunction > with length = 10 1`] = `"as soon as"`; +exports[`word > 1211 > conjunction > with length = 10 1`] = `"whoever"`; -exports[`word > 1211 > conjunction > with length = 20 1`] = `"whereas"`; +exports[`word > 1211 > conjunction > with length = 20 1`] = `"whoever"`; exports[`word > 1211 > interjection > noArgs 1`] = `"er"`; @@ -66,11 +66,11 @@ exports[`word > 1211 > interjection > with length = 10 1`] = `"er"`; exports[`word > 1211 > interjection > with length = 20 1`] = `"er"`; -exports[`word > 1211 > noun > noArgs 1`] = `"trick"`; +exports[`word > 1211 > noun > noArgs 1`] = `"trigger"`; exports[`word > 1211 > noun > with length = 10 1`] = `"trafficker"`; -exports[`word > 1211 > noun > with length = 20 1`] = `"trick"`; +exports[`word > 1211 > noun > with length = 20 1`] = `"trigger"`; exports[`word > 1211 > preposition > noArgs 1`] = `"upon"`; @@ -96,11 +96,11 @@ exports[`word > 1337 > adverb > with length = 10 1`] = `"enormously"`; exports[`word > 1337 > adverb > with length = 20 1`] = `"frankly"`; -exports[`word > 1337 > conjunction > noArgs 1`] = `"even if"`; +exports[`word > 1337 > conjunction > noArgs 1`] = `"how"`; -exports[`word > 1337 > conjunction > with length = 10 1`] = `"as long as"`; +exports[`word > 1337 > conjunction > with length = 10 1`] = `"how"`; -exports[`word > 1337 > conjunction > with length = 20 1`] = `"even if"`; +exports[`word > 1337 > conjunction > with length = 20 1`] = `"how"`; exports[`word > 1337 > interjection > noArgs 1`] = `"ew"`; @@ -110,7 +110,7 @@ exports[`word > 1337 > interjection > with length = 20 1`] = `"ew"`; exports[`word > 1337 > noun > noArgs 1`] = `"digit"`; -exports[`word > 1337 > noun > with length = 10 1`] = `"depressive"`; +exports[`word > 1337 > noun > with length = 10 1`] = `"depression"`; exports[`word > 1337 > noun > with length = 20 1`] = `"digit"`;