"use strict";
const ipc_target_1 = require("./ipc-target");
// Mutable handler to simulate a frozen target.
const handler = {
    __proto__: null,
    defineProperty: () => true,
    deleteProperty: () => false,
    preventExtensions() {
        // Prevent a proxy trap invariant error.
        // https://tc39.es/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-isextensible
        Object.preventExtensions(ipc_target_1);
        return true;
    },
    set: () => false,
    setPrototypeOf: () => false,
};
module.exports = handler;
