Deprecate or replace internet.avatar in favor of image.avatar #2599
Labels
deprecation
A deprecation was made in the PR
m: internet
Something is referring to the internet module
p: 1-normal
Nothing urgent
s: needs decision
Needs team/maintainer decision
Milestone
We already have
faker.image.avatar
, so IMO there is no need to have a separate implementation in the internet module.So we should either deprecate the
faker.internet.avatar
method for removal, or make it an alias offaker.image.avatar
.It definitely should jsdoc link to the other method.
faker.internet.avatar
:faker/src/modules/internet/index.ts
Lines 41 to 54 in 1328985
faker.image.avatar(Legacy)
:faker/src/modules/image/index.ts
Lines 85 to 99 in 1328985
Found while investigating: #2598
The text was updated successfully, but these errors were encountered: