
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
babel-preset-vue
Advanced tools
Babel preset for all Vue plugins.
npm install -D babel-preset-vue
CDN: UNPKG
In your .babelrc
:
{
"presets": ["vue"]
}
You can toggle specific features, by default all features are enabled, e.g.:
{
"presets": [
["vue", {
"eventModifiers": false
}]
]
}
Note that following features are not available for babel v7 currently, you may disable them if necessary.
Option name: eventModifiers
Uses babel-plugin-jsx-event-modifier
for adding event modifiers support.
Example:
Vue.component('hello-world', {
methods: {
method () {
console.log('clicked')
}
},
render () {
return (
<div>
<a href="/" onClick:prevent={this.method} />
</div>
)
}
})
Options name: vModel
Uses babel-plugin-jsx-v-model
for adding v-model
support.
Example:
Vue.component('hello-world', {
data: () => ({
text: 'Hello World!'
}),
render () {
return (
<div>
<input type="text" v-model={this.text} />
{this.text}
</div>
)
}
})
MIT © EGOIST
FAQs
Babel preset for all Vue plugins.
The npm package babel-preset-vue receives a total of 46,716 weekly downloads. As such, babel-preset-vue popularity was classified as popular.
We found that babel-preset-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.