diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-08-17 11:25:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 15:25:00 +0000 |
commit | 6082e51094e0b5835d7c83586766cc611da2a382 (patch) | |
tree | 5f30d41f0fd63767d96f87b9fd80e64e30ec2e2d /cli | |
parent | 6de35e4b2e47117deb87ba95acd271ee851fdbd9 (diff) |
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.
Diffstat (limited to 'cli')
-rw-r--r-- | cli/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
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" |