Skip to content

Commit bef2d8c

Browse files
chore(deps): bump the cargo group with 10 updates (#542)
Updates the requirements on [ox_jsdoc](https://github.com/kazupon/ox-jsdoc), [compact_str](https://github.com/ParkMyCar/compact_str), [phf](https://github.com/rust-phf/rust-phf), [oxc_allocator](https://github.com/oxc-project/oxc), [oxc_parser](https://github.com/oxc-project/oxc), [oxc_ast](https://github.com/oxc-project/oxc), [oxc_ast_visit](https://github.com/oxc-project/oxc), [oxc_span](https://github.com/oxc-project/oxc), [oxc_resolver](https://github.com/oxc-project/oxc-resolver) and [corsa_client](https://github.com/ubugeeei-prod/corsa-bind) to permit the latest version. Updates `ox_jsdoc` to 0.0.19 - [Release notes](https://github.com/kazupon/ox-jsdoc/releases) - [Changelog](https://github.com/kazupon/ox-jsdoc/blob/main/CHANGELOG.md) - [Commits](kazupon/ox-jsdoc@v0.0.16...v0.0.19) Updates `compact_str` to 0.10.0 - [Changelog](https://github.com/ParkMyCar/compact_str/blob/main/CHANGELOG.md) - [Commits](ParkMyCar/compact_str@v0.9.1...v0.10.0) Updates `phf` to 0.14.0 - [Release notes](https://github.com/rust-phf/rust-phf/releases) - [Changelog](https://github.com/rust-phf/rust-phf/blob/main/RELEASE_PROCESS.md) - [Commits](rust-phf/rust-phf@v0.13.0...v0.14.0) Updates `oxc_allocator` to 0.142.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/CHANGELOG.md) - [Commits](oxc-project/oxc@crates_v0.132.0...crates_v0.142.0) Updates `oxc_parser` to 0.142.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/CHANGELOG.md) - [Commits](oxc-project/oxc@crates_v0.132.0...crates_v0.142.0) Updates `oxc_ast` to 0.142.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/CHANGELOG.md) - [Commits](oxc-project/oxc@crates_v0.132.0...crates_v0.142.0) Updates `oxc_ast_visit` to 0.142.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/CHANGELOG.md) - [Commits](oxc-project/oxc@crates_v0.132.0...crates_v0.142.0) Updates `oxc_span` to 0.142.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/CHANGELOG.md) - [Commits](oxc-project/oxc@crates_v0.132.0...crates_v0.142.0) Updates `oxc_resolver` to 11.24.2 - [Release notes](https://github.com/oxc-project/oxc-resolver/releases) - [Changelog](https://github.com/oxc-project/oxc-resolver/blob/main/CHANGELOG.md) - [Commits](oxc-project/oxc-resolver@oxc_resolver-v4.2.0...v11.24.2) Updates `corsa_client` to 1.4.0 - [Release notes](https://github.com/ubugeeei-prod/corsa-bind/releases) - [Changelog](https://github.com/ubugeeei-prod/corsa-bind/blob/main/CHANGELOG.md) - [Commits](ubugeeei-prod/corsa-bind@v0.10.0...v1.4.0) --- updated-dependencies: - dependency-name: ox_jsdoc dependency-version: 0.0.19 dependency-type: direct:production dependency-group: cargo - dependency-name: compact_str dependency-version: 0.10.0 dependency-type: direct:production dependency-group: cargo - dependency-name: phf dependency-version: 0.14.0 dependency-type: direct:production dependency-group: cargo - dependency-name: oxc_allocator dependency-version: 0.142.0 dependency-type: direct:production dependency-group: cargo - dependency-name: oxc_parser dependency-version: 0.142.0 dependency-type: direct:production dependency-group: cargo - dependency-name: oxc_ast dependency-version: 0.142.0 dependency-type: direct:production dependency-group: cargo - dependency-name: oxc_ast_visit dependency-version: 0.142.0 dependency-type: direct:production dependency-group: cargo - dependency-name: oxc_span dependency-version: 0.142.0 dependency-type: direct:production dependency-group: cargo - dependency-name: oxc_resolver dependency-version: 11.24.2 dependency-type: direct:production dependency-group: cargo - dependency-name: corsa_client dependency-version: 1.4.0 dependency-type: direct:production dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 2ef9835 commit bef2d8c

7 files changed

Lines changed: 22 additions & 20 deletions

File tree

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ ox_content_mermaid = { version = "2.81.0", path = "crates/ox_content_mermaid" }
9494
ox_content_link_checker = { version = "2.81.0", path = "crates/ox_content_link_checker" }
9595
ox_content_component_resolver = { version = "2.81.0", path = "crates/ox_content_component_resolver" }
9696
ox_content_profiler = { version = "2.81.0", path = "crates/ox_content_profiler" }
97-
ox_jsdoc = "0.0.16"
97+
ox_jsdoc = "0.0.19"
9898

9999
# Memory allocation
100100
bumpalo = "3.16"
101-
compact_str = "0.9.1"
101+
compact_str = "0.10.0"
102102
smallvec = "1.15"
103103

104104
# NAPI bindings
@@ -114,7 +114,7 @@ memchr = "2.7"
114114

115115
# Hashing
116116
rustc-hash = "2"
117-
phf = { version = "0.13", features = ["macros"] }
117+
phf = { version = "0.14", features = ["macros"] }
118118

119119
# Serialization
120120
serde = { version = "1.0", features = ["derive"] }
@@ -136,12 +136,12 @@ thiserror = "2"
136136
miette = { version = "7", features = ["fancy"] }
137137

138138
# OXC parser
139-
oxc_allocator = "0.132"
140-
oxc_parser = "0.132"
141-
oxc_ast = "0.132"
142-
oxc_ast_visit = "0.132"
143-
oxc_span = "0.132"
144-
oxc_resolver = "4.2.0"
139+
oxc_allocator = "0.142"
140+
oxc_parser = "0.142"
141+
oxc_ast = "0.142"
142+
oxc_ast_visit = "0.142"
143+
oxc_span = "0.142"
144+
oxc_resolver = "11.24.2"
145145

146146
# Testing
147147
criterion = "0.8"

crates/ox_content_component_resolver/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description = "Resolves component props for Markdown/MDC docs via typescript-go
1515
workspace = true
1616

1717
[dependencies]
18-
corsa_client = "0.10"
18+
corsa_client = "1.4"
1919
serde = { workspace = true }
2020
serde_json = { workspace = true }
2121
thiserror = { workspace = true }

crates/ox_content_component_resolver/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub enum Error {
115115
TsgoMissing(PathBuf),
116116

117117
#[error("tsgo I/O error: {0}")]
118-
Tsgo(#[from] corsa_client::TsgoError),
118+
Tsgo(#[from] corsa_client::CorsaError),
119119

120120
#[error("invalid component path {path}: {reason}", path = .path.display())]
121121
InvalidComponentPath { path: PathBuf, reason: String },

crates/ox_content_docs/src/extractor/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ impl DocExtractor {
125125
Parser::new(&*allocator, source, source_type).parse()
126126
};
127127

128-
if !ret.errors.is_empty() {
128+
if !ret.diagnostics.is_empty() {
129129
let error_msg = ret
130-
.errors
130+
.diagnostics
131131
.iter()
132132
.map(std::string::ToString::to_string)
133133
.collect::<Vec<_>>()

crates/ox_content_docs/src/graph/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ impl GraphBuilder {
8181
profile_span!("docs::graph_oxc_parse");
8282
Parser::new(&allocator, source, source_type).parse()
8383
};
84-
if !ret.errors.is_empty() {
84+
if !ret.diagnostics.is_empty() {
8585
let message = ret
86-
.errors
86+
.diagnostics
8787
.iter()
8888
.map(std::string::ToString::to_string)
8989
.collect::<Vec<_>>()

crates/ox_content_docs/src/graph/resolver.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use std::path::{Path, PathBuf};
22

3-
use oxc_resolver::{ResolveOptions, Resolver, TsconfigOptions, TsconfigReferences};
3+
use oxc_resolver::{
4+
ResolveOptions, Resolver, TsconfigDiscovery, TsconfigOptions, TsconfigReferences,
5+
};
46
use rustc_hash::FxHashMap;
57

68
use super::util::{absolutize, external_package_name, is_local_specifier, normalize_existing_path};
@@ -79,10 +81,10 @@ impl ModuleResolver {
7981
};
8082

8183
if let Some(tsconfig) = &options.tsconfig {
82-
resolve_options.tsconfig = Some(TsconfigOptions {
84+
resolve_options.tsconfig = Some(TsconfigDiscovery::Manual(TsconfigOptions {
8385
config_file: absolutize(root, tsconfig),
8486
references: TsconfigReferences::Auto,
85-
});
87+
}));
8688
}
8789

8890
let external_sources = options

crates/ox_content_i18n_checker/src/key_collector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ impl KeyCollector {
5858
let allocator = Allocator::default();
5959
let ret = Parser::new(&allocator, source, source_type).parse();
6060

61-
if !ret.errors.is_empty() {
61+
if !ret.diagnostics.is_empty() {
6262
let msg = ret
63-
.errors
63+
.diagnostics
6464
.iter()
6565
.map(std::string::ToString::to_string)
6666
.collect::<Vec<_>>()

0 commit comments

Comments
 (0)