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.
@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 92 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 0 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.