Visitar URL original
fix(perf-kit): read `index.html` as the browser does when detecting the entry by IWANABETHATGUY · Pull Request #11668 · rolldown/rolldown · GitHub
Skip to content

fix(perf-kit): read index.html as the browser does when detecting the entry - #11668

Open
IWANABETHATGUY wants to merge 2 commits into
mainfrom
fix/perf-kit-entry-attr-quotes
Open

IWANABETHATGUY wants to merge 2 commits into
mainfrom
fix/perf-kit-entry-attr-quotes

Conversation

@IWANABETHATGUY

Copy link
Copy Markdown
Member

detectEntry only matched double-quoted src and type, so it missed <script defer src=/a/nav.js> from minified HTML. It also took a module script tag inside a comment or <template> as the entry.

parse5 uses a plain version range instead of catalog: because perf-kit is published with npm publish, which does not resolve catalog:.

fixes #11555

…he entry

`detectEntry` only matched double-quoted `src` and `type`, so it missed
`<script defer src=/a/nav.js>` from minified HTML. It also took a module
script tag inside a comment or `<template>` as the entry.

`parse5` uses a plain version range instead of `catalog:` because
perf-kit is published with `npm publish`, which does not resolve
`catalog:`.

fixes #11555
@socket-security

socket-security Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​parse5@​8.1.1931008893100

View full report

@netlify

netlify Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit c88d119
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6af5826f6c09c121abd194d3
😎 Deploy Preview https://deploy-preview-11668--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-perf-kit-entry-attr-quotes-rolldown-rs.voidzero-docs.workers.dev (commit c88d119)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://b18b55ec-rolldown-rs.voidzero-docs.workers.dev c88d119 2026-11-12T09:11:47.830Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ceb44774-rolldown-rs.voidzero-docs.workers.dev 572eb58 2026-11-12T08:40:13.645Z Visit the dashboard ↗

@IWANABETHATGUY
IWANABETHATGUY marked this pull request as ready for review November 12, 2026 09:12

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: perf-kit: entry auto-detection misses unquoted or single-quoted script src

2 participants