
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
husky-left-menu-plus
Advanced tools
npm install husky-left-menu-plus --save-dev
import huskyLeftMenuPlus from 'husky-left-menu-plus' //引入改组件
vue.use(huskyLeftMenuPlus)
// in xxx.vue
<template>
<husky-left-menu
:collapse="isCollapse"
:menu-data="routeList"
></husky-left-menu>
</template>
// 参数类型
menuData: {
type: Array<{
path:String
name?:String
meta:{
menuName: String
menuIcon?:String
}
}>,
default: () => [],
},
defaultActive: {
type: String, //默认高亮的表单item 同element-plus
default: () => '',
},
collapse: { type: Boolean, default: false }, //菜单栏展开收起 同element-plus
backgroundColor: {
type: String, //背景色 同element-plus
default: () => '#001529',
},
textColor: {
type: String, //文字颜色 同element-plus
default: 'rgba(255,255,255,.65)',
},
activeTextColor: {
type: String, //高亮的文字颜色 同element-plus
default: '#fff',
},
FAQs
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.