fix(fmt/js): else was moved to wrong if sometimes when formatting minified code (#23706)

* https://github.com/dprint/dprint-plugin-typescript/pull/633
This commit is contained in:
David Sherret 2024-05-05 21:58:56 -04:00 committed by GitHub
parent a69b4646a0
commit 4ab68df33e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,7 @@
"ext/websocket/autobahn/reports"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.90.4.wasm",
"https://plugins.dprint.dev/typescript-0.90.5.wasm",
"https://plugins.dprint.dev/json-0.19.2.wasm",
"https://plugins.dprint.dev/markdown-0.17.0.wasm",
"https://plugins.dprint.dev/toml-0.6.1.wasm",

8
Cargo.lock generated
View File

@ -2241,9 +2241,9 @@ checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
[[package]]
name = "dprint-core"
version = "0.66.1"
version = "0.66.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "317f9cd1da390ab12e1858b3a71c7d6c8e8ad633454cb0b73ce5589964d9c177"
checksum = "f3ab0dd2bedc109d25f0d21afb09b7d329f6c6fa83b095daf31d2d967e091548"
dependencies = [
"anyhow",
"bumpalo",
@ -2308,9 +2308,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-typescript"
version = "0.90.4"
version = "0.90.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ee5e8dfbcb0bc8f360b7287380a57b3600ce8af791d09a0085953bcaa9bdf97"
checksum = "d7c3c339020ebbbbbe5fc049350935ee2ea2ba5a3fc01f753588639a30404cda"
dependencies = [
"anyhow",
"deno_ast",

View File

@ -99,7 +99,7 @@ dotenvy = "0.15.7"
dprint-plugin-json = "=0.19.2"
dprint-plugin-jupyter = "=0.1.3"
dprint-plugin-markdown = "=0.17.0"
dprint-plugin-typescript = "=0.90.4"
dprint-plugin-typescript = "=0.90.5"
env_logger = "=0.10.0"
fancy-regex = "=0.10.0"
faster-hex.workspace = true