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
{{ message }}
Repository navigation
Replace cases of {} being used to store arbitrary names with Object.create(null) #1121
Where attempting to register a function called toString results in a registered name of toStringNaN☠️
We frequently use objects like this to keep track of cached entries. Many of them don't overlap with object method names like toString, but we should review those we have and switch them to Object.create(null) and implement a lint rule if possible.
Activity
fix(schema): resolve names that match Object.prototype members
ssalbdivad commentedon Nov 18, 2026
Fixed in 3.0.0-beta.0 (#1728). Try it with
npm i arktype@next.