update JS dependencies

This commit is contained in:
imperosol
2026-02-13 11:58:20 +01:00
parent e992bebd68
commit 530475c4ee
4 changed files with 695 additions and 1096 deletions

View File

@@ -30,7 +30,7 @@ document.addEventListener("alpine:init", () => {
const zipWriter = new ZipWriter(await fileHandle.createWritable());
await Promise.all(
this.downloadPictures.map(async (p: PictureSchema) => {
this.downloadPictures.map((p: PictureSchema) => {
const imgName = `${p.album.name}/IMG_${p.id}_${p.date.replace(/[:\-]/g, "_")}${p.name.slice(p.name.lastIndexOf("."))}`;
return zipWriter.add(imgName, new HttpReader(p.full_size_url), {
level: 9,