Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@alitajs/aconsole
Advanced tools
一些 alita 项目的移动端调试工具的集合。
{
aconsole:{
inspx:{},
console:{}
}
}
inspx 可以通过摇一摇唤醒,用于查看页面渲染的 px 值,显示值为真实的 px 值,可能是设置的 px 值 @2x 或者 @3x。
配置项。
export default {
aconsole:{
inspx: {
production: false, // 希望在生产上也能够保留 inspx 功能,一般用在特殊的灰度环境
disabled: false, // 是否关闭 inspx 功能,推荐用法是不使用,这里可以不配置 inspx 。
margin: true,
size: true,
padding: true,
},
}
};
控制台通过配置唤起。
配置项。
键名 | 类型 | 可选 | 默认值 | 描述 |
---|---|---|---|---|
defaultPlugins | Array | true | ['system', 'network', 'element', 'storage'] | 需要自动初始化并加载的内置插件。 |
onReady | Function | true | 回调方法,当 vConsole 完成初始化并加载完内置插件后触发。 | |
onClearLog | Function | true | 回调方法,点击 Log 或 System 面板的 "Clear" 按钮后出发。 | |
maxLogNumber | Number | true | 1000 | 超出上限的日志会被自动清除。 |
disableLogScrolling | Boolean | true | 若为 false ,有新日志时面板将不会自动滚动到底部。 | |
theme | String | true | 'light' | 主题颜色,可选值为 'light' |
FAQs
@alitajs/aconsole
We found that @alitajs/aconsole 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
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.