Skip to content

Commit ce31408

Browse files
committed
Update dependencies
1 parent e26febd commit ce31408

File tree

11 files changed

+1325
-1483
lines changed

11 files changed

+1325
-1483
lines changed

package-lock.json

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

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@
1616
"test": "jest --testTimeout 10000"
1717
},
1818
"devDependencies": {
19-
"@types/jest": "^27.0.2",
20-
"@types/node": "^16.18.1",
21-
"@types/signale": "^1.4.1",
22-
"concurrently": "^6.1.0",
23-
"eslint": "^8.0.1",
24-
"eslint-config-prettier": "^8.9.0",
25-
"eslint-plugin-github": "^4.9.2",
19+
"@types/jest": "^29.5.4",
20+
"@types/node": "^20.5.7",
21+
"@types/signale": "^1.4.4",
22+
"concurrently": "^8.2.1",
23+
"eslint": "^8.48.0",
24+
"eslint-config-prettier": "^9.0.0",
25+
"eslint-plugin-github": "^4.10.0",
2626
"eslint-plugin-jest": "^27.2.3",
2727
"eslint-plugin-prettier": "^5.0.0",
28-
"flow-bin": "^0.115.0",
29-
"jest": "^27.2.5",
30-
"lerna": "^7.1.4",
31-
"nx": "16.6.0",
32-
"prettier": "^3.0.0",
33-
"ts-jest": "^27.0.5",
34-
"typescript": "^3.9.9"
28+
"flow-bin": "^0.215.1",
29+
"jest": "^29.6.4",
30+
"lerna": "^7.2.0",
31+
"nx": "16.7.4",
32+
"prettier": "^3.0.3",
33+
"ts-jest": "^29.1.1",
34+
"typescript": "^5.2.2"
3535
}
36-
}
36+
}

packages/artifact/package-lock.json

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

packages/artifact/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
},
5858
"devDependencies": {
5959
"@types/archiver": "^5.3.2",
60-
"typescript": "^4.3.0"
60+
"typescript": "^5.2.2"
6161
}
6262
}

packages/artifact/src/internal/upload/upload-artifact.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ export async function uploadArtifact(
7171
createArtifactReq.expiresAt = expiresAt
7272
}
7373

74-
const createArtifactResp = await artifactClient.CreateArtifact(
75-
createArtifactReq
76-
)
74+
const createArtifactResp =
75+
await artifactClient.CreateArtifact(createArtifactReq)
7776
if (!createArtifactResp.ok) {
7877
core.warning(`Failed to create artifact`)
7978
return {
@@ -108,9 +107,8 @@ export async function uploadArtifact(
108107

109108
core.info(`Finalizing artifact upload`)
110109

111-
const finalizeArtifactResp = await artifactClient.FinalizeArtifact(
112-
finalizeArtifactReq
113-
)
110+
const finalizeArtifactResp =
111+
await artifactClient.FinalizeArtifact(finalizeArtifactReq)
114112
if (!finalizeArtifactResp.ok) {
115113
core.warning(`Failed to finalize artifact`)
116114
return {

packages/cache/package-lock.json

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

packages/cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@
5151
"devDependencies": {
5252
"@types/semver": "^6.0.0",
5353
"@types/uuid": "^3.4.5",
54-
"typescript": "^4.8.0"
54+
"typescript": "^5.2.2"
5555
}
5656
}

packages/exec/src/toolrunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ class ExecState extends events.EventEmitter {
631631
private delay = 10000 // 10 seconds
632632
private done = false
633633
private options: im.ExecOptions
634-
private timeout: NodeJS.Timer | null = null
634+
private timeout: NodeJS.Timeout | null = null
635635
private toolPath: string
636636

637637
CheckComplete(): void {

packages/github/__tests__/github.proxy.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('@actions/github', () => {
1919
proxyServer = proxy()
2020
await new Promise(resolve => {
2121
const port = Number(proxyUrl.split(':')[2])
22-
proxyServer.listen(port, () => resolve())
22+
proxyServer.listen(port, () => resolve(null))
2323
})
2424
proxyServer.on('connect', req => {
2525
proxyConnects.push(req.url ?? '')
@@ -33,7 +33,7 @@ describe('@actions/github', () => {
3333
afterAll(async () => {
3434
// Stop proxy server
3535
await new Promise(resolve => {
36-
proxyServer.once('close', () => resolve())
36+
proxyServer.once('close', () => resolve(null))
3737
proxyServer.close()
3838
})
3939

packages/io/src/io-util.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,12 @@ function normalizeSeparators(p: string): string {
167167
function isUnixExecutable(stats: fs.Stats): boolean {
168168
return (
169169
(stats.mode & 1) > 0 ||
170-
((stats.mode & 8) > 0 && stats.gid === process.getgid()) ||
171-
((stats.mode & 64) > 0 && stats.uid === process.getuid())
170+
((stats.mode & 8) > 0 &&
171+
process.getgid !== undefined &&
172+
stats.gid === process.getgid()) ||
173+
((stats.mode & 64) > 0 &&
174+
process.getuid !== undefined &&
175+
stats.uid === process.getuid())
172176
)
173177
}
174178

0 commit comments

Comments
 (0)