fix(archive): validate stream file archive paths and throw on premature bzip2 stream termination

This commit is contained in:
2026-04-30 13:13:49 +00:00
parent c75c358dfd
commit 1553dc67ef
10 changed files with 4254 additions and 4627 deletions
+14 -11
View File
@@ -11,7 +11,7 @@
},
"scripts": {
"test": "(tstest test/ --verbose)",
"build": "tsbuild --web --allowimplicitany",
"build": "tsbuild --web",
"buildDocs": "tsdoc"
},
"repository": {
@@ -26,24 +26,25 @@
"homepage": "https://code.foss.global/push.rocks/smartarchive#readme",
"dependencies": {
"@push.rocks/smartdelay": "^3.0.5",
"@push.rocks/smartfile": "^13.1.2",
"@push.rocks/smartfile": "^13.1.3",
"@push.rocks/smartpath": "^6.0.0",
"@push.rocks/smartpromise": "^4.2.3",
"@push.rocks/smartrequest": "^5.0.1",
"@push.rocks/smartrx": "^3.0.10",
"@push.rocks/smartstream": "^3.2.5",
"@push.rocks/smartstream": "^3.4.2",
"@push.rocks/smartunique": "^3.0.9",
"@push.rocks/smarturl": "^3.1.0",
"fflate": "^0.8.2",
"file-type": "^21.3.0",
"modern-tar": "^0.7.3",
"tar-stream": "^3.1.7"
"file-type": "^22.0.1",
"modern-tar": "^0.7.6",
"tar-stream": "^3.2.0"
},
"devDependencies": {
"@git.zone/tsbuild": "^4.1.2",
"@git.zone/tsrun": "^2.0.1",
"@git.zone/tstest": "^3.1.4",
"@types/tar-stream": "^3.1.3"
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsrun": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0",
"@types/tar-stream": "^3.1.4"
},
"private": false,
"files": [
@@ -57,6 +58,8 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
".smartconfig.json",
"license",
"npmextra.json",
"readme.md"
],
@@ -76,7 +79,7 @@
"data analysis",
"file stream"
],
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748",
"packageManager": "pnpm@10.28.2",
"pnpm": {
"overrides": {}
}