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.
@cerebral/vue
Advanced tools
Vue.js view for Cerebral.
npm install @cerebral/vue vue
import Vue from 'vue/dist/vue'
import App from 'cerebral'
import { Container, connect } from '@cerebral/vue'
import main from './main'
const app = App(main)
var vue = new Vue({
el: '#app',
components: {
container: Container(app)
}
})
Note! The HTML of the root element must use the container:
<div id="app">
<container>
<my-component></my-component>
</container>
</div>
MyComponent.js
import { connect } from '@cerebral/vue'
import { state, sequence } from 'cerebral'
export default connect(
{
foo: state`foo`,
click: sequence`clicked`
},
{
template: '<div v-on:click="click()">{{foo}}</div>'
}
)
main.js
import Vue from 'vue/dist/vue'
import App from 'cerebral'
import { Container, connect } from '@cerebral/vue'
import MyComponent from './MyComponent'
import main from './main'
const app = App(main)
var vue = new Vue({
el: '#app',
components: {
container: Container(app),
'my-component': MyComponent
}
})
FAQs
Vue.js view for Cerebral
We found that @cerebral/vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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.