Upgrade vite 6.4.3 to 6.4.6 and apply in-range npm audit fixes

未关闭 适合新手
#21 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
83/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
node.js, typescript, vite

调研方向

从 package.json 和 package-lock.json 开始;按说明运行 npm update vite 和 npm audit fix,不要使用 --force。检查剩余的审计问题是否仅限于 workbox-build 依赖链,然后运行 npm run build 并确认构建通过。

由索引模型根据 Issue 内容生成。

描述

dependencies good first issue severity: medium

Summary

npm audit reports advisories against development and build tooling, all with in-range fixes. None of the affected packages are in the shipped bundle; the production tree is phaser and eventemitter3 only.

Where

  • package.json:21, package-lock.json

Details

Packages with a fix available inside the current ranges:

  • vite 6.4.3 to 6.4.6
  • source-map-js to 1.2.2 (via postcss)
  • fast-uri to 3.1.9 (via workbox-build)
  • serialize-javascript to 7.1.3 (via workbox-build)
  • @types/node patch bump

glob, minimatch and deepmerge under workbox-build have no upstream fix yet. Do not take the suggested downgrade of vite-plugin-pwa; accept those until workbox-build ships a release on fixed versions.

Suggested fix

Run npm update vite and npm audit fix (without --force), then commit package-lock.json.

Acceptance criteria

  • npm audit reports only the workbox-build chain
  • npm run build passes

Getting started

  • Relevant files: package.json, package-lock.json
  • Run locally: npm install, then npm run dev
  • Checks: npm run typecheck and npm run build (there is no test suite yet)
  • Related docs: README.md

Filed by repo-audit/full-audit at b001f5d. Severity: medium. Effort: S. audit-key: dependencies|package.json|vite

主要语言
TypeScript
星标
3
派生
3
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TMHSDigital/GH-Arcade 的其他 Issue

查看 TMHSDigital/GH-Arcade 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。