Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
vue-functions
Advanced tools
```sh npm install vue-functions ``` # usage & api ```js import * as vf from 'vue-functions' vf.method(...) ``` # api ### updatablePropsEvenUnbound ```js // eg 1 export default { mixins: [vf.updatablePropsEvenUnbound({ value: {localName: 'current'},
npm install vue-functions
import * as vf from 'vue-functions'
vf.method(...)
// eg 1
export default {
mixins: [vf.updatablePropsEvenUnbound({
value: {localName: 'current'},
})],
}
// eg 2
// if without localName, the localName will be 'localProps_' + prop name
export default {
mixins: [vf.updatablePropsEvenUnbound({
value: {},
})],
}
// eg 3
// if without localName, the localName will be 'localProps_' + prop name
export default {
mixins: [vf.updatablePropsEvenUnbound({
value: {},
page: {},
other: {},
})],
}
Watch a function and resolve dependences. The function can contain async dependences. There is no more doc, please check source.
do handler first, handler return getter
Like name
Vue component, extend or mixin it to use. Get access to windowSize. The windowSize is reactive.
windowSize: {
innerWidth: window.innerWidth,
innerHeight: window.innerHeight,
outerWidth: window.outerWidth,
outerHeight: window.outerHeight,
}
Attach $preventURLChange
and $allowURLChange
to vm.
Vue component, extend or mixin it to use. Help to extend hook.
methods: {
addHook(name, func),
removeHook(name, func),
hasHook(name),
executeHook(name, args)
}
FAQs
```sh npm install vue-functions ``` # usage & api ```js import * as vf from 'vue-functions' vf.method(...) ``` # api ### updatablePropsEvenUnbound ```js // eg 1 export default { mixins: [vf.updatablePropsEvenUnbound({ value: {localName: 'current'},
The npm package vue-functions receives a total of 1,342 weekly downloads. As such, vue-functions popularity was classified as popular.
We found that vue-functions 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 a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.