Skip to content

Commit ac57a77

Browse files
authored
Merge pull request #1390 from epage/update
chore: Update dependencies
2 parents 7e5797c + 5f38952 commit ac57a77

File tree

14 files changed

+432
-489
lines changed

14 files changed

+432
-489
lines changed

Cargo.lock

Lines changed: 385 additions & 445 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config.schema.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
"title": "Config",
44
"type": "object",
55
"properties": {
6-
"type": {
7-
"type": "object",
8-
"additionalProperties": {
9-
"$ref": "#/$defs/GlobEngineConfig"
10-
},
11-
"default": {}
12-
},
136
"files": {
147
"$ref": "#/$defs/Walk",
158
"default": {
@@ -38,6 +31,10 @@
3831
"extend-words": {},
3932
"extend-ignore-re": []
4033
}
34+
},
35+
"type": {
36+
"$ref": "#/$defs/TypeEngineConfig",
37+
"default": {}
4138
}
4239
},
4340
"additionalProperties": false,
@@ -212,6 +209,12 @@
212209
"en-au"
213210
]
214211
},
212+
"TypeEngineConfig": {
213+
"type": "object",
214+
"additionalProperties": {
215+
"$ref": "#/$defs/GlobEngineConfig"
216+
}
217+
},
215218
"GlobEngineConfig": {
216219
"type": "object",
217220
"properties": {

crates/codespell-dict/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dictgen = { version = "^0.4", path = "../dictgen" }
2121
[dev-dependencies]
2222
codegenrs = "3.0"
2323
dictgen = { version = "^0.4", path = "../dictgen", features = ["codegen"] }
24-
snapbox = "0.6.5"
24+
snapbox = "0.6.21"
2525
typos = { path = "../typos" }
2626

2727
[lints]

crates/dictgen/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ aho-corasick = ["dep:aho-corasick"]
2323

2424
[dependencies]
2525
unicase = "2.8.1"
26-
phf = { version = "0.12", features = ["unicase"], optional = true }
27-
phf_shared = { version = "0.12", optional = true }
28-
phf_codegen = { version = "0.12", optional = true }
26+
phf = { version = "0.13", features = ["unicase"], optional = true }
27+
phf_shared = { version = "0.13", optional = true }
28+
phf_codegen = { version = "0.13", optional = true }
2929
aho-corasick = { version = "1.1.3", optional = true }
3030

3131
[lints]

crates/misspell-dict/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dictgen = { version = "^0.4", path = "../dictgen" }
2020
codegenrs = "3.0"
2121
regex = "1"
2222
dictgen = { version = "^0.4", path = "../dictgen", features = ["codegen"] }
23-
snapbox = "0.6.5"
23+
snapbox = "0.6.21"
2424

2525
[lints]
2626
workspace = true

crates/typos-cli/Cargo.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ typos-dict = { version = "^0.13", path = "../typos-dict", optional = true }
4747
typos-vars = { version = "^0.10", path = "../typos-vars", optional = true }
4848
unicase = "2.8.1"
4949
anyhow = "1.0"
50-
clap = { version = "4.5.4", features = ["derive"] }
50+
clap = { version = "4.5.48", features = ["derive"] }
5151
clap-verbosity-flag = "3.0"
5252
ignore = "0.4"
5353
serde = { version = "1.0", features = ["derive"] }
54-
toml = "0.9.1"
54+
toml = "0.9.7"
5555
log = "0.4"
5656
env_logger = { version = "0.11", default-features = false, features = ["auto-color"] }
57-
bstr = "1.9"
57+
bstr = "1.12"
5858
ahash = "0.8"
5959
difflib = "0.4"
6060
proc-exit = "2.0"
@@ -64,27 +64,27 @@ derive_more = { version = "2.0", features = ["from", "display"] }
6464
derive_setters = "0.1"
6565
itertools = "0.14"
6666
serde_json = "1.0"
67-
kstring = { version = "2.0.0", features = ["serde"] }
67+
kstring = { version = "2.0.2", features = ["serde"] }
6868
typed-arena = "2.0.2"
69-
thread_local = "1.1.8"
70-
globset = "0.4.14"
71-
anstyle = "1.0.6"
72-
anstream = "0.6.13"
73-
colorchoice-clap = "1.0.3"
69+
thread_local = "1.1.9"
70+
globset = "0.4.16"
71+
anstyle = "1.0.13"
72+
anstream = "0.6.20"
73+
colorchoice-clap = "1.0.7"
7474
serde_regex = "1.1.0"
75-
regex = "1.10.4"
76-
encoding_rs = "0.8.34"
77-
serde-sarif = "0.7.0"
78-
schemars = { version = "0.9.0", features = ["preserve_order","semver1"], optional = true }
79-
annotate-snippets = "0.12.2"
75+
regex = "1.11.3"
76+
encoding_rs = "0.8.35"
77+
serde-sarif = "0.8.0"
78+
schemars = { version = "1.0.4", features = ["preserve_order","semver1"], optional = true }
79+
annotate-snippets = "0.12.4"
8080
terminal_size = "0.4.3"
8181
supports-unicode = "3.0.0"
8282

8383
[dev-dependencies]
8484
assert_fs = "1.1"
85-
divan = "0.1.14"
85+
divan = "0.1.21"
8686
maplit = "1.0"
87-
snapbox = "0.6.5"
87+
snapbox = "0.6.21"
8888
trycmd = "0.15.10"
8989

9090
[[bench]]

crates/typos-cli/src/bin/typos-cli/report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ fn typo_to_sarif_result(
369369
fix: Option<Fix>,
370370
) -> Result<sarif::Result, Box<dyn std::error::Error>> {
371371
let mut result = sarif::Result::builder()
372-
.level(sarif::ResultLevel::Error.to_string())
372+
.level(sarif::ResultLevel::Error)
373373
.message(sarif::Message::builder().markdown(message).build())
374374
.locations(vec![location])
375375
.build();

crates/typos-cli/src/policy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl<'s> ConfigEngine<'s> {
193193
for (type_name, type_engine) in type_.patterns() {
194194
if type_engine.extend_glob.is_empty() {
195195
if !type_matcher.contains_name(&type_name) {
196-
anyhow::bail!("Unknown type definition `{}`, pass `--type-list` to see valid names or set `extend-glob` to add a new one.", type_name);
196+
anyhow::bail!("Unknown type definition `{type_name}`, pass `--type-list` to see valid names or set `extend-glob` to add a new one.");
197197
}
198198
} else {
199199
for glob in type_engine.extend_glob.iter() {

crates/typos-dict/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ all-features = true
1616
rustdoc-args = ["--generate-link-to-definition"]
1717

1818
[dependencies]
19-
phf = "0.12.0"
19+
phf = "0.13.1"
2020
dictgen = { version = "^0.4", path = "../dictgen", features = ["map"] }
2121

2222
[dev-dependencies]
@@ -27,9 +27,9 @@ unicase = "2.8.1"
2727
codegenrs = "3.0"
2828
dictgen = { version = "^0.4", path = "../dictgen", features = ["codegen", "map", "aho-corasick"] }
2929
varcon = { version = "^1.0", path = "../varcon" }
30-
snapbox = "0.6.5"
31-
indexmap = "2.2.6"
32-
divan = "0.1.16"
30+
snapbox = "0.6.21"
31+
indexmap = "2.11.4"
32+
divan = "0.1.21"
3333
heck = "0.5.0"
3434

3535
[lints]

crates/typos-vars/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typos = { version = "^0.10", path = "../typos" }
2626
codegenrs = "3.0"
2727
itertools = "0.14"
2828
dictgen = { version = "^0.4", path = "../dictgen", features = ["codegen"] }
29-
snapbox = "0.6.5"
29+
snapbox = "0.6.21"
3030

3131
[lints]
3232
workspace = true

0 commit comments

Comments
 (0)