UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

13 lines (12 loc) 321 B
//#region src/infra/prototype-keys.ts const BLOCKED_OBJECT_KEYS = new Set([ "__proto__", "prototype", "constructor" ]); /** Return true when assigning `key` could mutate an object prototype. */ function isBlockedObjectKey(key) { return BLOCKED_OBJECT_KEYS.has(key); } //#endregion export { isBlockedObjectKey as t };