mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-28 08:57:53 +01:00
Update all packages and fix related problems
This commit is contained in:
1 parent
34374cbe09
commit
18b3404f46
11 files changed
+1221
-2069
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import fs from "node:fs";
|
||||
import https from "node:https";
|
||||
import path from "path";
|
||||
import archiver from "archiver";
|
||||
import { ZipArchive } from "archiver";
|
||||
import _ from "lodash";
|
||||
import moment from "moment";
|
||||
import { ProxyAgent } from "proxy-agent";
|
||||
@@ -370,7 +370,7 @@ const internalCertificate = {
|
||||
* @returns {Promise}
|
||||
*/
|
||||
zipFiles: async (source, out) => {
|
||||
const archive = archiver("zip", { zlib: { level: 9 } });
|
||||
const archive = new ZipArchive({ zlib: { level: 9 } });
|
||||
const stream = fs.createWriteStream(out);
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in new issue
Block a user