| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
… in validation pipeline
…and require constructor function type
fix(core): enterprise hardening, null-safety guards, readonly enum support & v2.0.0 sync
|
The PR documentation doesn't match the latest changes on your commit that align with version 2.0, Please update the documentation as I will use Squash and Merge to only take your latest changes. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Null-Safety Guards, Readonly Schema Support & Upstream v2.0.0 Alignment
Executive Summary
This pull request brings @bufferpunk/modelcore up to enterprise-grade stability (v2.0.0). It addresses runtime null-pointer vulnerabilities, string character-splitting in Union types, readonly schema enum support for as const arrays, defensive input sanitization, and full synchronization with the upstream modular src/ architecture.
1. Summary of Changes & Technical Explanations
A. Readonly Array Support for Enum Definitions (src/typing.d.ts & src/typing.ts)
B. Defensive Null & Degenerate Schema Guarding (src/utils.ts & src/base.ts)
C. Null-Prototype Input Protection (Object.create(null))
D. Union Type Structural Discrimination (src/typing.ts & src/utils.ts)
2. Upgrade & Migration Notes (v1.x -> v2.0.0)
3. Verification & Testing
npm test