Skip to content

Commit

Permalink
upd - Updated libraries and made necessary changes
Browse files Browse the repository at this point in the history
---

We've made necessary changes while updating the libraries.

---

Type: upd
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Sep 3, 2024
1 parent 9df1cfa commit 85a1a7c
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
changes!
-->
<NitrocidModAPIVersionMajor>3.0.26</NitrocidModAPIVersionMajor>
<NitrocidModAPIVersionChangeset>48</NitrocidModAPIVersionChangeset>
<NitrocidModAPIVersionChangeset>49</NitrocidModAPIVersionChangeset>

<!-- The above two properties are to be installed to the file version -->
<NitrocidModAPIVersion>$(NitrocidModAPIVersionMajor).$(NitrocidModAPIVersionChangeset)</NitrocidModAPIVersion>
Expand Down
2 changes: 1 addition & 1 deletion private/Nitrocid.Tests/Nitrocid.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<ItemGroup>
<PackageReference Include="Shouldly" Version="4.2.1" />
<PackageReference Include="Terminaux" Version="5.0.1" />
<PackageReference Include="Textify.Offline.Json" Version="1.11.1.1" />
<PackageReference Include="Textify.Offline.Json" Version="1.11.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<!-- Extras.Amusements addon Platform Information End -->

<ItemGroup>
<PackageReference Include="Textify.Offline.Data.Analysis" Version="1.11.1.1" />
<PackageReference Include="Textify.Offline.Data.Analysis" Version="1.11.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<ItemGroup>
<PackageReference Include="FluentFTP" Version="51.0.0" />
<PackageReference Include="SharpCompress" Version="0.37.2" />
<PackageReference Include="SharpCompress" Version="0.38.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<!-- Extras.Contacts addon Platform Information End -->

<ItemGroup>
<PackageReference Include="VisualCard" Version="1.1.1" />
<PackageReference Include="VisualCard" Version="2.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ T Adjust<T>(string dayPartData)
{
var dayPartArray = WeatherInfo.WeatherToken["daypart"][0][dayPartData];
var adjusted = dayPartArray[0];
if (adjusted.Type == JTokenType.Null)
adjusted = dayPartArray[1];
return (T)adjusted.ToObject(typeof(T));
adjusted ??= dayPartArray[1];
return adjusted.GetValue<T>();
}

string WeatherSpecifier = "°";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ T Adjust<T>(string dayPartData)
{
var dayPartArray = WeatherInfo.WeatherToken["daypart"][0][dayPartData];
var adjusted = dayPartArray[0];
if (adjusted.Type == JTokenType.Null)
adjusted = dayPartArray[1];
return (T)adjusted.ToObject(typeof(T));
adjusted ??= dayPartArray[1];
return adjusted.GetValue<T>();
}

// Print them to a string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Textify.Offline.Data.Analysis" Version="1.11.1.1" />
<PackageReference Include="Textify.Offline.Data.Analysis" Version="1.11.2" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<ItemGroup>
<PackageReference Include="FluentFTP" Version="51.0.0" />
<PackageReference Include="Magico" Version="1.2.1" />
<PackageReference Include="UnitsNet" Version="5.57.0" />
<PackageReference Include="UnitsNet" Version="5.58.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Textify.Offline.Data.Analysis" Version="1.11.1.1" />
<PackageReference Include="Textify.Offline.Data.Analysis" Version="1.11.2" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions public/Nitrocid/Nitrocid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
<!-- KS Non-private Dependencies Information -->
<ItemGroup>
<PackageReference Include="Terminaux" Version="5.0.1" PrivateAssets="contentfiles;analyzers;build;runtime" />
<PackageReference Include="Terminaux.Images" Version="5.0.0.1" PrivateAssets="contentfiles;analyzers;build;runtime;native" />
<PackageReference Include="Textify.Offline" Version="1.11.1.1" PrivateAssets="contentfiles;analyzers;build;runtime">
<PackageReference Include="Terminaux.Images" Version="5.0.1" PrivateAssets="contentfiles;analyzers;build;runtime;native" />
<PackageReference Include="Textify.Offline" Version="1.11.2" PrivateAssets="contentfiles;analyzers;build;runtime">
<Aliases>global,TextifyDep</Aliases>
</PackageReference>
<PackageReference Include="Nettify" Version="1.5.0.3" PrivateAssets="contentfiles;analyzers;build;runtime" />
<PackageReference Include="Textify.Offline.Json" Version="1.11.1.1" PrivateAssets="contentfiles;analyzers;build;runtime" />
<PackageReference Include="Nettify" Version="1.5.2" PrivateAssets="contentfiles;analyzers;build;runtime" />
<PackageReference Include="Textify.Offline.Json" Version="1.11.2" PrivateAssets="contentfiles;analyzers;build;runtime" />
</ItemGroup>
<!-- KS Non-private Dependencies Information End -->

Expand Down

0 comments on commit 85a1a7c

Please sign in to comment.