Skip to content

Commit aa86d3f

Browse files
renovate[bot]mrstorkkodiakhq[bot]
authored
chore(deps): update dependency tar to v7 (#6409)
* chore(deps): update dependency tar to v7 * fix: adjust import syntax for tar package --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mateusz Bocian <mrstork@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 5263015 commit aa86d3f

File tree

3 files changed

+81
-4
lines changed

3 files changed

+81
-4
lines changed

package-lock.json

Lines changed: 78 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/edge-bundler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"chalk": "^5.4.0",
5151
"nock": "^14.0.0",
5252
"npm-run-all2": "^6.0.0",
53-
"tar": "^6.1.11",
53+
"tar": "^7.0.0",
5454
"typescript": "^5.0.0",
5555
"vitest": "^0.34.0"
5656
},

packages/edge-bundler/test/integration/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { fileURLToPath, pathToFileURL } from 'url'
88
import { promisify } from 'util'
99

1010
import cpy from 'cpy'
11-
import tar from 'tar'
11+
import { x as tarExtract } from 'tar'
1212
import tmp from 'tmp-promise'
1313

1414
const exec = promisify(childProcess.exec)
@@ -36,7 +36,7 @@ const installPackage = async () => {
3636

3737
console.log(`Uncompressing the tarball at '${filename}'...`)
3838

39-
await tar.x({ C: path, file: filename, strip: 1 })
39+
await tarExtract({ C: path, file: filename, strip: 1 })
4040

4141
pathsToCleanup.add(path)
4242
pathsToCleanup.add(filename)

0 commit comments

Comments
 (0)