Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@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 139 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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.