Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
common lib for lemon
替换下面的 {version} 为你需要的版本即可
<!-- 开发阶段引入 无压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLib.js"></script>
<!-- 产品阶段引入 已压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLib.min.js"></script>
<!-- 开发阶段引入 无压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLibQuasar.js"></script>
<!-- 产品阶段引入 已压缩 -->
<script src="//shadow.elemecdn.com/npm/lemon-lib@{version}/dist/lemonLibQuasar.min.js"></script>
lemonBase.min.css
文件包含以下库:
打包后产生 2 个包文件 lemonLibQuasar 比 lemonLib 多一个 quasar UI 库。
编辑器中请使用 lemonLibQuasar
生成的页面请使用 lemonLib
externals: {
vue: 'Vue',
vuex: 'Vuex',
'vue-router': 'VueRouter',
'lemon': 'Lemon',
axios: 'axios',
'vue-img': 'VueImg',
'h5-utils': 'Utils',
'eleme-ubt': 'UBT',
'uparams': 'UParams',
'sns-sdk': 'sns',
'geohash.js': 'Geohash',
'vue-sticky': 'VueSticky',
qrcode: 'QRCode',
quasar: 'Quasar'
},
{
globals: {
Vue: true,
Vuex: true,
VueRouter: true,
Lemon: true,
axios: true,
VueImg: true,
Utils: true,
UBT: true,
UParams: true,
sns: true,
Geohash: true,
VueSticky: true,
QRCode: true,
Quasar: true
}
}
FAQs
common lib for lemon
We found that lemon-lib 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.