logicsrc/packages/validators
Dong Liu 6abc3cec88 fix(validators): isSchemaKind no longer accepts inherited prototype keys
'value in schemas' walks the prototype chain, so inherited keys like
"toString" passed assertSchemaKind and then crashed ajv.compile with a
misleading 'schema must be object or boolean' error (e.g. via the CLI).
Use Object.hasOwn for an own-property check.

Adds unit tests rejecting prototype keys and asserting every real
schema kind still passes.

Fixes #13
2026-06-12 00:04:11 +00:00
..
src fix(validators): isSchemaKind no longer accepts inherited prototype keys 2026-06-12 00:04:11 +00:00
package.json Scaffold LogicSRC and CommandBoard plugins 2026-06-06 11:24:02 +00:00
tsconfig.json Scaffold LogicSRC and CommandBoard plugins 2026-06-06 11:24:02 +00:00