Skip to content

Commit 1c0cec7

Browse files
update regex crate: 1.11.1 -> 1.12.2
Summary: Primarily updating for https://docs.rs/regex/latest/regex/struct.Captures.html#method.get_match to avoid explicit `unwrap()` in production code https://github.com/rust-lang/regex/blob/master/CHANGELOG.md Differential Revision: D87950658
1 parent 25b58c0 commit 1c0cec7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/pyrefly_config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ parse-display = "0.8.2"
2121
pyrefly_build = { path = "../pyrefly_build" }
2222
pyrefly_python = { path = "../pyrefly_python" }
2323
pyrefly_util = { path = "../pyrefly_util" }
24-
regex = "1.11.1"
24+
regex = "1.12.2"
2525
regex-syntax = "0.7.5"
2626
serde = { version = "1.0.219", features = ["derive", "rc"] }
2727
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }

crates/pyrefly_python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ lsp-types = { git = "https://github.com/astral-sh/lsp-types", rev = "3512a9f33ea
1919
parse-display = "0.8.2"
2020
pathdiff = "0.2"
2121
pyrefly_util = { path = "../pyrefly_util" }
22-
regex = "1.11.1"
22+
regex = "1.12.2"
2323
ruff_notebook = { git = "https://github.com/astral-sh/ruff/", rev = "474b00568ad78f02ad8e19b8166cbeb6d69f8511" }
2424
ruff_python_ast = { git = "https://github.com/astral-sh/ruff/", rev = "474b00568ad78f02ad8e19b8166cbeb6d69f8511" }
2525
ruff_python_parser = { git = "https://github.com/astral-sh/ruff/", rev = "474b00568ad78f02ad8e19b8166cbeb6d69f8511" }

pyrefly/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pyrefly_python = { path = "../crates/pyrefly_python" }
4141
pyrefly_types = { path = "../crates/pyrefly_types" }
4242
pyrefly_util = { path = "../crates/pyrefly_util" }
4343
rayon = "1.11.0"
44-
regex = "1.11.1"
44+
regex = "1.12.2"
4545
ruff_annotate_snippets = { git = "https://github.com/astral-sh/ruff/", rev = "474b00568ad78f02ad8e19b8166cbeb6d69f8511" }
4646
ruff_notebook = { git = "https://github.com/astral-sh/ruff/", rev = "474b00568ad78f02ad8e19b8166cbeb6d69f8511" }
4747
ruff_python_ast = { git = "https://github.com/astral-sh/ruff/", rev = "474b00568ad78f02ad8e19b8166cbeb6d69f8511", features = ["serde"] }

0 commit comments

Comments
 (0)