vercel / speed-insights

Vercel Speed Insights package
https://vercel.com/docs/speed-insights
Apache License 2.0
54 stars 6 forks source link

[Bug] Nullish coalescing remaining even in bundled code and breaking old browsers #53

Open hyoretsu opened 5 months ago

hyoretsu commented 5 months ago
document.head.appendChild(n),
                        {
                            setRoute: t=>{
                                n.dataset.route = t ?? void 0
                            }
                        }

It looks to be this file/line: https://github.com/vercel/speed-insights/blob/bcad295582e2abeaed22b5636f1ae015c4db8304/packages/web/src/generic.ts#L79