update all the npm after 2 years

This commit is contained in:
fyears
2023-12-17 15:18:23 +08:00
parent 92183e0fb6
commit 44dbec175b
10 changed files with 111 additions and 83 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import delay from "delay";
import { rangeDelay } from "delay";
import { Dropbox, DropboxAuth } from "dropbox";
import type { files, DropboxResponseError, DropboxResponse } from "dropbox";
import { Vault } from "obsidian";
@@ -340,7 +340,7 @@ async function retryReq<T>(
2
)}`
);
await delay.range(secMin * 1000, secMax * 1000);
await rangeDelay(secMin * 1000, secMax * 1000);
}
}
}