Skip to content

Commit 7aaecd1

Browse files
committed
feat: deno_media_type 0.4.0
1 parent 0aee8a9 commit 7aaecd1

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ codegen-units = 1
1010
incremental = true
1111
lto = true
1212
opt-level = "z"
13+

rs_lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cache_control = { version = "0.2.0", optional = true }
2525
chrono = { version = "0.4", default-features = false, features = ["std"], optional = true }
2626
data-url = { version = "0.3.0", optional = true }
2727
deno_error = { version = "0.7.0", features =["url"] }
28-
deno_media_type = "0.3.0"
28+
deno_media_type = "0.4.0"
2929
deno_path_util = "0.6.0"
3030
sys_traits.workspace = true
3131
http = { version = "1", optional = true }

rs_lib/src/local.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ fn url_to_local_sub_path<'a>(
616616
MediaType::Json => ".json",
617617
MediaType::Jsonc => ".jsonc",
618618
MediaType::Json5 => ".json5",
619+
MediaType::Markdown => ".md",
619620
MediaType::Wasm => ".wasm",
620621
MediaType::SourceMap => ".js",
621622
MediaType::Html => ".html",

0 commit comments

Comments
 (0)