SkillPedia Skills Encyclopedia
中文 EN

技能 2026-06-15 19:32 UTC

friday-studio

由提交人 ljagiello 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(studio-installer): patch esbuild + vite security advisories (Dependabot #60, #61) (#489)。解决了已知运行时异常与边界错误,提升系统稳定性。

ljagiello fb3069a friday-platform/friday-studio

Commit提交信息原文

fix(studio-installer): patch esbuild + vite security advisories (Dependabot #60, #61) (#489)

fix(studio-installer): pin esbuild to ^0.28.1, bump vite to 7.3.5 (security)

Resolves both open Dependabot alerts on apps/studio-installer
(esbuild, a transitive dev dependency of vite):

  - GHSA-gv7w-rqvm-qjhr (high): missing binary integrity verification
    in the Deno module enables RCE via NPM_CONFIG_REGISTRY
  - GHSA-g7r4-m6w7-qqqr (low): arbitrary file read via the dev server
    on Windows

Both are fixed in esbuild 0.28.1. vite 7.x — including the latest
7.3.5 — still depends on `esbuild ^0.27.0`, and there is no vite 7
release that adopts 0.28.x (vite 8 dropped esbuild for rolldown, which
would also force a @sveltejs/vite-plugin-svelte 6→7 major bump). So
instead of the disruptive vite 8 upgrade Dependabot proposed (#471),
pin the transitive esbuild via an npm `overrides` entry and stay on the
proven vite 7 line.

While regenerating the standalone lockfile, `npm audit` surfaced a
separate high-severity advisory in vite itself (GHSA-fx2h-pf6j-xcff,
GHSA-v6wh-96g9-6wx3; vulnerable range 7.0.0 - 7.3.3). The package range
already allows the patched 7.3.5, so the lock is bumped to it too —
no package.json change needed. `npm audit` is now clean (0 vulns).

Verified: `npm ci` + `vite build` succeed with esbuild 0.28.1 / vite
7.3.5 (130 modules, dist produced). The override is honored by the
standalone `npm ci` build (studio-installer-build.yml); deno ignores
member-level overrides so `deno.lock` is unchanged and `deno install
--frozen` still passes.