From 6082e51094e0b5835d7c83586766cc611da2a382 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 17 Aug 2023 11:25:00 -0400 Subject: fix(cli): handle missing `now` field in cache (#20192) Fixes this error message: ``` error: missing field `now` at line 32 column 1 ``` This would occur if someone used an old version of the deno_cache library to cache information in the cache then tried to load it with the latest CLI. Regression in the last patch when migrating to the deno_cache_dir crate. --- cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 0879b45e8..c2c4b3ede 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -46,7 +46,7 @@ winres.workspace = true [dependencies] deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] } -deno_cache_dir = "=0.5.0" +deno_cache_dir = "=0.5.2" deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] } deno_doc = "=0.64.0" deno_emit = "=0.25.0" -- cgit v1.2.3