summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-08-06 12:25:48 -0400
committerGitHub <noreply@github.com>2023-08-06 12:25:48 -0400
commit7b5bc87f296d39e531051e1c0bb6cafa3808ab92 (patch)
treeaafd08a578d97a73197e9273d30cfaefe05cc871 /Cargo.lock
parentc1c8eb3d558bedf6588179ae93737bd6afe5a368 (diff)
fix(unstable): vendor cache should support adding files to hashed directories (#20070)
This changes the design of the manifest.json file to have a separate "folders" map for mapping hashed directories. This allows, for example, to add files in a folder like `http_localhost_8000/#testing_5de71/` and have them be resolved automatically as long as their remaining components are identity-mappable to the file system (not hashed). It also saves space in the manifest.json file by only including the hashed directory instead of each descendant file. ``` // manifest.json { "folders": { "https://localhost/NOT_MAPPABLE/": "localhost/#not_mappable_5cefgh" }, "modules": { "https://localhost/folder/file": { "headers": { "content-type": "application/javascript" } }, } } // folder structure localhost - folder - #file_2defn (note: I've made up the hashes in these examples) - #not_mappable_5cefgh - mod.ts - etc.ts - more_files.ts ```
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a75c42eb5..d7a3b7b3c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1240,9 +1240,9 @@ dependencies = [
[[package]]
name = "deno_media_type"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63772a60d740a41d97fbffb4788fc3779e6df47289e01892c12be38f4a5beded"
+checksum = "001d69b833ed4d244b608bab9c07069bfb570f631b763b58e73f82a020bf84ef"
dependencies = [
"data-url",
"serde",