mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 10:00:17 +05:30
security: fix all npm vulnerabilities
- Remove unused xlsx dependency (had unfixable vulnerabilities) - Add npm overrides to force secure versions: - jszip ^3.10.1 (fixes path traversal) - nth-check ^2.1.1 (fixes ReDoS) - lodash.pick -> lodash ^4.17.21 (fixes prototype pollution) Result: 0 vulnerabilities (was 11) Amit Haridas
This commit is contained in:
+6
-2
@@ -83,8 +83,12 @@
|
|||||||
"pdfkit": "^0.17.2",
|
"pdfkit": "^0.17.2",
|
||||||
"pizzip": "^3.2.0",
|
"pizzip": "^3.2.0",
|
||||||
"simple-git": "^3.32.3",
|
"simple-git": "^3.32.3",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1"
|
||||||
"xlsx": "^0.18.5"
|
},
|
||||||
|
"overrides": {
|
||||||
|
"jszip": "^3.10.1",
|
||||||
|
"nth-check": "^2.1.1",
|
||||||
|
"lodash.pick": "npm:lodash@^4.17.21"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "com.concreteinfo.markdownconverter",
|
"appId": "com.concreteinfo.markdownconverter",
|
||||||
|
|||||||
Reference in New Issue
Block a user