Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@alifd/build-plugin-lowcode
Advanced tools
export interface LowcodeOptions {
builtinAssets?: Array<string|Assets>; // 会作为内置资产保存到构建产物中
extraAssets?: Array<string|Assets>; // 只在调试环境加载到资产包中
noParse?: boolean; // 关闭自动解析生成 lowcode meta
categories?: string[]; // 组件在组件面板中的分类
groups?: string[]; // 组件在组件面板中的 tab 分组
baseLibrary?: 'react'|'rax';
setterMap?: SetterMap; // 注入 setter
}
export interface SetterMap {
[SetterName: string]: string;
}
export type Assets = {
package: string;
version: string;
urls: string[];
library: string;
};
// 示例
// {
// package: 'antd',
// version: '4.17.3',
// urls: [
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.js',
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.css',
// ],
// library: 'antd',
// }
demo/component
目录下是测试组件的项目,改项目引用了 build-plugin-lowcode,相关配置在在 demo/component/build.lowcode.js
中;
可以修改 build-plugin-lowcode 的代码、修改 demo/component/build.lowcode.js 的配置进行调试;
# 在 build-plugin-lowcode 根目录下执行启动调试环境
npm run component:dev
FAQs
build plugin for component-to-lowcode
We found that @alifd/build-plugin-lowcode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 26 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.