From c678550a176ce5592d4b6e7ffb918e6926858a45 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 5 Sep 2024 16:22:13 +0200 Subject: BREAKING: remove "emit" and "map" from deno info output (#25468) The map field has been empty for years now and we don't want the emit file to be exposed so it allows us to iterate on making the cache faster. Additionally, it's racy/unreliable to rely on this information. Instead, people should emit the TS files themselves using tools like deno_emit, typescript, esbuild, etc. Closes https://github.com/denoland/deno/issues/17703 --- cli/schemas/module-graph.json | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cli/schemas') diff --git a/cli/schemas/module-graph.json b/cli/schemas/module-graph.json index b761badde..ea32d843b 100644 --- a/cli/schemas/module-graph.json +++ b/cli/schemas/module-graph.json @@ -83,14 +83,6 @@ "type": "string", "description": "The checksum of the local source file. This can be used to validate if the current on disk version matches the version described here." }, - "emit": { - "type": "string", - "description": "The path to an emitted version of the module, if the module requires transpilation to be loaded into the Deno runtime." - }, - "map": { - "type": "string", - "description": "The path to an optionally emitted source map between the original and emitted version of the file." - }, "error": { "type": "string", "description": "If when resolving the module, Deno encountered an error and the module is unavailable, the text of that error will be indicated here." -- cgit v1.2.3