From 39f76f7f9bf19449e90b6061ff895e9cb9b71780 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 29 Dec 2024 17:17:44 +0100 Subject: [PATCH] docs(image): improve urlPlaceholder alternatives (#3351) --- src/modules/image/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index 5013bcb599f..2275cbeba50 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -260,7 +260,7 @@ export class ImageModule extends ModuleBase { * * @since 8.0.0 * - * @deprecated The service has bad uptime. Use `url()` or another method instead. + * @deprecated The service has bad uptime. Use `faker.image.url()` or `faker.image.dataUri()` instead. */ urlPlaceholder( options: { @@ -304,7 +304,7 @@ export class ImageModule extends ModuleBase { ): string { deprecated({ deprecated: 'faker.image.urlPlaceholder()', - proposed: 'faker.image.url()', + proposed: 'faker.image.url() or faker.image.dataUri()', since: '9.4.0', until: '10.0.0', });