[PR #370] [MERGED] fix: update stale compat scanner entries #518

Closed
opened 2026-05-06 13:08:30 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/370
Author: @NathanDrake2406
Created: 3/9/2026
Status: Merged
Merged: 3/9/2026
Merged by: @james-elicx

Base: mainHead: fix/stale-compat-scanner


📝 Commits (1)

  • 28e74fb fix: update stale compat scanner entries for font.variable and useServerInsertedHTML

📊 Changes

2 files changed (+7 additions, -8 deletions)

View changed files

📝 packages/vinext/src/check.ts (+3 -3)
📝 tests/check.test.ts (+4 -5)

📄 Description

Summary

  • next/font/local: updated from partial to supported — both className and variable modes work (tested in font-local-transform.test.ts)
  • styled-components and @emotion/react: updated from partial to supporteduseServerInsertedHTML is implemented in navigation.ts and tested in server-inserted-html.test.ts
  • Updated test assertions in check.test.ts to match

Test plan

  • All 71 check.test.ts tests pass
  • Verified font-local-transform.test.ts exercises font.variable (line 363)
  • Verified server-inserted-html.test.ts tests styled-components SSR pattern (line 138)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/370 **Author:** [@NathanDrake2406](https://github.com/NathanDrake2406) **Created:** 3/9/2026 **Status:** ✅ Merged **Merged:** 3/9/2026 **Merged by:** [@james-elicx](https://github.com/james-elicx) **Base:** `main` ← **Head:** `fix/stale-compat-scanner` --- ### 📝 Commits (1) - [`28e74fb`](https://github.com/cloudflare/vinext/commit/28e74fb3047907286e6e71a96d85f9ce40754c9e) fix: update stale compat scanner entries for font.variable and useServerInsertedHTML ### 📊 Changes **2 files changed** (+7 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/check.ts` (+3 -3) 📝 `tests/check.test.ts` (+4 -5) </details> ### 📄 Description ## Summary - `next/font/local`: updated from `partial` to `supported` — both `className` and `variable` modes work (tested in `font-local-transform.test.ts`) - `styled-components` and `@emotion/react`: updated from `partial` to `supported` — `useServerInsertedHTML` is implemented in `navigation.ts` and tested in `server-inserted-html.test.ts` - Updated test assertions in `check.test.ts` to match ## Test plan - [x] All 71 `check.test.ts` tests pass - [x] Verified `font-local-transform.test.ts` exercises `font.variable` (line 363) - [x] Verified `server-inserted-html.test.ts` tests styled-components SSR pattern (line 138) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:08:30 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#518
No description provided.