Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@hzab/deep-list
Advanced tools
组件模板
import Demo from "@hzab/deep-list";
<Demo />;
参数 | 类型 | 必填 | 默认值 | 说明 |
---|---|---|---|---|
schema | Object | 是 | - | 数据信息的 schema |
height | number | 是 | 200 | 列表的高度 |
titleRender | (props) => ReactNode | 是 | - | 自定义渲染节点 |
onClickItem | (v: any) => void | 是 | - | 点击每一项的回调函数 |
model | any | 是 | - | 数据 model |
style | any | 否 | - | 组件样式 |
orgConf | any | 否 | - | 部门数据配置项 |
onClear | ()=>void | 否 | - | 监听面包屑是否点击 |
defaultBreadcrumb | - | 否 | [] | 默认面包屑数据 |
itemHeight | number | 否 | 47 | 节点高度 |
isPaging | boolean | 否 | false | 是否分页 |
resConf | any | 否 | - | 数据返回字段配置 |
reqConf | any | 否 | - | 传参字段配置 |
deps | any | 否 | - | 依赖值 |
edit | boolean | 否 | - | 是否编辑 |
Mac 执行该命令,设置 pre-commit 为可执行文件
生成文档:npm run docs
本地运行:npm run dev
打包编译:npm run build
注意:示例代码生效,但发布之后未生效。确认是否执行了编译!!!
编译组件:npm run build
命令:npm publish --access public
发布目录:
FAQs
We found that @hzab/deep-list demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.