From a4ef7c1ac4496f472fa70e077bf14c7bacfa77e7 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 19 Feb 2024 09:54:37 +0800
Subject: [PATCH] Bump fancy-regex from 0.12.0 to 0.13.0 (#11893)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [fancy-regex](https://github.com/fancy-regex/fancy-regex) from
0.12.0 to 0.13.0.
Release notes
Sourced from fancy-regex's
releases.
0.13.0
Added
- Support for relative backreferences using
\k<-1>
(-1 references the
previous group) (#121)
- Add
try_replacen
to Regex
which returns a
Result
instead of panicking
when matching errors (#130)
Changed
- Switch from regex crate to regex-automata and regex-syntax (lower
level APIs)
to simplify internals (#121)
- Allow escaping some letters in character classes, e.g.
[\A]
used to error
but now matches the same as [A]
(for compatibility with
Oniguruma)
- MSRV (minimum supported Rust version) is now 1.66.1 (from
1.61.0)
Fixed
- Fix index out of bounds panic when parsing unclosed
(?(
(#125)
Changelog
Sourced from fancy-regex's
changelog.
[0.13.0] - 2023-12-22
Added
- Support for relative backreferences using
\k<-1>
(-1 references the
previous group) (#121)
- Add
try_replacen
to Regex
which returns a
Result
instead of panicking
when matching errors (#130)
Changed
- Switch from regex crate to regex-automata and regex-syntax (lower
level APIs)
to simplify internals (#121)
- Allow escaping some letters in character classes, e.g.
[\A]
used to error
but now matches the same as [A]
(for compatibility with
Oniguruma)
- MSRV (minimum supported Rust version) is now 1.66.1 (from
1.61.0)
Fixed
- Fix index out of bounds panic when parsing unclosed
(?(
(#125)
Commits
bf2c807
Version 0.13.0
7b4ad11
Merge pull request #129
from fancy-regex/changelog-0.13
8d8ea4f
Document how to check matching in Oniguruma
1fab2c7
Add character class escaping change
2d63395
Add try_replacen
6deb4fc
Prepare CHANGELOG for next release
c0e701f
Merge pull request #130
from kevinhu/try_replacen
55f6549
Add try_replacen
8ab3a44
Merge branch 'fancy-regex:main' into main
494cd93
Merge pull request #126
from robertknight/patch-1
- Additional commits viewable in compare
view
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fancy-regex&package-manager=cargo&previous-version=0.12.0&new-version=0.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
Cargo.lock | 7 ++++---
crates/nu-cli/Cargo.toml | 2 +-
crates/nu-cmd-dataframe/Cargo.toml | 2 +-
crates/nu-cmd-extra/Cargo.toml | 2 +-
crates/nu-cmd-lang/Cargo.toml | 2 +-
crates/nu-command/Cargo.toml | 2 +-
crates/nu-protocol/Cargo.toml | 2 +-
crates/nu-table/Cargo.toml | 2 +-
8 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b2f177b22f..5389f88ac2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1388,12 +1388,13 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
[[package]]
name = "fancy-regex"
-version = "0.12.0"
+version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7493d4c459da9f84325ad297371a6b2b8a162800873a22e3b6b6512e61d18c05"
+checksum = "531e46835a22af56d1e3b66f04844bed63158bc094a628bec1d321d9b4c44bf2"
dependencies = [
"bit-set",
- "regex",
+ "regex-automata",
+ "regex-syntax",
]
[[package]]
diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml
index 46885245ff..cdca7a7cda 100644
--- a/crates/nu-cli/Cargo.toml
+++ b/crates/nu-cli/Cargo.toml
@@ -29,7 +29,7 @@ reedline = { version = "0.29.0", features = ["bashisms", "sqlite"] }
chrono = { default-features = false, features = ["std"], version = "0.4" }
crossterm = "0.27"
-fancy-regex = "0.12"
+fancy-regex = "0.13"
fuzzy-matcher = "0.3"
is_executable = "1.0"
log = "0.4"
diff --git a/crates/nu-cmd-dataframe/Cargo.toml b/crates/nu-cmd-dataframe/Cargo.toml
index 58623f9e38..08b8a281e6 100644
--- a/crates/nu-cmd-dataframe/Cargo.toml
+++ b/crates/nu-cmd-dataframe/Cargo.toml
@@ -20,7 +20,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
# Potential dependencies for extras
chrono = { version = "0.4", features = ["std", "unstable-locales"], default-features = false }
chrono-tz = "0.8"
-fancy-regex = "0.12"
+fancy-regex = "0.13"
indexmap = { version = "2.2" }
num = { version = "0.4", optional = true }
serde = { version = "1.0", features = ["derive"] }
diff --git a/crates/nu-cmd-extra/Cargo.toml b/crates/nu-cmd-extra/Cargo.toml
index 7c40952fb7..fb69d028aa 100644
--- a/crates/nu-cmd-extra/Cargo.toml
+++ b/crates/nu-cmd-extra/Cargo.toml
@@ -24,7 +24,7 @@ heck = "0.4.1"
num-traits = "0.2"
ahash = "0.8.3"
nu-ansi-term = "0.50.0"
-fancy-regex = "0.12.0"
+fancy-regex = "0.13.0"
rust-embed = "8.2.0"
serde = "1.0.164"
nu-pretty-hex = { version = "0.90.2", path = "../nu-pretty-hex" }
diff --git a/crates/nu-cmd-lang/Cargo.toml b/crates/nu-cmd-lang/Cargo.toml
index 80c2d27627..53aad49847 100644
--- a/crates/nu-cmd-lang/Cargo.toml
+++ b/crates/nu-cmd-lang/Cargo.toml
@@ -18,7 +18,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.90.2" }
nu-utils = { path = "../nu-utils", version = "0.90.2" }
nu-ansi-term = "0.50.0"
-fancy-regex = "0.12"
+fancy-regex = "0.13"
itertools = "0.12"
shadow-rs = { version = "0.26", default-features = false }
diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml
index 7abf0f9d89..426faa2025 100644
--- a/crates/nu-command/Cargo.toml
+++ b/crates/nu-command/Cargo.toml
@@ -42,7 +42,7 @@ dialoguer = { default-features = false, features = ["fuzzy-select"], version = "
digest = { default-features = false, version = "0.10" }
dtparse = "2.0"
encoding_rs = "0.8"
-fancy-regex = "0.12"
+fancy-regex = "0.13"
filesize = "0.2"
filetime = "0.2"
fs_extra = "1.3"
diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml
index 142ca40698..0f2676e48f 100644
--- a/crates/nu-protocol/Cargo.toml
+++ b/crates/nu-protocol/Cargo.toml
@@ -20,7 +20,7 @@ nu-system = { path = "../nu-system", version = "0.90.2" }
byte-unit = { version = "5.1", features = [ "serde" ] }
chrono = { version = "0.4", features = [ "serde", "std", "unstable-locales" ], default-features = false }
chrono-humanize = "0.2"
-fancy-regex = "0.12"
+fancy-regex = "0.13"
indexmap = "2.2"
lru = "0.12"
miette = { version = "7.1", features = ["fancy-no-backtrace"] }
diff --git a/crates/nu-table/Cargo.toml b/crates/nu-table/Cargo.toml
index e7b4e968a6..10d0d88d52 100644
--- a/crates/nu-table/Cargo.toml
+++ b/crates/nu-table/Cargo.toml
@@ -17,7 +17,7 @@ nu-engine = { path = "../nu-engine", version = "0.90.2" }
nu-color-config = { path = "../nu-color-config", version = "0.90.2" }
nu-ansi-term = "0.50.0"
once_cell = "1.18"
-fancy-regex = "0.12"
+fancy-regex = "0.13"
tabled = { version = "0.14.0", features = ["color"], default-features = false }
[dev-dependencies]