Skip to content

Commit

Permalink
fix(E): don't leak the makeE*Proxy functions directly
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Nov 7, 2019
1 parent 0b4b1d2 commit 8d5131f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/E.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ export default function makeE(HandledPromise) {
},
});

E.G = makeEGetterProxy;
E.H = makeEHasProxy;
E.D = makeEDeleterProxy;
E.S = makeESetterProxy;
E.M = makeEMethodProxy;
E.G = o => makeEGetterProxy(o);
E.H = o => makeEHasProxy(o);
E.D = o => makeEDeleterProxy(o);
E.S = o => makeESetterProxy(o);
E.M = o => makeEMethodProxy(o);

const EChain = x =>
harden({
Expand Down

0 comments on commit 8d5131f

Please sign in to comment.