
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
conbo-objectproxy
Advanced tools
ObjectProxy
is an experimental class for ConboJS that uses the ES2015 Proxy
to wrap plain JavaScript objects to enable them to be be used with ConboJS two-way data binding, as an alternative to using a Hash
or similar data model.
The ObjectProxy
class can be imported as an AMD, CommonJS or global module.
The ObjectProxy
class was inspired by the Apache Flex class of the same name and serves the same purpose.
You can create a new ObjectProxy
using the static create
method:
var obj = {a: 0};
var proxy = ObjectProxy.create(obj);
If you would like to prevent reading or creation of dynamic and private properties, simply create your proxy with true
as a second parameter:
var proxy = ObjectProxy.create(obj, true);
The proxy will then throw an error if anyone tries to read or write properties that don't exist on the target object, or begin with an _
.
If you find this project useful, why not buy us a coffee (or as many as you think it's worth)?
FAQs
Bindable object proxy for ConboJS
We found that conbo-objectproxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.