fix(deps): update dependency archiver to v8 (#31913)

Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
(cherry picked from commit 51da695c62f3415a97c7b752ef62927e39ab086f)
This commit is contained in:
renovate[bot]
2026-10-22 05:23:23 +03:00
committed by Codex
parent 3f3671fbe5
commit 238617e566
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -64,7 +64,7 @@
"@simplewebauthn/server": "14.0.3",
"@socket.io/redis-adapter": "^8.3.0",
"aaguids": "^0.0.71",
"archiver": "^7.0.0",
"archiver": "^8.0.0",
"async-lock": "^1.4.0",
"bcrypt": "^6.0.0",
"body-parser": "^2.2.0",
@@ -126,7 +126,7 @@
"@nestjs/schematics": "^12.0.0",
"@nestjs/testing": "^12.0.0",
"@swc/core": "^1.4.14",
"@types/archiver": "^7.0.0",
"@types/archiver": "^8.0.0",
"@types/async-lock": "^1.4.2",
"@types/bcrypt": "^6.0.0",
"@types/body-parser": "^1.19.6",
@@ -1,5 +1,5 @@
import { Injectable } from '@nestjs/common';
import archiver from 'archiver';
import { ZipArchive } from 'archiver';
import { ChokidarOptions, watch as chokidarWatch } from 'chokidar';
import fastGlob from 'fast-glob';
import {
@@ -100,7 +100,7 @@ export class StorageRepository {
}
createZipStream(): ImmichZipStream {
const archive = archiver('zip', { store: true });
const archive = new ZipArchive({ store: true });
const addFile = (input: string, filename: string) => {
archive.file(input, { name: filename, mode: 0o644 });