
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
observer-data
Advanced tools
Observer data、defineProperty
npm i observer-data --save
let observerData = new ObserverData();
observerData.data = data;
observerData.cb = function(newVal, key, oldVal){}
observerData.run();
type:function
description:为新数据绑定监听事件
example :
let data = {a:1}...
data.$set('b',2);//新绑定了一个b属性
type:function
description:删除属性清除监听并触发回调
example :
let data = {a:1,b:2}...
data.$del('b');//解除b属性的绑定并且删除触发回调。
FAQs
Observer data、defineProperty
The npm package observer-data receives a total of 5 weekly downloads. As such, observer-data popularity was classified as not popular.
We found that observer-data 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
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.