1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00

perf(fmt): faster formatting for minified object literals (#19050)

Has fix for
https://github.com/dprint/dprint-plugin-typescript/issues/520
This commit is contained in:
David Sherret 2023-05-08 18:53:58 -04:00 committed by David Sherret
parent 162a0f0dcf
commit 65e5d884d8
4 changed files with 5 additions and 5 deletions

View file

@ -54,7 +54,7 @@
"ext/websocket/autobahn/reports"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.84.2.wasm",
"https://plugins.dprint.dev/typescript-0.84.4.wasm",
"https://plugins.dprint.dev/json-0.17.2.wasm",
"https://plugins.dprint.dev/markdown-0.15.2.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm",

4
Cargo.lock generated
View file

@ -1566,9 +1566,9 @@ dependencies = [
[[package]]
name = "dprint-plugin-typescript"
version = "0.84.2"
version = "0.84.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8979688409764dd95b356c0d278023cad45fbb24cf788eab8c972ae069a7a3f8"
checksum = "9945b1fae98529bd905d66b3c5efd45408b928cd10b7a3e0764049cf9aaf2167"
dependencies = [
"anyhow",
"deno_ast",

View file

@ -67,7 +67,7 @@ data-url.workspace = true
dissimilar = "=1.0.4"
dprint-plugin-json = "=0.17.2"
dprint-plugin-markdown = "=0.15.2"
dprint-plugin-typescript = "=0.84.2"
dprint-plugin-typescript = "=0.84.4"
encoding_rs.workspace = true
env_logger = "=0.9.0"
eszip = "=0.41.0"

View file

@ -1190,7 +1190,7 @@ type PipelineDestinationPromiseFunction<T, P> = (
source: AsyncIterable<T>,
) => Promise<P>;
type PipelineDestination<S extends PipelineTransformSource<any>, P> = S extends
PipelineTransformSource<infer ST> ?
PipelineTransformSource<infer ST> ?
| WritableStream
| PipelineDestinationIterableFunction<ST>
| PipelineDestinationPromiseFunction<ST, P>