
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
amis 自定义组件模板(vue3.0 技术栈)
$ npm i 或者 yarn
dev开发模式:用于在本地editor中调试自定义组件。
$ npm run dev
preview模式:用于预览自定义组件内容。
$ npm run preview
linkDebug模式:用于在amis-saas中预览和调试自定义组件。
$ npm run linkDebug
build2lib模式:用于构建发布到 npm 中的文件,默认存放到 当前dist目录中。
$ npm run build2lib
package.json 中添加 amis-widgets 字段,用于放置当前自定义组件信息,有这个amis-widgets 字段才能被识别为amis组件扩展包。
...
"amis-widgets": [
{
"type": "uni-area-chart",
"framework": "vue3",
"description": "折线区域图",
"entry": "/dist/uniAreaRenderer.umd",
"files": [
"/dist/uniAreaRenderer.css"
],
"editorPlugin": {
"pluginEntry": "/dist/uniAreaPlugin.umd",
"tag": [
"图表组件"
],
"sort": 100
}
}
],
...
需要确保package.json中的name值唯一,version值不重复。
$ npm publish
打开NPM配置文件(src/.npmrc),配置为制定仓库地址即可。
FAQs
amis自定义组件模板(vue3.0技术栈)
We found that up-reports demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.