
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
babel-plugin-record-multilingual-entries
Advanced tools
npm i babel-plugin-record-multilingual-entries
const babelPluginRecordMultilingualEntries = require('babel-plugin-record-multilingual-entries');
module.exports = {
...
plugins: [
...
[[
babelPluginRecordMultilingualEntries, {
// 用户自定义的 多语言方法体, 传入该参数会覆盖插件 默认的方法体 (该插件 默认是 -> ['_vm.$t', 'this.$t', 'this.$i18n.t'])
// cusCompiledMultilingualList: [],
// 当有 多语言词条是 拼接的例如: $t('a' + item), 此时该文件路径就会被记录到 checkFileObj (需要手动确认词条)
checkFileObj: {},
// 结果集
resultList: [],
writerPath: '', // path 此配置可帮助用户在编译阶段 一边编译一边写多语言词条,通过流的方式
}
]]
]
}
FAQs
babel plugin vue2 multilingual entries
The npm package babel-plugin-record-multilingual-entries receives a total of 27 weekly downloads. As such, babel-plugin-record-multilingual-entries popularity was classified as not popular.
We found that babel-plugin-record-multilingual-entries 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
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.