anatine / zod-plugins

Plugins and utilities for Zod
640 stars 89 forks source link

[zod-mock] Incorrect peer dependency version of faker #207

Open spence-novata opened 3 months ago

spence-novata commented 3 months ago

zod-mock lists faker 7 as a possible peer dependency, but since https://github.com/anatine/zod-plugins/pull/125 it is no longer compatible since it uses faker.number (possibly among other things) which is not supported in v7.

pedro-mass commented 3 months ago

Does that mean that we should be on faker@8?

B/c I'm having issues there with arrays

n [Error]: Calling `faker.helpers.arrayElement()` without arguments is no longer supported.