Repository navigation
chore(deps): upgrade esbuild and remove OSV exceptions - #130
Merged
Merged
Conversation
3 tasks
Member
Author
|
Added a tracked exception for GHSA-82fw-gwwq-j7x9 (vitest 3.2.6, medium, devDependency only; OSV began reporting it 2026-09-09). The removal is #132 with the vitest 4 upgrade. |
ElbertePlinio
deleted the
chore/96-upgrade-deps-remove-osv-exceptions
branch
September 9, 2026 12:29
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.
Closes #96
Upgrade the single resolved esbuild from 0.27.7 to 0.28.1 and remove both
IgnoredVulnsentries entirely.osv-scanner.tomlnow has no exceptions.Dependency chains: root
[email protected] -> [email protected]; root[email protected] -> [email protected] -> [email protected], also through[email protected]. Both build tools request^0.27.0. A root Bun override deliberately selects 0.28.1, the first fixed release for GHSA-g7r4-m6w7-qqqr, for every chain and matching platform binary. This is outside the upstream ranges, so compatibility is verified here rather than claimed as upstream-supported. The 0.28.0 breaking change adds install-time binary integrity checks; no API used by our build requires migration. Keeping tsup/Vitest avoids an unrelated build-system or test-runner major migration.The historical Hono chain was
packages/{cli,mcp-server} -> @modelcontextprotocol/[email protected] -> @hono/[email protected]. GHSA-frvp-7c67-39w9 is fixed in 1.19.15 and 2.0.5. Main already contains the #94 split SDK 2.0.0 migration (ec704ce), which removed this dependency entirely. No vulnerable Hono adapter remains and none is reintroduced.Retain raw-wire MCP negotiation, malformed input, EOF/signal shutdown, browser lifecycle, packed CLI execution, and security coverage. Add checks for all generated CLI chunks and linked sourcemaps, bundled workspace imports, executable shebangs, and real generated-to-TypeScript source-line mappings. Build freshness now includes the root package manifest and Bun lockfile, preventing dependency changes from testing stale output.
Validation:
bun installpassed; CI-pinned Bun 1.3.12 also passedinstall --frozen-lockfile.bun run typecheck,bun run lint,bun run test,bun run test:coverage,bun run build, andcomplexity-gate check --changedpassed. Both test runs passed 116 files and 1,481 tests, with four desktop skips (two xterm-dependent, one Zenity-dependent, one CI-only).PICKFORGE_REQUIRE_BROWSER=1was set for both runs; browser tests ran with the sandbox enabled. Coverage: statements/lines 85.09%, branches 86.87%, functions 91.38%, with all existing thresholds unchanged. Security tests are included. Live Android was not opted in. No Cargo files changed, so the task's conditional Rust test was not run locally.The dependency-audit action pinned at
9a498708959aeaef5ef730655706c5a1df1edbc2uses OSV scanner v2.3.8. Ran its exact command,osv-scanner scan source --recursive ./, with the checksum-verified v2.3.8 release binary: 106 Cargo packages and 312 Bun packages scanned, exit 0,No issues found. Docker socket access is unavailable locally, so this uses the same scanner version natively rather than the action container. An additionalscan source --recursive --format json --all-vulns ./returned"results": []; neither advisory appears as an unfiltered or allowlisted finding.No user-visible behavior changed, so no release Changes bullet is needed. CI checks remain the final cross-platform gate; do not merge this PR as part of this task.
Independent final review approved with no blocking findings. Parent confirmed complexity-gate exit 0 after the review. GitHub dependency-audit, gitleaks, Rust on Linux and Windows, candidate builds, and Apple silicon/clean Flutter container smokes passed. The CI TypeScript test job is still running.