mirror of
https://github.com/nushell/nushell.git
synced 2026-10-28 08:54:52 +08:00
build(deps): bump similar from 3.1.0 to 3.2.0 (#18905)
Bumps [similar](https://github.com/mitsuhiko/similar) from 3.1.0 to 3.2.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mitsuhiko/similar/blob/main/CHANGELOG.md">similar's changelog</a>.</em></p> <blockquote> <h2>3.2.0</h2> <ul> <li>Added structured, line-oriented three-way merging through <code>TextMerge</code>, with merge and diff3 conflict output, configurable labels and marker sizes, owned and borrowed inputs, byte output, and whitespace-insensitive comparison.</li> <li>Added <code>WhitespaceMode</code> and <code>TextDiffConfig::whitespace_mode</code> for Git-style line comparisons that ignore changes in whitespace (<code>-b</code>) or all whitespace (<code>-w</code>).</li> <li>Changed <code>Algorithm::Myers</code> to reduce unmatched/confusing records and use Git-style bounded, non-minimal splits on expensive searches, and added <code>Algorithm::RawMyers</code> for the previous shortest-edit-script behavior without output-changing heuristics.</li> <li>Improved heuristics and performance for most algorithms other than LCS.</li> <li>Improved large-input performance by avoiding quadratic Histogram scans.</li> </ul> <h2>3.1.2</h2> <ul> <li>Fixed <code>Algorithm::Lcs</code> deadline fallback emitting edits twice, which produced out-of-bounds <code>DiffOp</code> ranges and panics when consuming timed-out diffs. <a href="https://redirect.github.com/mitsuhiko/similar/issues/97">#97</a></li> <li>Fixed <code>Algorithm::Lcs</code> reporting identical subranges with zero-based indices instead of preserving the supplied range offsets. <a href="https://redirect.github.com/mitsuhiko/similar/issues/98">#98</a></li> <li>Fixed <code>Algorithm::Lcs</code> and <code>Algorithm::Hunt</code> emitting zero-length delete operations when both inputs are empty. <a href="https://redirect.github.com/mitsuhiko/similar/issues/99">#99</a></li> </ul> <h2>3.1.1</h2> <ul> <li>Fixed <code>DiffOp</code> cursor positions when compacting adjacent inserts/deletes and in <code>Algorithm::Histogram</code> full-replacement output, ensuring operations form contiguous ranges. <a href="https://redirect.github.com/mitsuhiko/similar/issues/95">#95</a></li> <li>Renamed sample diff input files to a lexicographic <code>caseNN.01.before_*</code> / <code>caseNN.02.after_*</code> scheme.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mitsuhiko/similar/commit/e3804055b844f5d0c3cb111f5f6276f60e07459a"><code>e380405</code></a> chore(release): prepare 3.2.0</li> <li><a href="https://github.com/mitsuhiko/similar/commit/9133b3d1e4799f984d178f6bda28806f910ddd1e"><code>9133b3d</code></a> ref: Update changelog</li> <li><a href="https://github.com/mitsuhiko/similar/commit/a56a53f4408cf50a0b3dd875d15f5075e187ae7d"><code>a56a53f</code></a> feat(merge): add three-way text merging</li> <li><a href="https://github.com/mitsuhiko/similar/commit/7130d064d5ed5f27bf8e9a8c5594e754f21405db"><code>7130d06</code></a> docs(examples): demonstrate whitespace-insensitive diffs</li> <li><a href="https://github.com/mitsuhiko/similar/commit/a635843e774d28f32778b4c0fe77f6485dab9a9f"><code>a635843</code></a> feat(text): add whitespace-insensitive line diffs</li> <li><a href="https://github.com/mitsuhiko/similar/commit/6301178fc0bf7f19af93b87cf270433f5f712580"><code>6301178</code></a> perf(myers): preserve sparse matches with record reduction</li> <li><a href="https://github.com/mitsuhiko/similar/commit/f16b309a57cba043570a5a1426bd5c17de2f544a"><code>f16b309</code></a> perf(myers): add bounded heuristic search</li> <li><a href="https://github.com/mitsuhiko/similar/commit/accea7d2ffb976515b21931a3a465e9082249c65"><code>accea7d</code></a> chore(clippy): resolve lint warnings</li> <li><a href="https://github.com/mitsuhiko/similar/commit/3a5162b43e3841350de703f67aef159ae74c00be"><code>3a5162b</code></a> perf(algorithms): fast-path nearly disjoint ranges</li> <li><a href="https://github.com/mitsuhiko/similar/commit/fc32411398e13d30ab3d45852a2bb9c2f9a056b9"><code>fc32411</code></a> feat(fuzzing): add isolated performance campaign runner</li> <li>Additional commits viewable in <a href="https://github.com/mitsuhiko/similar/compare/3.1.0...3.2.0">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
c4c1aebfc2
commit
8739de4fd5
1 file changed
+3
-3
Generated
+3
-3
@@ -5365,7 +5365,7 @@ dependencies = [
|
||||
"nu-plugin-protocol",
|
||||
"nu-protocol",
|
||||
"serde",
|
||||
"similar 3.1.0",
|
||||
"similar 3.2.0",
|
||||
"typetag",
|
||||
]
|
||||
|
||||
@@ -8766,9 +8766,9 @@ checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa"
|
||||
|
||||
[[package]]
|
||||
name = "similar"
|
||||
version = "3.1.0"
|
||||
version = "3.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "04d93e861ede2e497b47833469b8ec9d5c07fa4c78ce7a00f6eb7dd8168b4b3f"
|
||||
checksum = "4f66ca1f7aca2474dc10c942eb22feffc897735f54cd1db90138c2fddb490987"
|
||||
dependencies = [
|
||||
"bstr",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user