Skip to content

Commit 2c11709

Browse files
authored
chore: update tar to latest release 7.5.3 to resolve dependabot (#9514)
1 parent b1d6e24 commit 2c11709

5 files changed

Lines changed: 19 additions & 29 deletions

File tree

.changeset/orange-monkeys-mix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
chore: update tar to latest release 7.5.3 to resolve dependabot

packages/app-builder-lib/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"plist": "3.1.0",
7878
"resedit": "^1.7.0",
7979
"semver": "~7.7.3",
80-
"tar": "^6.1.12",
80+
"tar": "7.5.3",
8181
"temp-file": "^3.4.0",
8282
"tiny-async-pool": "1.3.0",
8383
"which": "^5.0.0"
@@ -109,7 +109,6 @@
109109
"@types/js-yaml": "4.0.3",
110110
"@types/plist": "3.0.5",
111111
"@types/semver": "7.7.1",
112-
"@types/tar": "^6.1.3",
113112
"@types/tiny-async-pool": "^1",
114113
"@types/which": "^3.0.4",
115114
"dmg-builder": "workspace:*",

packages/app-builder-lib/src/targets/archive.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import { debug7z, exec, exists, getPath7za, log, statOrNull, unlinkIfExists } from "builder-util"
22
import { move } from "fs-extra"
33
import * as path from "path"
4-
import { create, CreateOptions, FileOptions } from "tar"
4+
import { create } from "tar"
55
import { TmpDir } from "temp-file"
66
import { CompressionLevel } from "../core"
77
import { getLinuxToolsPath } from "./tools"
8+
import { TarOptionsWithAliasesAsync } from "tar/dist/commonjs/options"
89

910
/** @internal */
1011
export async function tar(compression: CompressionLevel | any, format: string, outFile: string, dirToArchive: string, isMacApp: boolean, tempDirManager: TmpDir): Promise<void> {
1112
const tarFile = await tempDirManager.getTempFile({ suffix: ".tar" })
12-
const tarArgs: CreateOptions & FileOptions = {
13+
const tarArgs: TarOptionsWithAliasesAsync = {
1314
file: tarFile,
1415
portable: true,
1516
cwd: dirToArchive,

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ packages:
33
- "test"
44

55
# 10080 minutes = 7 days
6-
minimumReleaseAge: 10080
6+
minimumReleaseAge: 10080
7+
minimumReleaseAgeExclude:
8+
- "tar"

0 commit comments

Comments
 (0)