From 58e7676335000101d3cc0ec373ac22774cc87beb Mon Sep 17 00:00:00 2001 From: William Brockhus Date: Tue, 3 Dec 2024 12:53:38 +1100 Subject: [PATCH 1/2] chore(deps): update adm-zip to v0.5.16 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0ec6aef..66f35d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "pmd": "pmd" }, "devDependencies": { - "adm-zip": "^0.5.10" + "adm-zip": "^0.5.16" } }, "node_modules/adm-zip": { diff --git a/package.json b/package.json index 5b1422e..5906a97 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "node-java-connector": "1.1.1" }, "devDependencies": { - "adm-zip": "^0.5.10" + "adm-zip": "^0.5.16" }, "files": [ "/dist", From 15ef996f1de80fc002ac62d4a3d527f0263133cd Mon Sep 17 00:00:00 2001 From: William Brockhus Date: Tue, 3 Dec 2024 12:54:04 +1100 Subject: [PATCH 2/2] fix(build): retain extracted pmd permissions --- download-pmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download-pmd.js b/download-pmd.js index 6610398..1ab8f91 100644 --- a/download-pmd.js +++ b/download-pmd.js @@ -14,7 +14,7 @@ async function extractPmd(buffer) { const Zip = require("adm-zip"); const pmdZip = new Zip(buffer); - pmdZip.extractAllTo("dist", true); + pmdZip.extractAllTo("dist", true, true); } async function movePmd() {