Skip to content

Commit fccc665

Browse files
fix(browserstack): bump tar - fixes #15027
1 parent fa748d7 commit fccc665

3 files changed

Lines changed: 12 additions & 13 deletions

File tree

packages/wdio-browserstack-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"git-repo-info": "^2.1.1",
5252
"gitconfiglocal": "^2.1.0",
5353
"glob": "^11.0.0",
54-
"tar": "^6.1.15",
54+
"tar": "^7.5.7",
5555
"undici": "^6.21.3",
5656
"uuid": "^11.1.0",
5757
"webdriverio": "workspace:*",

packages/wdio-browserstack-service/src/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import UsageStats from './testOps/usageStats.js'
4949
import TestOpsConfig from './testOps/testOpsConfig.js'
5050
import type { StartBinSessionResponse } from '@browserstack/wdio-browserstack-service'
5151
import APIUtils from './cli/apiUtils.js'
52-
import tar from 'tar'
52+
import { create } from 'tar'
5353
import { fileFromPath } from 'formdata-node/file-from-path'
5454

5555
import AccessibilityScripts from './scripts/accessibility-scripts.js'
@@ -1387,7 +1387,7 @@ export async function uploadLogs(user: string | undefined, key: string | undefin
13871387
copiedFileNames.push(path.basename(f))
13881388
}
13891389

1390-
await tar.create(
1390+
await create(
13911391
{
13921392
file: tarPath,
13931393
cwd: tmpDir,

pnpm-lock.yaml

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)