From 8f741bd4bda455517fd048b83d76bd8e6d89d78e Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 15 May 2023 08:24:13 +0200 Subject: [PATCH] docs: switch doc links to stable (#2152) --- README.md | 12 ++++++------ src/faker.ts | 14 +++++++------- src/locale-proxy.ts | 2 +- src/modules/airline/index.ts | 8 ++++---- src/modules/animal/index.ts | 4 ++-- src/modules/color/index.ts | 4 ++-- src/modules/commerce/index.ts | 6 +++--- src/modules/company/index.ts | 8 ++++---- src/modules/database/index.ts | 4 ++-- src/modules/datatype/index.ts | 4 ++-- src/modules/date/index.ts | 12 ++++++------ src/modules/finance/index.ts | 8 ++++---- src/modules/git/index.ts | 2 +- src/modules/hacker/index.ts | 8 ++++---- src/modules/helpers/index.ts | 6 +++--- src/modules/image/index.ts | 8 ++++---- src/modules/internet/index.ts | 8 ++++---- src/modules/location/index.ts | 6 +++--- src/modules/lorem/index.ts | 4 ++-- src/modules/music/index.ts | 2 +- src/modules/number/index.ts | 8 ++++---- src/modules/person/index.ts | 10 +++++----- src/modules/phone/index.ts | 2 +- src/modules/string/index.ts | 10 +++++----- src/modules/vehicle/index.ts | 4 ++-- test/locale-proxy.spec.ts | 4 ++-- test/location.spec.ts | 2 +- 27 files changed, 85 insertions(+), 85 deletions(-) diff --git a/README.md b/README.md index 1d16c55090c..b6dbd6b89d6 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,11 @@ Please proceed to the [Getting Started Guide](https://fakerjs.dev/guide/) for th For detailed API documentation, please select the version of the documentation you are looking for. -| Version | Website | -| :---------: | :------------------------ | -| v8 (next) | https://next.fakerjs.dev/ | -| v7 (stable) | https://fakerjs.dev/ | -| v6 (old) | https://v6.fakerjs.dev/ | +| Version | Website | +| :----------: | :------------------------ | +| v8.\* (next) | https://next.fakerjs.dev/ | +| v8 (stable) | https://fakerjs.dev/ | +| v7 (old) | https://v7.fakerjs.dev/ | --- @@ -87,7 +87,7 @@ Thus, limiting the import to a single locale can speed up startup times. ## 💎 Modules -An in-depth overview of the API methods is available in the documentation for [v7 (stable)](https://fakerjs.dev/api/) and [v8 (next)](https://next.fakerjs.dev/api/). +An in-depth overview of the API methods is available in the documentation for [v8 (stable)](https://fakerjs.dev/api/) and [v8.\* (next)](https://next.fakerjs.dev/api/). ### Templates diff --git a/src/faker.ts b/src/faker.ts index e715234d0ec..45ae98162e2 100644 --- a/src/faker.ts +++ b/src/faker.ts @@ -79,7 +79,7 @@ export class Faker { * The function must return a new valid `Date` instance for every call. * Defaults to `() => new Date()`. * - * @see [Reproducible Results](https://next.fakerjs.dev/guide/usage.html#reproducible-results) + * @see [Reproducible Results](https://fakerjs.dev/guide/usage.html#reproducible-results) * @see faker.seed() for reproducible results. * * @example @@ -180,7 +180,7 @@ export class Faker { * * You only need to use the constructor if you need custom fallback logic or a custom locale. * - * For more information see our [Localization Guide](https://next.fakerjs.dev/guide/localization.html). + * For more information see our [Localization Guide](https://fakerjs.dev/guide/localization.html). * * @param options The options to use. * @param options.locale The locale data to use. @@ -213,7 +213,7 @@ export class Faker { * * You only need to use the constructor if you need custom fallback logic or a custom locale. * - * For more information see our [Localization Guide](https://next.fakerjs.dev/guide/localization.html). + * For more information see our [Localization Guide](https://fakerjs.dev/guide/localization.html). * * @param options The options to use. * @param options.locales The locale data to use. @@ -235,7 +235,7 @@ export class Faker { * * You only need to use the constructor if you need custom fallback logic or a custom locale. * - * For more information see our [Localization Guide](https://next.fakerjs.dev/guide/localization.html). + * For more information see our [Localization Guide](https://fakerjs.dev/guide/localization.html). * * @param options The options to use. * @param options.locale The locale data to use or the name of the main locale. @@ -353,7 +353,7 @@ export class Faker { * * @returns The seed that was set. * - * @see [Reproducible Results](https://next.fakerjs.dev/guide/usage.html#reproducible-results) + * @see [Reproducible Results](https://fakerjs.dev/guide/usage.html#reproducible-results) * @see faker.setDefaultRefDate() when generating relative dates. * * @example @@ -388,7 +388,7 @@ export class Faker { * * @returns The seed array that was set. * - * @see [Reproducible Results](https://next.fakerjs.dev/guide/usage.html#reproducible-results) + * @see [Reproducible Results](https://fakerjs.dev/guide/usage.html#reproducible-results) * @see faker.setDefaultRefDate() when generating relative dates. * * @example @@ -423,7 +423,7 @@ export class Faker { * * @returns The seed that was set. * - * @see [Reproducible Results](https://next.fakerjs.dev/guide/usage.html#reproducible-results) + * @see [Reproducible Results](https://fakerjs.dev/guide/usage.html#reproducible-results) * @see faker.setDefaultRefDate() when generating relative dates. * * @example diff --git a/src/locale-proxy.ts b/src/locale-proxy.ts index 47b371d66c8..fb51fe818db 100644 --- a/src/locale-proxy.ts +++ b/src/locale-proxy.ts @@ -88,7 +88,7 @@ function createCategoryProxy< throw new FakerError( `The locale data for '${categoryName}.${entryName.toString()}' are missing in this locale. Please contribute the missing data to the project or use a locale/Faker instance that has these data. - For more information see https://next.fakerjs.dev/guide/localization.html` + For more information see https://fakerjs.dev/guide/localization.html` ); } else { return value; diff --git a/src/modules/airline/index.ts b/src/modules/airline/index.ts index a9432dc6736..e387cecf0b3 100644 --- a/src/modules/airline/index.ts +++ b/src/modules/airline/index.ts @@ -67,15 +67,15 @@ const aircraftTypeSeats: Record = { * * Several methods in this module return objects rather than strings. For example, you can use `faker.airline.airport().iataCode` to pick out the specific property you need. * - * For a random airport, use [`airport()`](https://next.fakerjs.dev/api/airline.html#airport). + * For a random airport, use [`airport()`](https://fakerjs.dev/api/airline.html#airport). * - * For a random airline, use [`airline()`](https://next.fakerjs.dev/api/airline.html#airline). + * For a random airline, use [`airline()`](https://fakerjs.dev/api/airline.html#airline). * - * For a dummy booking, a passenger will generally book a flight on a specific [`flightNumber()`](https://next.fakerjs.dev/api/airline.html#flightnumber), [`airplane()`](https://next.fakerjs.dev/api/airline.html#airplane), be allocated a [`seat()`](https://next.fakerjs.dev/api/airline.html#seat), and [`recordLocator()`](https://next.fakerjs.dev/api/airline.html#recordlocator). + * For a dummy booking, a passenger will generally book a flight on a specific [`flightNumber()`](https://fakerjs.dev/api/airline.html#flightnumber), [`airplane()`](https://fakerjs.dev/api/airline.html#airplane), be allocated a [`seat()`](https://fakerjs.dev/api/airline.html#seat), and [`recordLocator()`](https://fakerjs.dev/api/airline.html#recordlocator). * * ### Related Modules * - * - To generate sample passenger data, you can use the methods of the [`faker.person`](https://next.fakerjs.dev/api/person.html) module. + * - To generate sample passenger data, you can use the methods of the [`faker.person`](https://fakerjs.dev/api/person.html) module. */ export class AirlineModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/animal/index.ts b/src/modules/animal/index.ts index 9442839febe..f4d69bbd3a9 100644 --- a/src/modules/animal/index.ts +++ b/src/modules/animal/index.ts @@ -5,9 +5,9 @@ import type { Faker } from '../..'; * * ### Overview * - * For a general type of animal (e.g. `'dog'`), use [`type()`](https://next.fakerjs.dev/api/animal.html#type). + * For a general type of animal (e.g. `'dog'`), use [`type()`](https://fakerjs.dev/api/animal.html#type). * - * Otherwise, use one of the more specific methods, such as [`cat()`](https://next.fakerjs.dev/api/animal.html#cat) for a specific breed of cat. + * Otherwise, use one of the more specific methods, such as [`cat()`](https://fakerjs.dev/api/animal.html#cat) for a specific breed of cat. * * All values may be localized. */ diff --git a/src/modules/color/index.ts b/src/modules/color/index.ts index 5e4582dfae4..a3519225eee 100644 --- a/src/modules/color/index.ts +++ b/src/modules/color/index.ts @@ -166,9 +166,9 @@ function toColorFormat( * * ### Overview * - * For a human-readable color like `'red'`, use [`human()`](https://next.fakerjs.dev/api/color.html#human). + * For a human-readable color like `'red'`, use [`human()`](https://fakerjs.dev/api/color.html#human). * - * For a hex color like `#ff0000` used in HTML/CSS, use [`rgb()`](https://next.fakerjs.dev/api/color.html#rgb). There are also methods for other color formats such as [`hsl()`](https://next.fakerjs.dev/api/color.html#hsl), [`cmyk()`](https://next.fakerjs.dev/api/color.html#cmyk), [`hwb()`](https://next.fakerjs.dev/api/color.html#hwb), [`lab()`](https://next.fakerjs.dev/api/color.html#lab), and [`lch()`](https://next.fakerjs.dev/api/color.html#lch). + * For a hex color like `#ff0000` used in HTML/CSS, use [`rgb()`](https://fakerjs.dev/api/color.html#rgb). There are also methods for other color formats such as [`hsl()`](https://fakerjs.dev/api/color.html#hsl), [`cmyk()`](https://fakerjs.dev/api/color.html#cmyk), [`hwb()`](https://fakerjs.dev/api/color.html#hwb), [`lab()`](https://fakerjs.dev/api/color.html#lab), and [`lch()`](https://fakerjs.dev/api/color.html#lch). */ export class ColorModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/commerce/index.ts b/src/modules/commerce/index.ts index ffb602b0150..89f4771134b 100644 --- a/src/modules/commerce/index.ts +++ b/src/modules/commerce/index.ts @@ -6,11 +6,11 @@ import { deprecated } from '../../internal/deprecated'; * * ### Overview * - * For a long product name like `'Incredible Soft Gloves'`, use [`productName()`](https://next.fakerjs.dev/api/commerce.html#productname). The product names are generated from a list of adjectives, materials, and products, which can each be accessed separately using [`productAdjective()`](https://next.fakerjs.dev/api/commerce.html#productadjective), [`productMaterial()`](https://next.fakerjs.dev/api/commerce.html#productmaterial), and [`product()`](https://next.fakerjs.dev/api/commerce.html#product). You can also create a description using [`productDescription()`](https://next.fakerjs.dev/api/commerce.html#productdescription). + * For a long product name like `'Incredible Soft Gloves'`, use [`productName()`](https://fakerjs.dev/api/commerce.html#productname). The product names are generated from a list of adjectives, materials, and products, which can each be accessed separately using [`productAdjective()`](https://fakerjs.dev/api/commerce.html#productadjective), [`productMaterial()`](https://fakerjs.dev/api/commerce.html#productmaterial), and [`product()`](https://fakerjs.dev/api/commerce.html#product). You can also create a description using [`productDescription()`](https://fakerjs.dev/api/commerce.html#productdescription). * - * For a department in a shop or product category, use [`department()`](https://next.fakerjs.dev/api/commerce.html#department). + * For a department in a shop or product category, use [`department()`](https://fakerjs.dev/api/commerce.html#department). * - * You can also create a price using [`price()`](https://next.fakerjs.dev/api/commerce.html#price). + * You can also create a price using [`price()`](https://fakerjs.dev/api/commerce.html#price). */ export class CommerceModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/company/index.ts b/src/modules/company/index.ts index 40177ec0f82..a199c591a54 100644 --- a/src/modules/company/index.ts +++ b/src/modules/company/index.ts @@ -6,14 +6,14 @@ import { deprecated } from '../../internal/deprecated'; * * ### Overview * - * To generate a random company name, use [`name()`](https://next.fakerjs.dev/api/company.html#name). This is localized in many locales. + * To generate a random company name, use [`name()`](https://fakerjs.dev/api/company.html#name). This is localized in many locales. * - * To generate jargon-filled company catchphrases and buzzwords, use [`catchPhrase()`](https://next.fakerjs.dev/api/company.html#catchphrase) or [`buzzPhrase()`](https://next.fakerjs.dev/api/company.html#buzzphrase). + * To generate jargon-filled company catchphrases and buzzwords, use [`catchPhrase()`](https://fakerjs.dev/api/company.html#catchphrase) or [`buzzPhrase()`](https://fakerjs.dev/api/company.html#buzzphrase). * * ### Related Modules * - * - For products and commerce, use [`faker.commerce`](https://next.fakerjs.dev/api/commerce.html). - * - For finance-related entries, use [`faker.finance`](https://next.fakerjs.dev/api/finance.html). + * - For products and commerce, use [`faker.commerce`](https://fakerjs.dev/api/commerce.html). + * - For finance-related entries, use [`faker.finance`](https://fakerjs.dev/api/finance.html). */ export class CompanyModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/database/index.ts b/src/modules/database/index.ts index 5f4977211a6..ced5a3ef465 100644 --- a/src/modules/database/index.ts +++ b/src/modules/database/index.ts @@ -5,9 +5,9 @@ import type { Faker } from '../..'; * * ### Overview * - * Traditional relational database tables have data organized in columns with specific types - [`column()`](https://next.fakerjs.dev/api/database.html#column), [`type()`](https://next.fakerjs.dev/api/database.html#type). The database usually has an [`engine()`](https://next.fakerjs.dev/api/database.html#engine) and a default [`collation()`](https://next.fakerjs.dev/api/database.html#collation) for sorting. + * Traditional relational database tables have data organized in columns with specific types - [`column()`](https://fakerjs.dev/api/database.html#column), [`type()`](https://fakerjs.dev/api/database.html#type). The database usually has an [`engine()`](https://fakerjs.dev/api/database.html#engine) and a default [`collation()`](https://fakerjs.dev/api/database.html#collation) for sorting. * - * For the NoSQL database MongoDB, [`mongodbObjectId()`](https://next.fakerjs.dev/api/database.html#mongodbobjectid) provides a random ID. + * For the NoSQL database MongoDB, [`mongodbObjectId()`](https://fakerjs.dev/api/database.html#mongodbobjectid) provides a random ID. */ export class DatabaseModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/datatype/index.ts b/src/modules/datatype/index.ts index 0c5fddc8d10..5fee2c0efcf 100644 --- a/src/modules/datatype/index.ts +++ b/src/modules/datatype/index.ts @@ -6,9 +6,9 @@ import { deprecated } from '../../internal/deprecated'; * * ### Overview * - * Most of the methods in this module are deprecated and have been moved to other modules like [`faker.number`](https://next.fakerjs.dev/api/number.html) and [`faker.string`](https://next.fakerjs.dev/api/string.html), see individual entries for replacements. + * Most of the methods in this module are deprecated and have been moved to other modules like [`faker.number`](https://fakerjs.dev/api/number.html) and [`faker.string`](https://fakerjs.dev/api/string.html), see individual entries for replacements. * - * For a simple random true or false value, use [`boolean()`](https://next.fakerjs.dev/api/datatype.html#boolean). + * For a simple random true or false value, use [`boolean()`](https://fakerjs.dev/api/datatype.html#boolean). */ export class DatatypeModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/date/index.ts b/src/modules/date/index.ts index feac3692215..b50a548ad4c 100644 --- a/src/modules/date/index.ts +++ b/src/modules/date/index.ts @@ -27,15 +27,15 @@ function toDate( * * ### Overview * - * To quickly generate a date in the past, use [`recent()`](https://next.fakerjs.dev/api/date.html#recent) (last day) or [`past()`](https://next.fakerjs.dev/api/date.html#past) (last year). - * To quickly generate a date in the future, use [`soon()`](https://next.fakerjs.dev/api/date.html#soon) (next day) or [`future()`](https://next.fakerjs.dev/api/date.html#future) (next year). - * For a realistic birthdate for an adult, use [`birthdate()`](https://next.fakerjs.dev/api/date.html#birthdate). + * To quickly generate a date in the past, use [`recent()`](https://fakerjs.dev/api/date.html#recent) (last day) or [`past()`](https://fakerjs.dev/api/date.html#past) (last year). + * To quickly generate a date in the future, use [`soon()`](https://fakerjs.dev/api/date.html#soon) (next day) or [`future()`](https://fakerjs.dev/api/date.html#future) (next year). + * For a realistic birthdate for an adult, use [`birthdate()`](https://fakerjs.dev/api/date.html#birthdate). * - * For more control, any of these methods can be customized with further options, or use [`between()`](https://next.fakerjs.dev/api/date.html#between) to generate a single date between two dates, or [`betweens()`](https://next.fakerjs.dev/api/date.html#betweens) for multiple dates. + * For more control, any of these methods can be customized with further options, or use [`between()`](https://fakerjs.dev/api/date.html#between) to generate a single date between two dates, or [`betweens()`](https://fakerjs.dev/api/date.html#betweens) for multiple dates. * - * You can generate random localized month and weekday names using [`month()`](https://next.fakerjs.dev/api/date.html#month) and [`weekday()`](https://next.fakerjs.dev/api/date.html#weekday). + * You can generate random localized month and weekday names using [`month()`](https://fakerjs.dev/api/date.html#month) and [`weekday()`](https://fakerjs.dev/api/date.html#weekday). * - * These methods have additional concerns about reproducibility, see [Reproducible Results](https://next.fakerjs.dev/guide/usage.html#reproducible-results). + * These methods have additional concerns about reproducibility, see [Reproducible Results](https://fakerjs.dev/guide/usage.html#reproducible-results). */ export class DateModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/finance/index.ts b/src/modules/finance/index.ts index 4add0243138..0e00c933645 100644 --- a/src/modules/finance/index.ts +++ b/src/modules/finance/index.ts @@ -28,13 +28,13 @@ export interface Currency { * * ### Overview * - * For a random amount, use [`amount()`](https://next.fakerjs.dev/api/finance.html#amount). + * For a random amount, use [`amount()`](https://fakerjs.dev/api/finance.html#amount). * - * For traditional bank accounts, use: [`accountNumber()`](https://next.fakerjs.dev/api/finance.html#accountnumber), [`accountName()`](https://next.fakerjs.dev/api/finance.html#accountname), [`bic()`](https://next.fakerjs.dev/api/finance.html#bic), [`iban()`](https://next.fakerjs.dev/api/finance.html#iban), [`pin()`](https://next.fakerjs.dev/api/finance.html#pin) and [`routingNumber()`](https://next.fakerjs.dev/api/finance.html#routingnumber). + * For traditional bank accounts, use: [`accountNumber()`](https://fakerjs.dev/api/finance.html#accountnumber), [`accountName()`](https://fakerjs.dev/api/finance.html#accountname), [`bic()`](https://fakerjs.dev/api/finance.html#bic), [`iban()`](https://fakerjs.dev/api/finance.html#iban), [`pin()`](https://fakerjs.dev/api/finance.html#pin) and [`routingNumber()`](https://fakerjs.dev/api/finance.html#routingnumber). * - * For credit card related methods, use: [`creditCardNumber()`](https://next.fakerjs.dev/api/finance.html#creditcardnumber), [`creditCardCVV()`](https://next.fakerjs.dev/api/finance.html#creditcardcvv), [`creditCardIssuer()`](https://next.fakerjs.dev/api/finance.html#creditcardissuer), [`transactionDescription()`](https://next.fakerjs.dev/api/finance.html#transactiondescription) and [`transactionType()`](https://next.fakerjs.dev/api/finance.html#transactiontype). + * For credit card related methods, use: [`creditCardNumber()`](https://fakerjs.dev/api/finance.html#creditcardnumber), [`creditCardCVV()`](https://fakerjs.dev/api/finance.html#creditcardcvv), [`creditCardIssuer()`](https://fakerjs.dev/api/finance.html#creditcardissuer), [`transactionDescription()`](https://fakerjs.dev/api/finance.html#transactiondescription) and [`transactionType()`](https://fakerjs.dev/api/finance.html#transactiontype). * - * For blockchain related methods, use: [`bitcoinAddress()`](https://next.fakerjs.dev/api/finance.html#bitcoinaddress), [`ethereumAddress()`](https://next.fakerjs.dev/api/finance.html#ethereumaddress) and [`litecoinAddress()`](https://next.fakerjs.dev/api/finance.html#litecoinaddress). + * For blockchain related methods, use: [`bitcoinAddress()`](https://fakerjs.dev/api/finance.html#bitcoinaddress), [`ethereumAddress()`](https://fakerjs.dev/api/finance.html#ethereumaddress) and [`litecoinAddress()`](https://fakerjs.dev/api/finance.html#litecoinaddress). */ export class FinanceModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts index 791ea06b22d..05a8008102c 100644 --- a/src/modules/git/index.ts +++ b/src/modules/git/index.ts @@ -24,7 +24,7 @@ const GIT_TIMEZONE_FORMAT = new Intl.NumberFormat('en', { * * ### Overview * - * [`commitEntry()`](https://next.fakerjs.dev/api/git.html#commitentry) generates a random commit entry as printed by `git log`. This includes a commit hash [`commitSha()`](https://next.fakerjs.dev/api/git.html#commitsha), author, date [`commitDate()`](https://next.fakerjs.dev/api/git.html#commitdate), and commit message [`commitMessage()`](https://next.fakerjs.dev/api/git.html#commitmessage). You can also generate a random branch name with [`branch()`](https://next.fakerjs.dev/api/git.html#branch). + * [`commitEntry()`](https://fakerjs.dev/api/git.html#commitentry) generates a random commit entry as printed by `git log`. This includes a commit hash [`commitSha()`](https://fakerjs.dev/api/git.html#commitsha), author, date [`commitDate()`](https://fakerjs.dev/api/git.html#commitdate), and commit message [`commitMessage()`](https://fakerjs.dev/api/git.html#commitmessage). You can also generate a random branch name with [`branch()`](https://fakerjs.dev/api/git.html#branch). */ export class GitModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/hacker/index.ts b/src/modules/hacker/index.ts index ef0aa013904..950848329c9 100644 --- a/src/modules/hacker/index.ts +++ b/src/modules/hacker/index.ts @@ -5,15 +5,15 @@ import type { Faker } from '../..'; * * ### Overview * - * There are methods for different parts of speech, such as [`abbreviation()`](https://next.fakerjs.dev/api/hacker.html#abbreviation), [`adjective()`](https://next.fakerjs.dev/api/hacker.html#adjective), [`noun()`](https://next.fakerjs.dev/api/hacker.html#noun), [`verb()`](https://next.fakerjs.dev/api/hacker.html#verb), and [`ingverb()`](https://next.fakerjs.dev/api/hacker.html#ingverb). Alternatively, [`phrase()`](https://next.fakerjs.dev/api/hacker.html#phrase) creates a longer phrase combining these words. + * There are methods for different parts of speech, such as [`abbreviation()`](https://fakerjs.dev/api/hacker.html#abbreviation), [`adjective()`](https://fakerjs.dev/api/hacker.html#adjective), [`noun()`](https://fakerjs.dev/api/hacker.html#noun), [`verb()`](https://fakerjs.dev/api/hacker.html#verb), and [`ingverb()`](https://fakerjs.dev/api/hacker.html#ingverb). Alternatively, [`phrase()`](https://fakerjs.dev/api/hacker.html#phrase) creates a longer phrase combining these words. * * ### Related modules * * Various modules allow for generating other types of words and phrases: * - * - [faker.word](https://next.fakerjs.dev/api/word.html) uses general vocabulary rather than hacker-specific terms. - * - [faker.lorem](https://next.fakerjs.dev/api/lorem.html) uses faux-Latin "lorem ipsum" text. - * - [faker.company](https://next.fakerjs.dev/api/company.html) includes corporate catchphrases and buzzwords. + * - [faker.word](https://fakerjs.dev/api/word.html) uses general vocabulary rather than hacker-specific terms. + * - [faker.lorem](https://fakerjs.dev/api/lorem.html) uses faux-Latin "lorem ipsum" text. + * - [faker.company](https://fakerjs.dev/api/company.html) includes corporate catchphrases and buzzwords. */ export class HackerModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/helpers/index.ts b/src/modules/helpers/index.ts index 3db15ca4141..228e410da96 100644 --- a/src/modules/helpers/index.ts +++ b/src/modules/helpers/index.ts @@ -76,11 +76,11 @@ function getRepetitionsBasedOnQuantifierParameters( * * ### Overview * - * A particularly helpful method is [`arrayElement()`](https://next.fakerjs.dev/api/helpers.html#arrayelement) which returns a random element from an array. This is useful when adding custom data that Faker doesn't contain. + * A particularly helpful method is [`arrayElement()`](https://fakerjs.dev/api/helpers.html#arrayelement) which returns a random element from an array. This is useful when adding custom data that Faker doesn't contain. * - * There are alternatives of this method for objects ([`objectKey()`](https://next.fakerjs.dev/api/helpers.html#objectkey) and [`objectValue()`](https://next.fakerjs.dev/api/helpers.html#objectvalue)) and enums ([`enumValue()`](https://next.fakerjs.dev/api/helpers.html#enumvalue)). You can also return multiple elements ([`arrayElements()`](https://next.fakerjs.dev/api/helpers.html#arrayelements)) or elements according to a weighting ([`weightedArrayElement()`](https://next.fakerjs.dev/api/helpers.html#weightedarrayelement)). + * There are alternatives of this method for objects ([`objectKey()`](https://fakerjs.dev/api/helpers.html#objectkey) and [`objectValue()`](https://fakerjs.dev/api/helpers.html#objectvalue)) and enums ([`enumValue()`](https://fakerjs.dev/api/helpers.html#enumvalue)). You can also return multiple elements ([`arrayElements()`](https://fakerjs.dev/api/helpers.html#arrayelements)) or elements according to a weighting ([`weightedArrayElement()`](https://fakerjs.dev/api/helpers.html#weightedarrayelement)). * - * A number of methods can generate strings according to various patterns: [`replaceSymbols()`](https://next.fakerjs.dev/api/helpers.html#replacesymbols), [`replaceSymbolWithNumber()`](https://next.fakerjs.dev/api/helpers.html#replacesymbolwithnumber), and [`fromRegExp()`](https://next.fakerjs.dev/api/helpers.html#fromregexp). + * A number of methods can generate strings according to various patterns: [`replaceSymbols()`](https://fakerjs.dev/api/helpers.html#replacesymbols), [`replaceSymbolWithNumber()`](https://fakerjs.dev/api/helpers.html#replacesymbolwithnumber), and [`fromRegExp()`](https://fakerjs.dev/api/helpers.html#fromregexp). */ export class HelpersModule { /** diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index 2e7806ff3b0..a44c2efb1ac 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -10,13 +10,13 @@ import { Unsplash } from './providers/unsplash'; * * ### Overview * - * For a random image, use [`url()`](https://next.fakerjs.dev/api/image.html#url). This will not return the image directly but a URL pointing to an image from one of two demo image providers "Picsum" and "LoremFlickr". You can request an image specifically from one of two providers using [`urlLoremFlickr()`](https://next.fakerjs.dev/api/image.html#urlloremflickr) or [`urlPicsumPhotos()`](https://next.fakerjs.dev/api/image.html#urlpicsumphotos). + * For a random image, use [`url()`](https://fakerjs.dev/api/image.html#url). This will not return the image directly but a URL pointing to an image from one of two demo image providers "Picsum" and "LoremFlickr". You can request an image specifically from one of two providers using [`urlLoremFlickr()`](https://fakerjs.dev/api/image.html#urlloremflickr) or [`urlPicsumPhotos()`](https://fakerjs.dev/api/image.html#urlpicsumphotos). * - * For a random placeholder image containing only solid color and text, use [`urlPlaceholder()`](https://next.fakerjs.dev/api/image.html#urlplaceholder) (uses a third-party service) or [`dataUri()`](https://next.fakerjs.dev/api/image.html#datauri) (returns a SVG string). + * For a random placeholder image containing only solid color and text, use [`urlPlaceholder()`](https://fakerjs.dev/api/image.html#urlplaceholder) (uses a third-party service) or [`dataUri()`](https://fakerjs.dev/api/image.html#datauri) (returns a SVG string). * - * For a random user avatar image, use [`avatar()`](https://next.fakerjs.dev/api/image.html#avatar). + * For a random user avatar image, use [`avatar()`](https://fakerjs.dev/api/image.html#avatar). * - * This module previously also contained methods for specifically themed images like "fashion" or "food", but these are now deprecated. If you need more control over image type, you can request categorized images using [`urlLoremFlickr()`](https://next.fakerjs.dev/api/image.html#urlloremflickr), use an image provider directly or provide your own set of placeholder images. + * This module previously also contained methods for specifically themed images like "fashion" or "food", but these are now deprecated. If you need more control over image type, you can request categorized images using [`urlLoremFlickr()`](https://fakerjs.dev/api/image.html#urlloremflickr), use an image provider directly or provide your own set of placeholder images. */ export class ImageModule { /** diff --git a/src/modules/internet/index.ts b/src/modules/internet/index.ts index 37ada74aa0d..d57627ac5b1 100644 --- a/src/modules/internet/index.ts +++ b/src/modules/internet/index.ts @@ -29,13 +29,13 @@ export type HTTPProtocolType = 'http' | 'https'; * * ### Overview * - * For user accounts, you may need an [`email()`](https://next.fakerjs.dev/api/internet.html#email) and a [`password()`](https://next.fakerjs.dev/api/internet.html#password), as well as a ASCII [`userName()`](https://next.fakerjs.dev/api/internet.html#username) or Unicode [`displayName()`](https://next.fakerjs.dev/api/internet.html#displayname), and an image [`avatar()`](https://next.fakerjs.dev/api/internet.html#avatar). Since the emails generated could coincidentally be real email addresses, you should not use these for sending real email addresses. If this is a concern, use [`exampleEmail()`](https://next.fakerjs.dev/api/internet.html#exampleemail) instead. + * For user accounts, you may need an [`email()`](https://fakerjs.dev/api/internet.html#email) and a [`password()`](https://fakerjs.dev/api/internet.html#password), as well as a ASCII [`userName()`](https://fakerjs.dev/api/internet.html#username) or Unicode [`displayName()`](https://fakerjs.dev/api/internet.html#displayname), and an image [`avatar()`](https://fakerjs.dev/api/internet.html#avatar). Since the emails generated could coincidentally be real email addresses, you should not use these for sending real email addresses. If this is a concern, use [`exampleEmail()`](https://fakerjs.dev/api/internet.html#exampleemail) instead. * - * For websites, you can generate a [`domainName()`](https://next.fakerjs.dev/api/internet.html#domainname) or a full [`url()`](https://next.fakerjs.dev/api/internet.html#url). + * For websites, you can generate a [`domainName()`](https://fakerjs.dev/api/internet.html#domainname) or a full [`url()`](https://fakerjs.dev/api/internet.html#url). * - * To make your data more 🔥, you can use [`emoji()`](https://next.fakerjs.dev/api/internet.html#emoji). + * To make your data more 🔥, you can use [`emoji()`](https://fakerjs.dev/api/internet.html#emoji). * - * You also have access to a number of the more technical elements of web requests, such as [`httpMethod`](https://next.fakerjs.dev/api/internet.html#httpmethod), [`httpStatusCode`](https://next.fakerjs.dev/api/internet.html#httpstatuscode), [`ip`](https://next.fakerjs.dev/api/internet.html#ip), [`mac`](https://next.fakerjs.dev/api/internet.html#mac), [`userAgent`](https://next.fakerjs.dev/api/internet.html#useragent), and [`port`](https://next.fakerjs.dev/api/internet.html#port). + * You also have access to a number of the more technical elements of web requests, such as [`httpMethod`](https://fakerjs.dev/api/internet.html#httpmethod), [`httpStatusCode`](https://fakerjs.dev/api/internet.html#httpstatuscode), [`ip`](https://fakerjs.dev/api/internet.html#ip), [`mac`](https://fakerjs.dev/api/internet.html#mac), [`userAgent`](https://fakerjs.dev/api/internet.html#useragent), and [`port`](https://fakerjs.dev/api/internet.html#port). */ export class InternetModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts index 1b8455d0e80..7feb96ee536 100644 --- a/src/modules/location/index.ts +++ b/src/modules/location/index.ts @@ -7,11 +7,11 @@ import { deprecated } from '../../internal/deprecated'; * * ### Overview * - * For a typical street address for a locale, use [`streetAddress()`](https://next.fakerjs.dev/api/location.html#streetaddress), [`city()`](https://next.fakerjs.dev/api/location.html#city), [`state()`](https://next.fakerjs.dev/api/location.html#state) (or [`stateAbbr()`](https://next.fakerjs.dev/api/location.html#stateabbr)), and [`zipCode()`](https://next.fakerjs.dev/api/location.html#zipcode). Most locales provide localized versions for a specific country. + * For a typical street address for a locale, use [`streetAddress()`](https://fakerjs.dev/api/location.html#streetaddress), [`city()`](https://fakerjs.dev/api/location.html#city), [`state()`](https://fakerjs.dev/api/location.html#state) (or [`stateAbbr()`](https://fakerjs.dev/api/location.html#stateabbr)), and [`zipCode()`](https://fakerjs.dev/api/location.html#zipcode). Most locales provide localized versions for a specific country. * - * If you need latitude and longitude coordinates, use [`latitude()`](https://next.fakerjs.dev/api/location.html#latitude) and [`longitude()`](https://next.fakerjs.dev/api/location.html#longitude), or [`nearbyGPSCoordinate()`](https://next.fakerjs.dev/api/location.html#nearbygpscoordinate) for a latitude/longitude near a given location. + * If you need latitude and longitude coordinates, use [`latitude()`](https://fakerjs.dev/api/location.html#latitude) and [`longitude()`](https://fakerjs.dev/api/location.html#longitude), or [`nearbyGPSCoordinate()`](https://fakerjs.dev/api/location.html#nearbygpscoordinate) for a latitude/longitude near a given location. * - * For a random country, you can use [`country()`](https://next.fakerjs.dev/api/location.html#country) or [`countryCode()`](https://next.fakerjs.dev/api/location.html#countrycode). + * For a random country, you can use [`country()`](https://fakerjs.dev/api/location.html#country) or [`countryCode()`](https://fakerjs.dev/api/location.html#countrycode). */ export class LocationModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/lorem/index.ts b/src/modules/lorem/index.ts index fb633a0dbde..0f94a18770f 100644 --- a/src/modules/lorem/index.ts +++ b/src/modules/lorem/index.ts @@ -8,9 +8,9 @@ import { filterWordListByLength } from '../word/filterWordListByLength'; * * Generate dummy content using traditional faux-Latin [lorem ipsum](https://en.wikipedia.org/wiki/Lorem_ipsum) (in other locales to `en`, alternative words may be used). * - * In order of increasing size you can generate a single [`word()`](https://next.fakerjs.dev/api/lorem.html#word), multiple [`words()`](https://next.fakerjs.dev/api/lorem.html#words), a [`sentence()`](https://next.fakerjs.dev/api/lorem.html#sentence), multiple [`sentences()`](https://next.fakerjs.dev/api/lorem.html#sentences), [`lines()`](https://next.fakerjs.dev/api/lorem.html#lines) separated by newlines, one [`paragraph()`](https://next.fakerjs.dev/api/lorem.html#paragraph), or multiple [`paragraphs()`](https://next.fakerjs.dev/api/lorem.html#paragraphs). + * In order of increasing size you can generate a single [`word()`](https://fakerjs.dev/api/lorem.html#word), multiple [`words()`](https://fakerjs.dev/api/lorem.html#words), a [`sentence()`](https://fakerjs.dev/api/lorem.html#sentence), multiple [`sentences()`](https://fakerjs.dev/api/lorem.html#sentences), [`lines()`](https://fakerjs.dev/api/lorem.html#lines) separated by newlines, one [`paragraph()`](https://fakerjs.dev/api/lorem.html#paragraph), or multiple [`paragraphs()`](https://fakerjs.dev/api/lorem.html#paragraphs). * - * The generic [`text()`](https://next.fakerjs.dev/api/lorem.html#text) method can be used to generate some text between one sentence and multiple paragraphs, while [`slug()`](https://next.fakerjs.dev/api/lorem.html#slug) generates an URL-friendly hyphenated string. + * The generic [`text()`](https://fakerjs.dev/api/lorem.html#text) method can be used to generate some text between one sentence and multiple paragraphs, while [`slug()`](https://fakerjs.dev/api/lorem.html#slug) generates an URL-friendly hyphenated string. */ export class LoremModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/music/index.ts b/src/modules/music/index.ts index 65faf452cd9..6972387eba7 100644 --- a/src/modules/music/index.ts +++ b/src/modules/music/index.ts @@ -5,7 +5,7 @@ import type { Faker } from '../..'; * * ### Overview * - * Generate a random music genre with [`genre()`](https://next.fakerjs.dev/api/music.html#genre) or song name with [`songName()`](https://next.fakerjs.dev/api/music.html#songname). Both may be localized. + * Generate a random music genre with [`genre()`](https://fakerjs.dev/api/music.html#genre) or song name with [`songName()`](https://fakerjs.dev/api/music.html#songname). Both may be localized. */ export class MusicModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/number/index.ts b/src/modules/number/index.ts index 92751fe627c..524b69d51e9 100644 --- a/src/modules/number/index.ts +++ b/src/modules/number/index.ts @@ -7,14 +7,14 @@ import type { Mersenne } from '../../internal/mersenne/mersenne'; * * ### Overview * - * For simple integers, use [`int()`](https://next.fakerjs.dev/api/number.html#int). For decimal/floating-point numbers, use [`float()`](https://next.fakerjs.dev/api/number.html#float). + * For simple integers, use [`int()`](https://fakerjs.dev/api/number.html#int). For decimal/floating-point numbers, use [`float()`](https://fakerjs.dev/api/number.html#float). * - * For numbers not in base-10, you can use [`hex()`](https://next.fakerjs.dev/api/number.html#hex), [`octal()`](https://next.fakerjs.dev/api/number.html#octal) and [`binary()`](https://next.fakerjs.dev/api/number.html#binary)`. + * For numbers not in base-10, you can use [`hex()`](https://fakerjs.dev/api/number.html#hex), [`octal()`](https://fakerjs.dev/api/number.html#octal) and [`binary()`](https://fakerjs.dev/api/number.html#binary)`. * * ### Related modules * - * - For numeric strings of a given length, use [`faker.string.numeric()`](https://next.fakerjs.dev/api/string.html#numeric). - * - For credit card numbers, use [`faker.finance.creditCardNumber()`](https://next.fakerjs.dev/api/finance.html#creditcardnumber). + * - For numeric strings of a given length, use [`faker.string.numeric()`](https://fakerjs.dev/api/string.html#numeric). + * - For credit card numbers, use [`faker.finance.creditCardNumber()`](https://fakerjs.dev/api/finance.html#creditcardnumber). */ export class NumberModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/person/index.ts b/src/modules/person/index.ts index 428b1373446..817f261c854 100644 --- a/src/modules/person/index.ts +++ b/src/modules/person/index.ts @@ -59,19 +59,19 @@ function selectDefinition( * * ### Overview * - * To generate a full name, use [`fullName`](https://next.fakerjs.dev/api/person.html#fullname). Note that this is not the same as simply concatenating [`firstName`](https://next.fakerjs.dev/api/person.html#firstname) and [`lastName`](https://next.fakerjs.dev/api/person.html#lastname), as the full name may contain a prefix, suffix, or both. Additionally, different supported locales will have differing name patterns. For example, the last name may appear before the first name, or there may be a double or hyphenated first or last name. + * To generate a full name, use [`fullName`](https://fakerjs.dev/api/person.html#fullname). Note that this is not the same as simply concatenating [`firstName`](https://fakerjs.dev/api/person.html#firstname) and [`lastName`](https://fakerjs.dev/api/person.html#lastname), as the full name may contain a prefix, suffix, or both. Additionally, different supported locales will have differing name patterns. For example, the last name may appear before the first name, or there may be a double or hyphenated first or last name. * - * You can also generate the parts of a name separately, using [`prefix`](https://next.fakerjs.dev/api/person.html#prefix), [`firstName`](https://next.fakerjs.dev/api/person.html#firstname), [`middleName`](https://next.fakerjs.dev/api/person.html#middlename), [`lastName`](https://next.fakerjs.dev/api/person.html#lastname), and [`suffix`](https://next.fakerjs.dev/api/person.html#suffix). Not all locales support all of these parts. + * You can also generate the parts of a name separately, using [`prefix`](https://fakerjs.dev/api/person.html#prefix), [`firstName`](https://fakerjs.dev/api/person.html#firstname), [`middleName`](https://fakerjs.dev/api/person.html#middlename), [`lastName`](https://fakerjs.dev/api/person.html#lastname), and [`suffix`](https://fakerjs.dev/api/person.html#suffix). Not all locales support all of these parts. * * Many of the methods in this module can optionally choose either female, male or mixed names. * - * Job-related data is also available. To generate a job title, use [`jobTitle`](https://next.fakerjs.dev/api/person.html#jobtitle). + * Job-related data is also available. To generate a job title, use [`jobTitle`](https://fakerjs.dev/api/person.html#jobtitle). * - * This module can also generate other personal information which might appear in user profiles, such as [`gender`](https://next.fakerjs.dev/api/person.html#gender), [`zodiacSign`](https://next.fakerjs.dev/api/person.html#zodiacsign), and [`bio`](https://next.fakerjs.dev/api/person.html#bio). + * This module can also generate other personal information which might appear in user profiles, such as [`gender`](https://fakerjs.dev/api/person.html#gender), [`zodiacSign`](https://fakerjs.dev/api/person.html#zodiacsign), and [`bio`](https://fakerjs.dev/api/person.html#bio). * * ### Related modules * - * For personal contact information like phone numbers and email addresses, see the [`faker.phone`](https://next.fakerjs.dev/api/phone.html) and [`faker.internet`](https://next.fakerjs.dev/api/internet.html) modules. + * For personal contact information like phone numbers and email addresses, see the [`faker.phone`](https://fakerjs.dev/api/phone.html) and [`faker.internet`](https://fakerjs.dev/api/internet.html) modules. */ export class PersonModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/phone/index.ts b/src/modules/phone/index.ts index a9254650c9b..96b434a5a91 100644 --- a/src/modules/phone/index.ts +++ b/src/modules/phone/index.ts @@ -5,7 +5,7 @@ import type { Faker } from '../..'; * * ### Overview * - * For a phone number, use [`number()`](https://next.fakerjs.dev/api/phone.html#number). Many locales provide country-specific formats. + * For a phone number, use [`number()`](https://fakerjs.dev/api/phone.html#number). Many locales provide country-specific formats. */ export class PhoneModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/string/index.ts b/src/modules/string/index.ts index 4c5a7dc32f8..aec6b91f17a 100644 --- a/src/modules/string/index.ts +++ b/src/modules/string/index.ts @@ -90,16 +90,16 @@ const SAMPLE_MAX_LENGTH = 2 ** 20; * * ### Overview * - * For a string containing just A-Z characters, use [`alpha()`](https://next.fakerjs.dev/api/string.html#alpha). To add digits too, use [`alphanumeric()`](https://next.fakerjs.dev/api/string.html#alphanumeric). If you only want punctuation marks/symbols, use [`symbol()`](https://next.fakerjs.dev/api/string.html). For a full set of ASCII characters, use [`sample()`](https://next.fakerjs.dev/api/string.html#sample). For a custom set of characters, use [`fromCharacters()`](https://next.fakerjs.dev/api/string.html#fromcharacters). + * For a string containing just A-Z characters, use [`alpha()`](https://fakerjs.dev/api/string.html#alpha). To add digits too, use [`alphanumeric()`](https://fakerjs.dev/api/string.html#alphanumeric). If you only want punctuation marks/symbols, use [`symbol()`](https://fakerjs.dev/api/string.html). For a full set of ASCII characters, use [`sample()`](https://fakerjs.dev/api/string.html#sample). For a custom set of characters, use [`fromCharacters()`](https://fakerjs.dev/api/string.html#fromcharacters). * - * For strings of base-ten digits, use [`numeric()`](https://next.fakerjs.dev/api/string.html#numeric). For other bases, use [`binary()`](https://next.fakerjs.dev/api/string.html#binary), [`octal()`](https://next.fakerjs.dev/api/string.html#octal), or [`hexadecimal()`](https://next.fakerjs.dev/api/string.html#hexadecimal)). + * For strings of base-ten digits, use [`numeric()`](https://fakerjs.dev/api/string.html#numeric). For other bases, use [`binary()`](https://fakerjs.dev/api/string.html#binary), [`octal()`](https://fakerjs.dev/api/string.html#octal), or [`hexadecimal()`](https://fakerjs.dev/api/string.html#hexadecimal)). * - * You can generate standard ID strings using [`uuid()`](https://next.fakerjs.dev/api/string.html#uuid) or [`nanoid()`](https://next.fakerjs.dev/api/string.html#nanoid). + * You can generate standard ID strings using [`uuid()`](https://fakerjs.dev/api/string.html#uuid) or [`nanoid()`](https://fakerjs.dev/api/string.html#nanoid). * * ### Related modules * - * - Emoji can be found at [`faker.internet.emoji()`](https://next.fakerjs.dev/api/internet.html#emoji). - * - The [`faker.helpers`](https://next.fakerjs.dev/api/helpers.html) module includes a number of string related methods. + * - Emoji can be found at [`faker.internet.emoji()`](https://fakerjs.dev/api/internet.html#emoji). + * - The [`faker.helpers`](https://fakerjs.dev/api/helpers.html) module includes a number of string related methods. */ export class StringModule { constructor(private readonly faker: Faker) { diff --git a/src/modules/vehicle/index.ts b/src/modules/vehicle/index.ts index 25308dcb117..836d92901c2 100644 --- a/src/modules/vehicle/index.ts +++ b/src/modules/vehicle/index.ts @@ -5,9 +5,9 @@ import type { Faker } from '../..'; * * ### Overview * - * Most methods are related to cars/automobiles: a [`vehicle()`](https://next.fakerjs.dev/api/vehicle.html#vehicle) name is comprised of a car [`manufacturer()`](https://next.fakerjs.dev/api/vehicle.html#manufacturer) and [`model()`](https://next.fakerjs.dev/api/vehicle.html#model). You can also generate [`fuel()`](https://next.fakerjs.dev/api/vehicle.html#fuel), [`type()`](https://next.fakerjs.dev/api/vehicle.html#type), and [`color()`](https://next.fakerjs.dev/api/vehicle.html#color), as well as typical car registration IDs [`vin()`](https://next.fakerjs.dev/api/vehicle.html#vin) and [`vrm()`](https://next.fakerjs.dev/api/vehicle.html#vrm). + * Most methods are related to cars/automobiles: a [`vehicle()`](https://fakerjs.dev/api/vehicle.html#vehicle) name is comprised of a car [`manufacturer()`](https://fakerjs.dev/api/vehicle.html#manufacturer) and [`model()`](https://fakerjs.dev/api/vehicle.html#model). You can also generate [`fuel()`](https://fakerjs.dev/api/vehicle.html#fuel), [`type()`](https://fakerjs.dev/api/vehicle.html#type), and [`color()`](https://fakerjs.dev/api/vehicle.html#color), as well as typical car registration IDs [`vin()`](https://fakerjs.dev/api/vehicle.html#vin) and [`vrm()`](https://fakerjs.dev/api/vehicle.html#vrm). * - * If you prefer two wheels, you can generate a [`bicycle()`](https://next.fakerjs.dev/api/vehicle.html#bicycle) type instead. + * If you prefer two wheels, you can generate a [`bicycle()`](https://fakerjs.dev/api/vehicle.html#bicycle) type instead. */ export class VehicleModule { constructor(private readonly faker: Faker) { diff --git a/test/locale-proxy.spec.ts b/test/locale-proxy.spec.ts index ce82744adfa..d16714853c2 100644 --- a/test/locale-proxy.spec.ts +++ b/test/locale-proxy.spec.ts @@ -98,7 +98,7 @@ describe('LocaleProxy', () => { new FakerError( `The locale data for 'category.missing' are missing in this locale. Please contribute the missing data to the project or use a locale/Faker instance that has these data. - For more information see https://next.fakerjs.dev/guide/localization.html` + For more information see https://fakerjs.dev/guide/localization.html` ) ); }); @@ -108,7 +108,7 @@ describe('LocaleProxy', () => { new FakerError( `The locale data for 'airline.missing' are missing in this locale. Please contribute the missing data to the project or use a locale/Faker instance that has these data. - For more information see https://next.fakerjs.dev/guide/localization.html` + For more information see https://fakerjs.dev/guide/localization.html` ) ); }); diff --git a/test/location.spec.ts b/test/location.spec.ts index 22b5b21495d..f92d5419e32 100644 --- a/test/location.spec.ts +++ b/test/location.spec.ts @@ -196,7 +196,7 @@ describe('location', () => { new FakerError( `The locale data for 'location.postcode_by_state' are missing in this locale. Please contribute the missing data to the project or use a locale/Faker instance that has these data. - For more information see https://next.fakerjs.dev/guide/localization.html` + For more information see https://fakerjs.dev/guide/localization.html` ) ); });