Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release/v4.0.17
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 25 files changed
  • 2 contributors

Commits on Mar 26, 2025

  1. Fix Ruby files causing the CLI to hang (#17383)

    Fixes #17379
    
    The preprocessor we added to detect embedded languages uses a back
    reference and given a long enough file with certain byte / character
    patterns it'll cause what appears to be an indefinite hang (might just
    be catastrophically exponential backtracking but not sure)
    
    This replaces the one regex w/ back references with two, anchored,
    multi-line regexes
    
    Now we search for all the starting & ending delimiters in the file. We
    then loop over all the starting delimiters, find the paired ending one,
    and preprocess the content inside
    
    ---------
    
    Co-authored-by: Philipp Spiess <hello@philippspiess.com>
    thecrypticace and philipp-spiess committed Mar 26, 2025
    Configuration menu
    Copy the full SHA
    6220cb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b1c650 View commit details
    Browse the repository at this point in the history
Loading