Skip to content

fix(deps): 修复开放依赖安全告警 - #280

Merged
g1331 merged 1 commit into
masterfrom
fix/dependency-security-alerts
Aug 17, 2026
Merged

fix(deps): 修复开放依赖安全告警#280
g1331 merged 1 commit into
masterfrom
fix/dependency-security-alerts

Conversation

@g1331

@g1331 g1331 commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

修复默认分支上的 5 个开放 Dependabot 安全告警。

Related Issue

无关联 Issue。

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • Build/CI (changes to build system or CI configuration)

Changes

  • 将直接依赖 postcss 提升到 ^8.5.25
  • 将所有低于 3.3.18nanoid 解析到 3.3.18
  • 将所有低于 8.5.23postcss 解析到 8.5.25
  • 将所有低于 0.35.0sharp 解析到 0.35.0
  • 刷新 pnpm-lock.yaml,消除旧的 nanoidpostcsssharp 版本。

Test Plan

  • Local tests pass (pnpm test:run)
  • Type check passes (pnpm exec tsc --noEmit)
  • Lint passes (pnpm lint)
  • Manual testing completed
  • pnpm build
  • pnpm audit --registry=https://registry.npmjs.org --json(0 vulnerabilities)

Checklist

  • Code follows the project's coding standards
  • Tests have been added where necessary
  • Documentation has been updated (if applicable)
  • Changes do not introduce security vulnerabilities
  • Commit messages follow conventions

Screenshots

不适用。

Additional Notes

GitHub 默认分支当前仍显示 5 条开放告警;合并此 PR 后等待 Dependabot 重新扫描即可确认关闭。

@g1331
g1331 merged commit 4f7ed73 into master Aug 17, 2026
15 checks passed
@g1331
g1331 deleted the fix/dependency-security-alerts branch August 17, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant