Skip to content

Commit

Permalink
docs(image): improve urlPlaceholder alternatives (#3351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Dec 29, 2024
1 parent 637f81b commit 39f76f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/image/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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',
});
Expand Down

0 comments on commit 39f76f7

Please sign in to comment.