Robust data import and prototype pollution guards
JSON, CSV, and row update inputs are parsed with size and row limits, and keys like __proto__, constructor, and prototype are rejected or stored safely. Row data objects are never merged into prototypes.
Planned. This page shows the specification from issue #209. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A feed selector with clean, polluting, oversized, and deeply nested JSON.
Expected behavior
The pollution indicator stays 'no' for all feeds. Oversized feeds are rejected with a message. Renamed keys appear with a safe prefix when 'rename' is chosen.
Planned API surface
setRowDataapplyTransactionimportOptions.maxRowsimportOptions.maxBytesimportOptions.dangerousKeys: 'reject' | 'rename'onImportRejectedAcceptance criteria
- No grid API mutates Object.prototype under any fixture. (pending)
- Internal maps use null-prototype objects or Map. (pending)
- Limits produce onImportRejected with a reason code. (pending)
- Deep nesting beyond the configured depth is rejected without a stack overflow. (pending)