Repository navigation
chore(deps): bump happy-dom to 21, biome to 2.6, bun to 1.4.4 - #24
Conversation
Fixes two Socket alerts on happy-dom@20.14.6, pulled in through @happy-dom/global-registrator in packages/react: - SSRF via iframe and link stylesheet (<= 20.14.6, fixed in 21.0.0) - Unsanitized import alias leads to host code execution, an incomplete fix for CVE-2026-33943 (<= 21.0.3, fixed in 21.0.4) Also bumps @biomejs/biome 2.5.15 -> 2.6.6, @types/bun to ^1.4.4 and packageManager to bun@1.4.4. Biome 2.6 adds rules that flagged the tests, so the Streamed test components move to module level (noComponentHookFactories), the compat tests compare exports via Object.entries instead of dynamic namespace access, and the biome.json schema URL points at 2.6.6.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. WalkthroughThe pull request updates Bun, Biome, and a React development dependency. It also changes compatibility export assertions and restructures React test components. ChangesToolchain and test maintenance
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Merge Risk:
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Closes #26
Summary
Fixes two Socket alerts on
happy-dom@20.14.6, whichpackages/reactpulls in through@happy-dom/global-registrator(a dev dependency):No 20.x release has these fixes, so this takes the major bump to
^21.0.4.Also bumps:
@biomejs/biomefrom 2.5.15 to 2.6.6@types/bunto^1.4.4packageManagertobun@1.4.4(root,packages/kirari,packages/compat)Biome 2.6 follow-ups
Biome 2.6 adds rules that flagged existing code:
noComponentHookFactories(error): theStreamedtest components inpackages/react/test/hook.test.tsxandstream.test.tsxwere defined inside functions and now live at module level. The hook test passes itshandlein as a prop.noDynamicNamespaceImportAccess(warning): the compat tests compare exports withObject.entriesandReflect.getinstead of indexing the namespace.useLiteralKeys(info): one fix inscripts/check-packages.ts.$schemaURL inbiome.jsonnow points at 2.6.6. Only that line changed, sincebiome migratereformats the whole file.Testing
bun run typecheck,bun run testandbun run checkall pass.Summary by cubic
Bumps
happy-domto 21.0.4 to fix two Socket security alerts inpackages/react(SSRF via iframe and link stylesheet, and host code execution via unsanitized import alias), and bumps@biomejs/biometo 2.6.6,@types/bunto ^1.4.4, and the pinned bun to 1.4.4.Biome 2.6 follow-ups
Streamedtest components move to module level for the newnoComponentHookFactoriesrule; the hook test passes itshandleas a prop instead.Object.entriesandReflect.getinstead of dynamic namespace access.useLiteralKeysfix inscripts/check-packages.tsand thebiome.jsonschema URL now point at 2.6.6.Written for commit 969d807. Summary will update on new commits.
Summary by CodeRabbit