Skip to content

Commit

Permalink
refactor: upgrade to tar v7
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 27, 2024
1 parent 6e28106 commit 3d5d7cf
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"nypm": "^0.3.12",
"ohash": "^1.1.4",
"pathe": "^1.1.2",
"tar": "^6.2.1"
"tar": "^7.4.3"
},
"devDependencies": {
"@types/node": "^22.10.0",
Expand All @@ -62,4 +62,4 @@
"vitest": "^2.1.6"
},
"packageManager": "[email protected]"
}
}
61 changes: 59 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/giget.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { mkdir, rm } from "node:fs/promises";
import { existsSync, readdirSync } from "node:fs";
import { extract } from "tar";
import { extract } from "tar/extract";
import { resolve, dirname } from "pathe";
import { defu } from "defu";
import { installDependencies } from "nypm";
Expand Down

0 comments on commit 3d5d7cf

Please sign in to comment.