
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
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
The npm package conbo-objectproxy receives a total of 4 weekly downloads. As such, conbo-objectproxy popularity was classified as not popular.
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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.