fix(monorepo/server): fix missing yauzl dependency in prod

This commit is contained in:
Elian Doran 2025-04-20 22:52:04 +03:00
parent 24bce54bc4
commit 562d6fab3f
No known key found for this signature in database
3 changed files with 18 additions and 7 deletions

View File

@ -42,8 +42,7 @@
"dayjs-plugin-utc": "0.1.2", "dayjs-plugin-utc": "0.1.2",
"http-proxy-agent": "7.0.2", "http-proxy-agent": "7.0.2",
"https-proxy-agent": "7.0.6", "https-proxy-agent": "7.0.6",
"sax": "1.4.1", "sax": "1.4.1"
"yauzl": "3.2.0"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "1.51.1", "@playwright/test": "1.51.1",

View File

@ -87,6 +87,7 @@
"is-animated": "2.0.2", "is-animated": "2.0.2",
"mime-types": "3.0.1", "mime-types": "3.0.1",
"@triliumnext/turndown-plugin-gfm": "1.0.61", "@triliumnext/turndown-plugin-gfm": "1.0.61",
"yauzl": "3.2.0",
"electron-window-state": "5.0.3", "electron-window-state": "5.0.3",
"swagger-ui-express": "5.0.1", "swagger-ui-express": "5.0.1",

21
package-lock.json generated
View File

@ -316,6 +316,7 @@
"jsdom": "26.1.0", "jsdom": "26.1.0",
"katex": "0.16.22", "katex": "0.16.22",
"marked": "15.0.8", "marked": "15.0.8",
"mime-types": "3.0.1",
"multer": "1.4.5-lts.2", "multer": "1.4.5-lts.2",
"normalize-strings": "1.1.1", "normalize-strings": "1.1.1",
"normalize.css": "8.0.1", "normalize.css": "8.0.1",
@ -339,7 +340,8 @@
"unescape": "1.0.1", "unescape": "1.0.1",
"webpack": "5.99.5", "webpack": "5.99.5",
"ws": "8.18.1", "ws": "8.18.1",
"xml2js": "0.6.2" "xml2js": "0.6.2",
"yauzl": "3.2.0"
}, },
"devDependencies": { "devDependencies": {
"@excalidraw/excalidraw": "0.18.0", "@excalidraw/excalidraw": "0.18.0",
@ -373,7 +375,6 @@
"@types/ws": "8.18.1", "@types/ws": "8.18.1",
"@types/xml2js": "0.4.14", "@types/xml2js": "0.4.14",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"mime-types": "3.0.1",
"nodemon": "3.1.9", "nodemon": "3.1.9",
"tsx": "4.19.3", "tsx": "4.19.3",
"typescript": "5.8.3", "typescript": "5.8.3",
@ -411,7 +412,6 @@
}, },
"apps/server/node_modules/mime-types": { "apps/server/node_modules/mime-types": {
"version": "3.0.1", "version": "3.0.1",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"mime-db": "^1.54.0" "mime-db": "^1.54.0"
@ -427,6 +427,19 @@
"node": ">= 10.0.0" "node": ">= 10.0.0"
} }
}, },
"apps/server/node_modules/yauzl": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.2.0.tgz",
"integrity": "sha512-Ow9nuGZE+qp1u4JIPvg+uCiUr7xGQWdff7JQSk5VGYTAZMDe2q8lxJ10ygv10qmSj031Ty/6FNJpLO4o1Sgc+w==",
"license": "MIT",
"dependencies": {
"buffer-crc32": "~0.2.3",
"pend": "~1.2.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/@antfu/install-pkg": { "node_modules/@antfu/install-pkg": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.0.0.tgz", "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.0.0.tgz",
@ -7460,7 +7473,6 @@
}, },
"node_modules/buffer-crc32": { "node_modules/buffer-crc32": {
"version": "0.2.13", "version": "0.2.13",
"dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": "*" "node": "*"
@ -17528,7 +17540,6 @@
}, },
"node_modules/pend": { "node_modules/pend": {
"version": "1.2.0", "version": "1.2.0",
"dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/perfect-freehand": { "node_modules/perfect-freehand": {