diff --git a/Cargo.lock b/Cargo.lock index b460518..55576f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -279,7 +279,6 @@ dependencies = [ "deno_media_type", "deno_terminal", "dprint-swc-ext", - "once_cell", "percent-encoding", "pretty_assertions", "serde", diff --git a/Cargo.toml b/Cargo.toml index e2399f2..8261434 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,6 @@ deno_terminal = "0.2.2" deno_error = "0.5.6" dprint-swc-ext = "0.23.0" -once_cell = "1.21.1" percent-encoding = "2.3.1" serde = { version = "1.0.219", features = ["derive"] } text_lines = { version = "0.6.0", features = ["serialization"] } diff --git a/src/parsed_source.rs b/src/parsed_source.rs index ccb7c2a..c0a5dcd 100644 --- a/src/parsed_source.rs +++ b/src/parsed_source.rs @@ -2,6 +2,7 @@ use std::fmt; use std::sync::Arc; +use std::sync::OnceLock; use dprint_swc_ext::common::SourceRange; use dprint_swc_ext::common::SourceRanged; @@ -286,7 +287,7 @@ pub(crate) struct ParsedSourceInner { pub specifier: ModuleSpecifier, pub media_type: MediaType, pub text: Arc, - pub source_text_info: Arc>, + pub source_text_info: Arc>, pub comments: MultiThreadedComments, pub program: Arc, pub tokens: Option>>,