
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
基于 VUE 的前端 PC 端 UI 组件库
npm install @58fe/p5 --save
导入需要的组件,例如:
import { Loading } from '@58fe/p5';
支持的插件有
支持自定义状态,内容,按钮等
如过需要按需加载指定组件,需要配合 bable-plugin-p5-import 插件使用
npm install bable-plugin-p5-import --save-dev
在.babelrc 文件添加如下配置
{
"plugins": [
[
"@58fe/babel-plugin-p5-import"
]
]
}
原因是 P5 的样式是基于 sass 编写的,所以需要依赖以下两个 npm 包:
npm install sass-loader node-sass --save-dev
原因是 P5 的 js 源码没进行 babel 转译,可以在 webpack 配置中的增加以下 loaders:
{
test: /p5.src.*?js$/,
loader: "babel-loader"
}
FAQs
pc端vue组件
We found that @58fe/p5 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.