1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

fix(fmt/jupyter): handle "source" property that's a string (#21361)

It was corrupting the file.
This commit is contained in:
David Sherret 2023-11-27 18:15:50 -05:00 committed by GitHub
parent 8ce4ddc407
commit e52033f0f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -56,7 +56,7 @@
"ext/websocket/autobahn/reports" "ext/websocket/autobahn/reports"
], ],
"plugins": [ "plugins": [
"https://plugins.dprint.dev/typescript-0.88.5.wasm", "https://plugins.dprint.dev/typescript-0.88.6.wasm",
"https://plugins.dprint.dev/json-0.19.1.wasm", "https://plugins.dprint.dev/json-0.19.1.wasm",
"https://plugins.dprint.dev/markdown-0.16.3.wasm", "https://plugins.dprint.dev/markdown-0.16.3.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm", "https://plugins.dprint.dev/toml-0.5.4.wasm",

8
Cargo.lock generated
View file

@ -1943,9 +1943,9 @@ dependencies = [
[[package]] [[package]]
name = "dprint-plugin-jupyter" name = "dprint-plugin-jupyter"
version = "0.1.1" version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b65cf5dd43b15bf9dbb69a2d0e331106d6e3d33d8678d32385245993e8855c02" checksum = "75afc7a6b9e2b36976010eac441f3140ee642620c2c5b930873ccbf9d8510a59"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"dprint-core", "dprint-core",
@ -1970,9 +1970,9 @@ dependencies = [
[[package]] [[package]]
name = "dprint-plugin-typescript" name = "dprint-plugin-typescript"
version = "0.88.5" version = "0.88.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a4830d36624ef81389cebbefecffd437058d003698756760e4b6288b586e685" checksum = "bb7fe06e34987533797220544a8baea26bacbbbc1e81f41c7e654d2e68f41f72"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"deno_ast", "deno_ast",

View file

@ -82,9 +82,9 @@ data-url.workspace = true
dissimilar = "=1.0.4" dissimilar = "=1.0.4"
dotenvy = "0.15.7" dotenvy = "0.15.7"
dprint-plugin-json = "=0.19.1" dprint-plugin-json = "=0.19.1"
dprint-plugin-jupyter = "=0.1.1" dprint-plugin-jupyter = "=0.1.2"
dprint-plugin-markdown = "=0.16.3" dprint-plugin-markdown = "=0.16.3"
dprint-plugin-typescript = "=0.88.5" dprint-plugin-typescript = "=0.88.6"
encoding_rs.workspace = true encoding_rs.workspace = true
env_logger = "=0.10.0" env_logger = "=0.10.0"
fancy-regex = "=0.10.0" fancy-regex = "=0.10.0"