(target, prop, value, receiver)
| 328 | |
| 329 | const configProxy = new Proxy(config, { |
| 330 | set(target, prop, value, receiver) { |
| 331 | console.warn( |
| 332 | `[Security Alert] Attempt to modify read-only config property '${String(prop)}' blocked.`, |
| 333 | ); |
| 334 | return true; |
| 335 | }, |
| 336 | defineProperty(target, prop, descriptor) { |
| 337 | console.warn( |
| 338 | `[Security Alert] Attempt to define property '${String(prop)}' on read-only config blocked.`, |
no test coverage detected