Skip to content

fix: choose shorter quotes for minified URLs - #7

Merged
intellild merged 4 commits into
masterfrom
codex/minify-url-quotes
Oct 22, 2026
Merged

intellild merged 4 commits into
masterfrom
codex/minify-url-quotes

Conversation

@intellild

Copy link
Copy Markdown
Collaborator

Ports parcel-bundler/lightningcss#1338. Preserves both original upstream commits with their original SHAs and authors, then adds a merge commit integrating rstackjs master (5aec9d4).

Choose the shorter quote style for minified URLs before comparing the quoted and unquoted forms. Reuse cssparser escaping for backslashes and control characters; retain existing behavior for ties, formatted output, and dependency placeholders.

For example, an SVG data URL containing <svg width="1" height="1"></svg> can use a single-quoted URL rather than double quotes that require backslashes before each attribute quote. This reduces the serialized URL length without changing its value.

Validation on the resulting tree:

  • cargo test --all-features --locked: passed, including integration tests and doctests.
  • cargo fmt --all -- --check and git diff --check: passed.

by OpenAI Codex

SyMind and others added 3 commits September 8, 2026 16:34
Preserve the original commits from parcel-bundler#1338.
Integrate the change with rstackjs/lightningcss master (5aec9d4),
retaining the fork package configuration and existing regression tests.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T03:02:25.122853Z 35d6b3c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codspeed

codspeed Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 12 untouched benchmarks
⏩ 4 skipped benchmarks1


Comparing codex/minify-url-quotes (b344266) with master (724c806)

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@intellild
intellild merged commit 989b96b into master Oct 22, 2026
4 checks passed
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.

2 participants