Repository navigation
chore: 仓库健康度配置、依赖升级与 zxcvbn v4 迁移 - #10
Merged
Merged
Conversation
两条 Dependabot 告警都出在 dev 依赖链路(不进运行时 bundle),但上游没有 可自动 PR 的组合版本,Dependabot 连报 security_update_not_possible: - minimatch `>= 7.0.0, < 11.0.1`(GHSA-g3hv-75wg-m249,DoS):链路是 eslint → @eslint/config-array → minimatch 以及 @typescript-eslint → typescript-estree → minimatch,把 eslint 升到 10.15.0、 @typescript-eslint 升到 8.74.0 后两者都直接依赖 ^11 - basic-ftp `<= 6.2.3`:链路是 release-it → proxy-agent → get-uri → basic-ftp 5.3.1,5.x 没有修复版,用 pnpm overrides 把 get-uri 锁到 ^8.0.2 以要求 basic-ftp ^6.2.4(实装 6.2.6) @typescript-eslint 8.74.0 刚发布未满 pnpm 的最小发布年龄,在 `minimumReleaseAgeExclude` 里显式豁免这一批包,过期后可删掉该节。 顺带把 dependabot/fetch-metadata 从 v2 提到 v3(v3 的破坏性变更只是 要求 Node 24 运行时,GitHub 托管 runner 已满足),替代此前被关掉的 Dependabot PR。 验证:pnpm lint / typecheck / test(329 passed)/ build 全绿; package.json 与 lockfile 同步,`pnpm install --frozen-lockfile` 通过。 Co-authored-by: pi <noreply@pi.dev> Assisted-by: pi:deepseek-v4.1-flash-free
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # package.json # pnpm-lock.yaml
v4 起 @zxcvbn-ts/core 改用 ZxcvbnFactory 注入翻译/邻接图/词典,
取代 v3 的 zxcvbn + zxcvbnOptions.setOptions;返回结构也变为
crackTimes(每项 { base, seconds, display })。这里在内部升级到
工厂用法的同时,把 crackTimes 还原成 v3 的 crackTimesSeconds /
crackTimesDisplay 平铺对象,键名与 public/openapi.yaml 登记的一致,
不破坏公开 API 契约。前端类型改为从 route 导出,解耦对库内部类型的依赖。
- upgrades.md:移除已完成的 major 升级(zxcvbn 家族 / crypto-random-string / motion / @scalar),仅留 @dicebear/core、typescript、@types/node 待评估 - deployment.md:补充 Vercel 三套环境都需配 NEXT_PUBLIC_* 的说明, 记录 Preview 漏配导致 PR 预览构建失败的根因
This was referenced Nov 24, 2026
This branch had an error being deployed
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.
一次性收敛仓库健康度与存量依赖问题,合入后删除 dependabot 的 5 个 major PR(#5–#9,均已包含在本 PR)。
仓库健康度配置
依赖升级(本地 lint/typecheck/test/build 四道全绿)
文档同步