use node-tar for extract

we will switch over our tgz module to node-tar. Main advantage is that
it is used by npm. Currently, we have our own fork to ignore stat errors
in the other module.

unfortunately, I cannot get this to work with the create logic. It doesn't
support path modification - https://github.com/isaacs/node-tar/issues/271
so, will revert this immediately and keep this for future
This commit is contained in:
Girish Ramakrishnan
2024-07-04 14:10:59 +02:00
parent c6f4395578
commit 285feb4f8b
3 changed files with 385 additions and 56 deletions

View File

@@ -55,6 +55,7 @@
"semver": "^7.6.2",
"speakeasy": "^2.0.0",
"superagent": "9.0.1",
"tar": "^7.4.0",
"tar-fs": "github:cloudron-io/tar-fs#ignore_stat_error",
"tldjs": "^2.3.1",
"ua-parser-js": "^1.0.38",