(target: {}, p: ProxyPropertyKey)
| 80 | return Reflect.has(target, p); |
| 81 | }, |
| 82 | get(target: {}, p: ProxyPropertyKey): unknown { |
| 83 | if (excluded.has(p) || (included && !included.has(p))) { |
| 84 | return undefined; |
| 85 | } |
| 86 | |
| 87 | const value = Reflect.get(target, p); |
| 88 | if (typeof p === 'symbol') { |
| 89 | return value; |
| 90 | } |
| 91 | |
| 92 | if ((isJsonObject(value) && !(value instanceof Map)) || Array.isArray(value)) { |
| 93 | return create(value, [...path, p], reporter); |
| 94 | } else { |
| 95 | return value; |
| 96 | } |
| 97 | }, |
| 98 | set(target: {}, p: ProxyPropertyKey, value: unknown): boolean { |
| 99 | if (excluded.has(p) || (included && !included.has(p))) { |
| 100 | return false; |
nothing calls this directly
no test coverage detected