Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ rustls = { version = "0.23", default-features = false, features = ["std", "tls12
# Regex
regex = "1"
regex-automata = { version = "0.4", default-features = false, features = ["std", "syntax", "hybrid", "unicode", "perf"] }
fancy-regex = "0.19"
fancy-regex = "0.20"

# Date/Time
# Important decision: `default-features = false` drops chrono's `wasmbind`,
Expand Down
10 changes: 5 additions & 5 deletions crates/bashkit/fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion crates/bashkit/src/builtins/search_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ use crate::builtins::limits::RUNTIME_REGEX_CACHE_ENTRIES;
/// Default compiled-regex size limit (1 MB).
pub(crate) const REGEX_SIZE_LIMIT: usize = 1_000_000;

/// Default DFA size limit (1 MB).
/// Default DFA budget (1 MB).
///
/// Two engines read this constant and mean different things by it. For the
/// `regex` crate it is `dfa_size_limit`, a cap on compiled DFA size. For
/// fancy-regex it is `delegate_dfa_size_limit`, which since 0.20.0 sets the
/// *lazy-DFA cache capacity* rather than a compiled-DFA size cap; 0.20.0 also
/// enables `delegate_dfa_skip_cache_capacity_check` by default, so a value too
/// small for a pattern degrades instead of failing to compile.
pub(crate) const REGEX_DFA_SIZE_LIMIT: usize = 1_000_000;

/// Backtracking step cap for the fancy-regex (PCRE / `grep -P`) engine.
Expand Down
4 changes: 2 additions & 2 deletions examples/hyperlight/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ version = "0.17.0"
criteria = "safe-to-deploy"

[[exemptions.fancy-regex]]
version = "0.19.2"
version = "0.20.0"
criteria = "safe-to-deploy"

[[exemptions.fastbloom]]
Expand Down
Loading