Skip to content

Commit 2ce6072

Browse files
committed
update node
1 parent 742c50f commit 2ce6072

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

.npm-upgrade.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"reason": "Remove when https://github.com/winstonjs/logform/issues/336 is fixed"
2626
},
2727
"@types/node": {
28-
"versions": ">22.0.0",
29-
"reason": "LTS is 22"
28+
"versions": ">24.0.0",
29+
"reason": "LTS is 24"
3030
}
3131
}
3232
}

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# GameVault Backend Server Changelog
22

3-
## 16.1.3
3+
## 16.2.0
44

55
### Changes
66

7+
- Fixed usage of deprecated Node 22 property
78
- Fixed Session Cleanup Algorithm failing to work on large servers.
89

910
## 16.1.2

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gamevault-backend",
3-
"version": "16.1.3",
3+
"version": "16.2.0",
44
"description": "the self-hosted gaming platform for drm-free games",
55
"author": "Alkan Alper, Schäfer Philip GbR / Phalcode",
66
"private": true,
@@ -99,7 +99,7 @@
9999
"@types/morgan": "^1.9.10",
100100
"@types/ms": "^2.1.0",
101101
"@types/multer": "^2.0.0",
102-
"@types/node": "^22.0.0",
102+
"@types/node": "^24.0.0",
103103
"@types/node-7z": "^2.1.11",
104104
"@types/passport-http": "^0.3.11",
105105
"@types/passport-jwt": "^4.0.1",

src/modules/games/files.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ export class FilesService implements OnApplicationBootstrap {
577577
entries
578578
.filter((e) => e.isFile() && this.isValidFilePath(e.name))
579579
.map(async (e) => {
580-
const path = join(e.path, e.name);
580+
const path = join(e.parentPath, e.name);
581581
const { size } = await stat(path);
582582
return { path, size: BigInt(size) };
583583
}),

0 commit comments

Comments
 (0)