-
-
Notifications
You must be signed in to change notification settings - Fork 135
Improve Zod compatibility support #5874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
142 commits
Select commit
Hold shift + click to select a range
f904a4e
Add Zod compatibility fixture
TheHypnoo 607e2a1
Expand Zod compatibility coverage
TheHypnoo e667e61
Improve Zod constructor compatibility
TheHypnoo 339146a
Expand Zod compatibility coverage
TheHypnoo edd42c1
Fix dynamic arithmetic for Zod compatibility
TheHypnoo 2b4160b
Expand Zod fixture coverage
TheHypnoo 14b6301
Fix Zod 4 literal and file compatibility
TheHypnoo b4676b3
Expand Zod async and function coverage
TheHypnoo bbfa907
Add Zod standard schema coverage
TheHypnoo 340ba67
Expand Zod factory and error map coverage
TheHypnoo ce13d20
Fix forward-captured lexical bindings
TheHypnoo 1a26d06
Expand Zod recursive object coverage
TheHypnoo b808da0
Expand Zod string format coverage
TheHypnoo 073777d
Expand Zod error coverage
TheHypnoo 522f6cb
Expand Zod metadata coverage
TheHypnoo 454eb19
Expand Zod function coverage
TheHypnoo fc0c631
Expand Zod object coverage
TheHypnoo 992060a
Expand Zod collection coverage
TheHypnoo 0db000f
Expand Zod custom error coverage
TheHypnoo 7e466ed
Expand Zod array and promise coverage
TheHypnoo dfaa826
Expand Zod readonly coverage
TheHypnoo 1100193
Expand Zod async effect coverage
TheHypnoo 9c5ee43
Fix Error subclass field initialization
TheHypnoo 5596c2f
Expand Zod fatal effect coverage
TheHypnoo bfef247
Expand Zod union error coverage
TheHypnoo fedc913
Expand Zod factory coverage
TheHypnoo c2e5216
Expand Zod modifier coverage
TheHypnoo 30d26db
Expand Zod introspection coverage
TheHypnoo 48c36cf
Expand Zod collection error coverage
TheHypnoo 9932c39
Expand Zod function error coverage
TheHypnoo 828a44b
Expand Zod issue metadata coverage
TheHypnoo 79143e3
Expand Zod issue code coverage
TheHypnoo 15cefed
Expand Zod bound issue metadata coverage
TheHypnoo f951a61
Expand Zod async issue coverage
TheHypnoo 01f2e46
Expand Zod modifier composition coverage
TheHypnoo a7843fa
Expand Zod default object coverage
TheHypnoo 4d4da8e
Expand Zod function effects coverage
TheHypnoo 5e10b18
Expand Zod custom schema coverage
TheHypnoo 3493961
Expand Zod package subpath coverage
TheHypnoo 1a086f5
Expand Zod JSON-like coverage
TheHypnoo 4a05b1b
Expand Zod effect factory coverage
TheHypnoo ec3011f
Expand Zod string format coverage
TheHypnoo be73b1f
Fix exported enum runtime objects
TheHypnoo 3746ec0
Expand Zod primitive edge coverage
TheHypnoo 47633c6
Fix imported binding named re-exports
TheHypnoo 911e124
Expand Zod parse helper coverage
TheHypnoo 84759ba
Expand Zod class factory coverage
TheHypnoo ef0401f
Expand Zod string method coverage
TheHypnoo 4d2161f
Fix namespace subobject method dispatch
TheHypnoo 15cdf77
Expand Zod object fixture coverage
TheHypnoo ade6110
Expand Zod array tuple fixture coverage
TheHypnoo f602296
Expand Zod union fixture coverage
TheHypnoo 70315fe
Expand Zod collection fixture coverage
TheHypnoo 2180902
Expand Zod literal enum fixture coverage
TheHypnoo 1080f0a
Fix missing Error errors property
TheHypnoo 9764335
Expand Zod modifier fixture coverage
TheHypnoo cd7a4ee
Expand Zod primitive metadata coverage
TheHypnoo 2fda192
Expand Zod object shape fixture coverage
TheHypnoo f501538
Expand Zod effects fixture coverage
TheHypnoo 292107e
Expand Zod function fixture coverage
TheHypnoo 2acc1e8
Expand Zod async fixture coverage
TheHypnoo f6c982a
Expand Zod error formatting coverage
TheHypnoo 75ba43d
Expand Zod metadata fixture coverage
TheHypnoo b714696
Expand Zod record key fixture coverage
TheHypnoo eb3e3b7
Fix Reflect.set on frozen array indices
TheHypnoo bb29160
Expand Zod JSON fixture coverage
TheHypnoo 08bbff1
Expand Zod async error fixture coverage
TheHypnoo 6484a15
Fix computed string property access
TheHypnoo 77adbff
Expand Zod promise fixture coverage
TheHypnoo 54f1488
Expand Zod parse options coverage
TheHypnoo 9dbd584
Expand Zod recursive fixture coverage
TheHypnoo fb19add
Fix class name defineProperty descriptors
TheHypnoo 69ef759
Fix dynamic class parent snapshots
TheHypnoo bf3baa2
Expand Zod function fixture coverage
TheHypnoo 4eb0852
Expand Zod branded fixture coverage
TheHypnoo dd5a681
Fix large number toString formatting
TheHypnoo d8aefe5
Expand Zod standard validation coverage
TheHypnoo 2c781a9
Expand Zod object merge coverage
TheHypnoo fe884b6
Cover remaining Zod export aliases
TheHypnoo f5ec574
Expand Zod default catch factory coverage
TheHypnoo ae2bd74
Expand Zod union error formatting coverage
TheHypnoo 7cda8cf
Expand Zod discriminated enum coverage
TheHypnoo b6219ab
Expand Zod import interop coverage
TheHypnoo edc545e
Expand Zod native enum coverage
TheHypnoo 277b371
Expand Zod subpath import coverage
TheHypnoo 54ea26d
Expand Zod function rest coverage
TheHypnoo 89a9842
Expand Zod intersection merge coverage
TheHypnoo 04b32e1
Expand Zod map clone coverage
TheHypnoo 84f429d
Expand Zod readonly coverage
TheHypnoo 163590f
Expand Zod date clone coverage
TheHypnoo e739ebe
Expand Zod object mask coverage
TheHypnoo 4b307c5
Fix in operator prototype lookup
TheHypnoo d056743
Expand Zod promise clone coverage
TheHypnoo e74d873
Expand Zod inherited passthrough coverage
TheHypnoo 7069d64
Expand Zod function clone coverage
TheHypnoo dbfd186
Expand Zod lazy clone coverage
TheHypnoo b737c2a
Fix Object.create prototype reflection
TheHypnoo 2643654
Expand Zod factory alias coverage
TheHypnoo c1d7147
Expand Zod record key coverage
TheHypnoo 88bc71b
Expand Zod inherited composition coverage
TheHypnoo 5cca96d
Expand Zod inherited discriminator coverage
TheHypnoo 4c563ef
Expand Zod getter input coverage
TheHypnoo a28bd2d
Expand Zod null prototype coverage
TheHypnoo 83c55fc
Expand Zod sparse array coverage
TheHypnoo ec3c20a
Fix Map Set default subclass initialization
TheHypnoo d42a849
Fix builtin prototype and fetch reflection
TheHypnoo f42cf6d
Fix URL href normalization
TheHypnoo 038e0df
Fix Unicode regex and URL reflection
TheHypnoo f50c80b
Fix namespace reexport arity and JSON replacer order
TheHypnoo fb2099f
Fix namespace default alias calls
TheHypnoo 84aceb1
Improve Zod compatibility support
TheHypnoo c9bee8f
Merge remote-tracking branch 'origin/main' into feat/zod-compat-fixtures
TheHypnoo 3df0361
Fix Zod compatibility CI regressions
TheHypnoo 30ccd11
Fix raw closure instanceof prototype lookup
TheHypnoo fbe0e55
Reject handle-band URL object pointers
TheHypnoo 69082cd
Include namespace import prefixes in cache tests
TheHypnoo 6ea3e42
Fix dynamic import registry deferral
TheHypnoo c4b6818
Merge branch 'main' into feat/zod-compat-fixtures
proggeramlug d027ea3
Address Zod compatibility review feedback
TheHypnoo 87f86e4
Merge branch 'main' into feat/zod-compat-fixtures
TheHypnoo b2e810e
Fix class static initialization ordering
TheHypnoo 821afe5
fix(runtime): bound has_property prototype recursion and extend BigIn…
TheHypnoo 5dbe433
fix(codegen+hir): cap Map/Set super-kind walk and visit missing exprs…
TheHypnoo 86dbcc3
chore: comment cleanups, drop dead code, and harden node-oracle tests
TheHypnoo 7d696ce
test: add shared _perry_test_lib.sh harness and adopt it in two regre…
TheHypnoo 4865837
fix(runtime): switch/case strict-equality compares BigInt by value
TheHypnoo afb5391
fix(codegen): run field initializers on implicit-constructor builtin …
TheHypnoo e000f65
chore(runtime): centralize Blob/File/URL class-id constants
TheHypnoo f51c9c2
test: derive runtime-lib dir from the selected perry binary in _perry…
TheHypnoo ec20478
chore(codegen): align map_set_default_super_kind depth cap across bot…
TheHypnoo 4cfe4c3
test(release): add zod4-basic tier-3 fixture (Zod 4.4.3)
TheHypnoo 10760f4
test: strengthen homonymous-class-export assertion (positive-only -> …
TheHypnoo d4fe546
test(parity): add test_parity_bigint_switch and test_parity_builtin_s…
TheHypnoo dd8933c
test: strengthen 3 more under-specified assertions from the audit
TheHypnoo 950b036
fix(runtime): validate raw string pointer via GcHeader in js_dyn_inde…
TheHypnoo 23b3388
fix(hir): new Function() with no args folds to an empty function (int…
TheHypnoo 6a4825b
Merge remote-tracking branch 'origin/main' into feat/zod-compat-fixtures
TheHypnoo 464c176
Merge remote-tracking branch 'origin/main' into feat/zod-compat-fixtures
TheHypnoo 020c1fa
test(parity): triage test_gap_class_advanced as known regression (#5952)
TheHypnoo 5b077a0
Merge remote-tracking branch 'origin/main' into feat/zod-compat-fixtures
TheHypnoo 84fb915
test(parity): triage 2 standing categorical gaps missed by #5947
TheHypnoo 5d6426a
Merge remote-tracking branch 'origin/main' into feat/zod-compat-fixtures
TheHypnoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.