chore: npm audit fix #579

Merged
Sainan merged 4 commits from audit-fix into main 2024-12-18 16:42:10 -08:00

4 Commits

Author SHA1 Message Date
b171a28c68 Fix inventoryController
Made the inventoryJSON type more opaque since mongoose chains a lot of stuff together for it so it's hard to give a proper type.
2024-12-15 21:48:53 +01:00
0a40d2612b Fix IGetShipResponse
The type here was always incorrect
2024-12-15 21:48:01 +01:00
b491cf81b6 Fix inventoryService
The reinterpret casts are needed as toJSON can no longer infer that the virtual 'ItemId' is being added to the resulting object, causing a type error about the database types being incompatible with the client types.
2024-12-15 21:47:41 +01:00
87030c1b0c npm audit fix 2024-12-15 21:47:29 +01:00