Skip to content

Commit

Permalink
chore(deps): update rust crate oxc_resolver to v3 (#4787)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <[email protected]>
  • Loading branch information
renovate[bot] and ematipico authored Dec 23, 2024
1 parent cfb9ef0 commit 5ed2d6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
11 changes: 2 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ ignore = "0.4.23"
indexmap = { version = "2.7.0", features = ["serde"] }
insta = "1.41.1"
natord = "1.0.9"
oxc_resolver = "1.12.0"
oxc_resolver = "3.0.3"
proc-macro2 = "1.0.86"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
Expand Down
7 changes: 4 additions & 3 deletions crates/biome_configuration/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! This module contains the configuration of `biome.json`
//!
//! The configuration is divided by "tool", and then it's possible to further customise it
//! by language. The language might further options divided by tool.
//! by language. The language might further option divided by tool.
pub mod analyzer;
pub mod css;
pub mod diagnostics;
Expand Down Expand Up @@ -398,6 +398,7 @@ impl ConfigurationPathHint {
mod test {
use oxc_resolver::{FileMetadata, ResolveOptions, ResolverGeneric};
use std::env;
use std::fs::read_link;
use std::path::{Path, PathBuf};

#[test]
Expand All @@ -420,8 +421,8 @@ mod test {
Ok(FileMetadata::new(true, false, false))
}

fn canonicalize(&self, _path: &Path) -> std::io::Result<PathBuf> {
env::current_dir().unwrap().canonicalize()
fn read_link(&self, path: &Path) -> std::io::Result<PathBuf> {
read_link(path)
}
}

Expand Down

0 comments on commit 5ed2d6c

Please sign in to comment.