mirror of
https://github.com/hanzoai/tailwindcss.git
synced 2026-09-24 17:03:14 +00:00
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 <[email protected]>
25 lines
558 B
TOML
25 lines
558 B
TOML
[package]
|
|
name = "tailwindcss-oxide"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
bstr = "1.11.3"
|
|
globwalk = "0.9.1"
|
|
log = "0.4.22"
|
|
rayon = "1.10.0"
|
|
fxhash = { package = "rustc-hash", version = "2.1.1" }
|
|
crossbeam = "0.8.4"
|
|
tracing = { version = "0.1.40", features = [] }
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
|
walkdir = "2.5.0"
|
|
ignore = "0.4.23"
|
|
dunce = "1.0.5"
|
|
bexpand = "1.2.0"
|
|
fast-glob = "0.4.3"
|
|
classification-macros = { path = "../classification-macros" }
|
|
regex = "1.11.1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.13.0"
|