mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-10-01 09:19:34 +05:30
fix(deps): clear all npm audit vulnerabilities (27 → 0)
- Remove unused docx4js (only a stale comment referenced it); drops the vulnerable transitive xml2js prototype-pollution chain - Upgrade sharp 0.34 -> 0.35.4 for the libvips CVEs (GHSA-f88m-g3jw-g9cj); resize/format API surface unchanged, @img/@napi-rs asarUnpack globs still match the new prebuilt layout - npm audit fix for the rest: electron 41.10.7 (protocol/iframe fixes), electron-builder chain (AppImage search-path + updater token leak), dompurify 3.4.14, mermaid 11.17.2, tar (PAX parsing, critical), tmp, js-yaml, brace-expansion, browserslist, fast-uri, form-data, ip-address, nanoid, fflate, @xmldom/xmldom, @babel/core and others 613/613 tests green; lint clean; npm audit reports 0 vulnerabilities
This commit is contained in:
+1
-1
@@ -2186,7 +2186,7 @@ function processDynamicFields(text, metadata = {}) {
|
||||
return result;
|
||||
}
|
||||
|
||||
// Add headers/footers to DOCX file using PizZip and docx4js
|
||||
// Add headers/footers to DOCX file using PizZip
|
||||
// Function to set page size in DOCX files
|
||||
async function setDocxPageSize(docxPath) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user