[quickjs][oden][oden-js] Source maps

The worst support but it should cost very little if nobody is using
them (psst we're using them)
This commit is contained in:
John Doty 2023-09-20 09:31:57 -07:00
parent eb9fed759a
commit c96a1a4979
10 changed files with 554 additions and 374 deletions

37
Cargo.lock generated
View file

@ -504,6 +504,16 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41b319d1b62ffbd002e057f36bebd1f42b9f97927c9577461d855f3513c4289f"
[[package]]
name = "debugid"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d"
dependencies = [
"serde",
"uuid",
]
[[package]]
name = "deno_ast"
version = "0.29.3"
@ -1536,6 +1546,7 @@ dependencies = [
"notify",
"oden-js",
"pollster",
"sourcemap 7.0.0",
"tracy-client",
"wgpu",
"winit",
@ -2107,6 +2118,22 @@ dependencies = [
"url",
]
[[package]]
name = "sourcemap"
version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbecc42a2b6131acc3bf9a25c9fe4161dba438eb52131bba83c5d781b5b70be3"
dependencies = [
"data-encoding",
"debugid",
"if_chain",
"rustc_version",
"serde",
"serde_json",
"unicode-id",
"url",
]
[[package]]
name = "spirv"
version = "0.2.0+1.5.4"
@ -2218,7 +2245,7 @@ dependencies = [
"rustc-hash",
"serde",
"siphasher",
"sourcemap",
"sourcemap 6.2.3",
"string_cache",
"swc_atoms",
"swc_eq_ignore_macros",
@ -2281,7 +2308,7 @@ dependencies = [
"once_cell",
"rustc-hash",
"serde",
"sourcemap",
"sourcemap 6.2.3",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
@ -2819,6 +2846,12 @@ dependencies = [
"serde",
]
[[package]]
name = "uuid"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d"
[[package]]
name = "valuable"
version = "0.1.0"