Commit 0a4b629c authored by aMOPel's avatar aMOPel
Browse files

fix: prune etags in registry.json (since deno.lock v5?)

parent d5a6c08a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ export type PathsByRegistry = {

export type RegistryJson = {
  "dist-tags": any;
  "_deno.etag": string;
  versions: { [version: string]: any };
  name: string;
};
@@ -224,6 +225,7 @@ export function pruneRegistryJson(

  const newRegistryJson: RegistryJson = {
    ...registryJson,
    "_deno.etag": "",
    "dist-tags": {},
    versions: {},
  };