anatine / zod-plugins

Plugins and utilities for Zod
661 stars 93 forks source link

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

Open spence-novata opened 5 months ago

spence-novata commented 5 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 5 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.
sifisatz commented 3 days ago

Hi everyone, Thank you for the discussion so far. I’m wondering if anyone is currently working on this issue. Also, are there any plans from the maintainers to update zod-mock to support the latest version of faker peer dependency ?

If there are blockers or specific areas where contributions are needed, I’d be happy to help or explore workarounds. Let me know!