
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
engine-cli-test-components
Advanced tools
该组件包导出两种格式的模块,供不同情况下使用
// umd 格式
"main": "dist/lego-components.umd.js",
// es modules 格式
"module": "dist/lego-components.esm.js",
// 安装
npm install lego-components --save
import Lego from 'lego-components'
// 加载样式
import 'lego-components/dist/lego-components.css'
const app = createApp(App)
// 全局引入 目前包括 FinalPage, LText, LImage , Lshape三个组件
app.use(Lego)
app.mount('#app')
setup() {
// 使用 finalPage 组件进行渲染,使用我们预定义好的数据结构
const testData = {
// 页面上面一个个组件的属性
components: [
{id: '123', name: 'l-text', props: { text: 'hello', top: '0', left: '20px'}},
{id: '234', name: 'l-image', props: { imageSrc: 'http://vue-maker.oss-cn-hangzhou.aliyuncs.com/vue-marker/5f6338e666336111f73d220c.png', top: '30px', left: '20px'}},
{id: '235', name: 'l-shape', props: { backgroundColor: 'red', top: '50px', left: '20px', width: '100px', height: '100px'}},
// 这是一个链接
{id: '345', name: 'l-text', props: { backgroundColor: "#1890ff", color: "#ffffff", text: "按钮内容", width: "100px", actionType: "to", url: "http://www.baidu.com", top: '200px', left: '150px',
}}
]
}
return {
testData
}
}
<final-page :components="testData.components"></final-page>

FAQs
Unknown package
We found that engine-cli-test-components demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.