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.
@kyfe/hroa-ui
Advanced tools
yarn add @kyfe/hroa-ui
// 全局引入UI组件
import hroaUI from '@kyfe/hroa-ui'
Vue.use(hroaUI)
按需引入组件需要先装依赖来支持
yarn add babel-plugin-import
然后在根目录babel.config.js中配置
module.exports = {
"presets": [
"@vue/app"
],
"plugins": [
[
"import",
{
libraryName: "@kyfe/hroa-ui", // 这是我们的包名
style: (name) => {
return `${name}/index.css`;
},
camel2DashComponentName: true, // 是否需要驼峰转短线
camel2UnderlineComponentName: false, // 是否需要驼峰转下划线
},
],
]
}
最后在项目入口文件引入注册需要使用的组件
// 按需引入组件
import {
hrButton
} from "hroa-ui";
// 注册
Vue.use(hrButton)
| 注意:
组件名 | 说明 |
---|---|
hrButton | 按钮 |
hrViewItem | 表单项视图组件 |
FAQs
HR-OA-KTS部门前端公共组件
The npm package @kyfe/hroa-ui receives a total of 0 weekly downloads. As such, @kyfe/hroa-ui popularity was classified as not popular.
We found that @kyfe/hroa-ui 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.