MCPcopy
hub / github.com/patriksimek/vm2 / wrapProxyHandler

Function wrapProxyHandler

lib/setup-sandbox.js:1714–1719  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

1712});
1713
1714function wrapProxyHandler(args) {
1715 if (args.length < 2) return args;
1716 const handler = args[1];
1717 args[1] = new LocalProxy({ __proto__: null, handler }, proxyHandlerHandler);
1718 return args;
1719}
1720
1721const proxyHandler = Object.freeze({
1722 __proto__: null,

Callers 2

applyFunction · 0.85
constructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…