Repository navigation
chore(deps): bump vue-i18n from 9.9.1 to 11.4.22 in /ui-vue3 - #1668
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [vue-i18n](https://github.com/intlify/vue-i18n/tree/HEAD/packages/vue-i18n) from 9.9.1 to 11.4.22. - [Release notes](https://github.com/intlify/vue-i18n/releases) - [Changelog](https://github.com/intlify/vue-i18n/blob/v11.4.22/CHANGELOG.md) - [Commits](https://github.com/intlify/vue-i18n/commits/v11.4.22/packages/vue-i18n) --- updated-dependencies: - dependency-name: vue-i18n dependency-version: 11.4.22 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
robocanic
reviewed
Dec 6, 2026
robocanic
left a comment
Contributor
There was a problem hiding this comment.
优点
- 改动范围小,仅涉及
ui-vue3/package.json与ui-vue3/yarn.lock。 - 项目已使用 Composition 模式(
src/base/i18n/index.ts:38-43,legacy: false),且未发现$tc/tc()、<i18n>组件、v-t等 v10+ 已移除/变更的 API;messages中仅有简单的命名插值{name},升级到 v11 的 API 兼容性风险较低。
Issues
Critical (Must Fix)
vue-i18n@11.4.22要求 Node >= 22,但项目构建环境均为 Node 18,导致前端构建与 CI 失败- 证据:CI 日志
yarn install --frozen-lockfile报错error vue-i18n@11.4.22: The engine "node" is incompatible with this module. Expected version ">= 22". Got "18.20.8",CI (Go 1.23 / 1.24)与RISC-V Build均因此失败。 - 受影响位置:
.github/workflows/ci.yml:58、.github/workflows/riscv-build.yml:42(node-version: '18')、Dockerfile:17(node:18-alpine)、ui-vue3/README.md:28(node v18),以及ui-vue3/package.json中的@tsconfig/node18。 - 影响:合入后 CI 和镜像构建(Dockerfile 的 frontend-builder 阶段)都会在
yarn install时失败,本地 Node 18 开发者同样无法安装依赖。 - 建议:二选一
a. 若决定升级,需要在同一 PR 中把 CI、RISC-V workflow、Dockerfile、README 以及@tsconfig/node*等统一升级到 Node >= 22,并确认 vite 5 / vitest 1 / ts-node 等工具链在 Node 22 下正常(跑yarn build、yarn test、yarn check:i18n);
b. 若暂不升级 Node,则不要合入此 PR,将vue-i18n限制在不要求 Node 22 的版本范围(例如通过 dependabotignore规则限制到 v9/v10 范围)。
- 证据:CI 日志
Important (Should Fix)
- 缺少升级后的验证:这是跨两个大版本(9 → 11)的升级,目前 CI 在安装阶段即失败,
yarn build、yarn test(含updateByFormView.spec.ts、RuleHistoryPanel.spec.ts等依赖 i18n 的测试)及页面中的中英文切换均未得到验证。请在修复 Node 版本问题后确认这些检查通过,并手动验证routingRuleDomain.baseDesc/matchDesc/distributeDesc、ruleVersionDomain.latestRecordedVersionBadge等带插值的文案渲染正常。 yarn.lock的 registry 源被整体改写:原条目使用registry.npmmirror.com,新条目使用registry.yarnpkg.com,lockfile 中源地址不一致,可能影响国内环境的安装速度/可用性。建议统一 registry 后再生成 lockfile(若项目约定使用 npmmirror 则保持一致)。
总体评估
暂不可合入(Not ready):依赖本身为安全修复类更新、代码层面兼容性良好,但 Node >= 22 的引擎要求与项目当前 Node 18 的 CI/Dockerfile 冲突,已导致 CI 失败;需先统一 Node 版本或放弃该升级。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Bumps vue-i18n from 9.9.1 to 11.4.22.
Release notes
Sourced from vue-i18n's releases.
... (truncated)
Changelog
Sourced from vue-i18n's changelog.
... (truncated)
Commits
397179drelease: v11.4.22ccd3d88release: v11.4.21ad1db4frelease: v11.4.20bb9d666release: v11.4.1973ed6ecrelease: v11.4.18e26d251release: v11.4.17ffe5249release: v11.4.1604defcbrelease: v11.4.153d8774ffix: let Node.js ESM load the Node.js builds, so that SSR works in production...6bb9ebdrelease: v11.4.14Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for vue-i18n since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.