
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
提醒:请使用 tnpm 安装,新版本并不会发布到 npm 中。
校验 .we
文件或者 JS Bundle 是否符合规范。
安装:
tnpm install @ali/weex-lint -g
使用 cli:
weex-lint example.we
在 node.js 程序中使用:
var weexLint = require('weex-lint')
weexLint('filePath_or_URL')
.then(function(result) {
// 输出校验报告的函数
result.reporter(result.record)
// 获取结果报告的 JSON 字符串
result.toJSON()
})
详细的使用方法请参考:《Use it in node.js》
.we
格式的 weex 组件文件。# 校验本地 .we 文件
weex-lint src/index.we
# 校验本地打包好的 js bundle
weex-lint dist/index.js
# 校验远端 .we 原文件
weex-lint https://x.com/src/demo.we
# 校验远端压缩后的 js bundle
weex-lint http://x.com/dist/demo.min.js
FAQs
Diagnose weex file
We found that weex-lint 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
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.