Skip to content

Commit 2bce58d

Browse files
committed
fix: upgrade to dprint-core 0.47.1 which fixes some diagnostic issues
1 parent e288688 commit 2bce58d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dprint-plugin-typescript"
3-
version = "0.59.0"
3+
version = "0.59.1"
44
authors = ["David Sherret <[email protected]>"]
55
edition = "2021"
66
homepage = "https://github.com/dprint/dprint-plugin-typescript"
@@ -26,13 +26,13 @@ tracing = ["dprint-core/tracing"]
2626

2727
[dependencies]
2828
deno_ast = { version = "0.5.0", features = ["view"] }
29-
dprint-core = { version = "0.47.0", features = ["formatting"] }
29+
dprint-core = { version = "0.47.1", features = ["formatting"] }
3030
rustc-hash = "1.1.0"
3131
serde = { version = "1.0.118", features = ["derive"] }
3232
serde_json = { version = "1.0", optional = true }
3333

3434
[target.'cfg(target_arch = "wasm32")'.dependencies]
35-
parking_lot_core = "=0.8.0" # https://github.com/Amanieu/parking_lot/issues/269 todo: submit pr to parking_lot
35+
parking_lot_core = "=0.8.0" # https://github.com/Amanieu/parking_lot/issues/269 todo: wait for release as this is fixed now
3636

3737
[dev-dependencies]
3838
debug-here = "0.2"

src/swc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ mod tests {
107107
"{ for object literal, @ for decorator, function, class, null, true, false, number, bigint, string, ",
108108
"regexp, ` for template literal, (, or an identifier\n",
109109
"\n",
110-
" & ${max} ≥ ${d}`),;\n",
111-
" ~"
110+
" && ${max} ≥ ${d}`),;\n",
111+
" ~"
112112
)
113113
);
114114
}

0 commit comments

Comments
 (0)