ajvincent / es-membrane

An ECMAScript implementation of a Membrane, allowing users to dynamically hide, override, or extend objects in JavaScript with controlled effects on the original objects.
111 stars 13 forks source link

ObjectGraph refactor: Assert Membrane.map keys are only for original objects, proxies and maybe shadow targets #211

Open ajvincent opened 5 years ago

ajvincent commented 5 years ago

This is to guarantee we won't leak because of an accidentally exposed value. Membrane.map.set needs to be replaced for validation.

Blocks #179