Last 12 weeks · 3 commits
3 of 6 standards met
When rendering my Next app, I'm getting an SSR error from SpeedInsights. How do I know it's from Speed Insights? I can comment it out and the error goes away. Here's the error: I'm seeing some Stack Overflows referencing issues where you might have HTML elements inside one another, like els inside other els, etc. You can silence this error by doing this.
Widen peer dependency from to and bump the dev dependency to . Vue Router 5 has no breaking changes for v4 consumers, but projects using it currently get an unmet peer warning. This resolves that while keeping v4 compatibility. Note:** The large diff is due to and playground apps using specifiers resolving to newer versions.
📓 What's in there? This PR refactors the SvelteKit API to support the upcoming SvelteKit 3 release. Notably, and are going to be removed. So the API should no longer import from them. The test app itself: has Svelte config moved to the Vite config file dependencies bumped to Kit 3 minimum peer versions 🧪 How to test? 1. Bootstrap a SvelteKit skeleton project with . 2. Run the following to update relevant deps to their SvelteKit 3 counterpart: 3. Follow the quickstart instructions for SvelteKit at https://npmx.dev/package/@vercel/speed-insights#user-content-quickstart ❗ Notes to reviewers Not entirely confident about the refactor. May need someone more familiar with Svelte 5 to suggest changes
🖖🏻 What's in there? Adds SvelteKit 3 support via while keeping on the existing SvelteKit 2 integration, and bumps the canary package version to . Introduce a new test application deployed on Vercel for sveltekit@3 🤺 How to test? Ultimate test is to use the test apps: sveltekit-old for SV2 sveltekit for SV3 Visit these apps with your devtools open on the network tab, Click in the body for triggering FID measurement (it's optional, in this case only LCP, TTFB and FCP will be measured) Click on the link to navigate away Check the payload of the POST to : you'll see the metrics, attributed to the correct route. 🔬 Notes to reviewers Builds on and refines the excellent original attempt in #118. That PR did the important groundwork of identifying the SvelteKit 3 shift from to ; this keeps that direction while preserving the stable SvelteKit 2 export.
Repository: vercel/speed-insights. Description: Vercel Speed Insights package Stars: 111, Forks: 23. Primary language: TypeScript. Languages: TypeScript (59.4%), Astro (22%), CSS (9.7%), Vue (4.2%), JavaScript (3.6%). License: MIT. Homepage: https://vercel.com/docs/speed-insights Latest release: v2.0.0 (5mo ago). Open PRs: 5, open issues: 19. Last activity: 1mo ago. Community health: 62%. Top contributors: feugy, tobiaslins, HugoRCD, huozhi, emspishak, fgascon, MoustaphaDev, skve, Rich-Harris.