
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@kokojs/babel-preset-miniapp
Advanced tools
babel-preset-miniapp
是有赞小程序应用统一的 Babel 配置。
yarn add @kokojs/babel-preset-miniapp --dev
在 babel.config.js
中添加对应的 preset:
module.exports = {
presets: ['@kokojs/babel-preset-miniapp'],
};
用于 polyfill ESNext 语法。
用于将 Babel helper 转换为 import 形式,减少代码体积。
用于转换 TypeScript 语法。
用于组件库按需引入,目前包含以下组件库:
用于转换 class 的属性。
装饰器语法支持。
陈嘉涵。
FAQs
Babel preset for miniapp projects.
The npm package @kokojs/babel-preset-miniapp receives a total of 264 weekly downloads. As such, @kokojs/babel-preset-miniapp popularity was classified as not popular.
We found that @kokojs/babel-preset-miniapp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.