inconsistent reference to exports in node-Modules #1166
Replies: 2 comments
-
I will note, the conversion to Zod V4 is pretty trivial - there are only about 6 uses of Zod in the entire library. I am unsure of my ability to actually build this library, but I certainly could submit the changes necessary to consistently use Zod V4 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Issue resolved without updating version of Zod (for now) - issue was a packaging setting in ParcelJS needed to add
to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm incorporating V7 into a react app. There seems to be a flaw in it's use of Zod, in that the exports for Zod (even for the requested "3.24.1") include BOTH V3 and V4 packages, but the default is to V4. Firebaseui (v7) does not specify which export is to be used. As such, the reference here:
fails with
(0 , _zod.z).string is not a function
, which I suspect is because the final result is using the (default) V4 version of Zod, which has changed fromz.string().email()
toz.email()
Tracy Hall
Beta Was this translation helpful? Give feedback.
All reactions