You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the object property is named word or words, faker logs an error. It would appear that the word property causes faker.random.word() to be used instead.
Input ❌
z.object({words: z.string(),});
Logged Errors
[@faker-js/faker]: faker.random.words() is deprecated since v8.0 and will be removed in v9.0. Please use faker.lorem.words() or faker.word.words() instead.
[@faker-js/faker]: faker.random.word() is deprecated since v8.0 and will be removed in v9.0. Please use faker.lorem.word() or faker.word.sample() instead.
[@faker-js/faker]: faker.random.word() is deprecated since v8.0 and will be removed in v9.0. Please use faker.lorem.word() or faker.word.sample() instead.
[@faker-js/faker]: faker.random.words() is deprecated since v8.0 and will be removed in v9.0. Please use faker.lorem.words() or faker.word.words() instead.
[@faker-js/faker]: faker.random.word() is deprecated since v8.0 and will be removed in v9.0. Please use faker.lorem.word() or faker.word.sample() instead.
Input ❌
z.object({word: z.string(),});
Logged Errors
[@faker-js/faker]: faker.random.word() is deprecated since v8.0 and will be removed in v9.0. Please use faker.lorem.word() or faker.word.sample() instead.
[@faker-js/faker]: faker.random.word() is deprecated since v8.0 and will be removed in v9.0. Please use faker.lorem.word() or faker.word.sample() instead.
Input ✅
z.object({wordplay: z.string(),});
Input ✅
z.object({foo: z.string(),});
Input ✅
z.object({Word: z.string(),});
The text was updated successfully, but these errors were encountered:
When the object property is named
word
orwords
, faker logs an error. It would appear that theword
property causesfaker.random.word()
to be used instead.Input ❌
Logged Errors
Input ❌
Logged Errors
Input ✅
Input ✅
Input ✅
The text was updated successfully, but these errors were encountered: