From dcab5dae96c8a010e08c5963467d55d65a7f76cf Mon Sep 17 00:00:00 2001
From: BananaBaagel <66839366+BananaBagel@users.noreply.github.com>
Date: Tue, 23 Sep 2025 15:10:57 -0400
Subject: [PATCH] Update Newtonsoft.JSON to non-vulnerable version
---
Torch.API/Torch.API.csproj | 5 ++---
Torch.API/packages.config | 2 +-
Torch.Server/Torch.Server.csproj | 7 +++----
Torch.Server/packages.config | 2 +-
4 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/Torch.API/Torch.API.csproj b/Torch.API/Torch.API.csproj
index 9bc7e421..86656d18 100644
--- a/Torch.API/Torch.API.csproj
+++ b/Torch.API/Torch.API.csproj
@@ -44,9 +44,8 @@
..\GameBinaries\HavokWrapper.dll
False
-
- ..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll
- True
+
+ ..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll
..\packages\NLog.4.4.12\lib\net45\NLog.dll
diff --git a/Torch.API/packages.config b/Torch.API/packages.config
index fbd3f147..ea61ec50 100644
--- a/Torch.API/packages.config
+++ b/Torch.API/packages.config
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/Torch.Server/Torch.Server.csproj b/Torch.Server/Torch.Server.csproj
index 128b0e3d..1a8c9562 100644
--- a/Torch.Server/Torch.Server.csproj
+++ b/Torch.Server/Torch.Server.csproj
@@ -92,9 +92,8 @@
..\GameBinaries\netstandard.dll
-
- ..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll
- True
+
+ ..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll
..\packages\NLog.4.4.12\lib\net45\NLog.dll
@@ -548,4 +547,4 @@
copy "$(SolutionDir)NLog.config" "$(TargetDir)" & copy "$(SolutionDir)NLog-user.config" "$(TargetDir)"
-
+
\ No newline at end of file
diff --git a/Torch.Server/packages.config b/Torch.Server/packages.config
index e04f6688..bf9148b7 100644
--- a/Torch.Server/packages.config
+++ b/Torch.Server/packages.config
@@ -5,7 +5,7 @@
-
+