From ea99cce5f4450c74ce2627aac2b61e4603601266 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 00:04:35 +0000 Subject: [PATCH 1/3] Bump System.Security.Permissions from 7.0.0 to 8.0.0 Bumps [System.Security.Permissions](https://github.com/dotnet/runtime) from 7.0.0 to 8.0.0. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v7.0.0...v8.0.0) --- updated-dependencies: - dependency-name: System.Security.Permissions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Rdmp.UI/Rdmp.UI.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rdmp.UI/Rdmp.UI.csproj b/Rdmp.UI/Rdmp.UI.csproj index dcd25b1589..51c39dc99a 100644 --- a/Rdmp.UI/Rdmp.UI.csproj +++ b/Rdmp.UI/Rdmp.UI.csproj @@ -49,7 +49,7 @@ - + From b9209ac59b6cafc47fd62f96d77d2b9b262fd04f Mon Sep 17 00:00:00 2001 From: jas88 Date: Thu, 30 Nov 2023 16:49:03 -0600 Subject: [PATCH 2/3] Use XmlException not XmlSyntaxException --- Rdmp.Core/Reports/DublinCore/DublinCoreDefinition.cs | 6 +++--- Rdmp.UI/Rdmp.UI.csproj | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Rdmp.Core/Reports/DublinCore/DublinCoreDefinition.cs b/Rdmp.Core/Reports/DublinCore/DublinCoreDefinition.cs index 1be3fe6333..e36004b1cc 100644 --- a/Rdmp.Core/Reports/DublinCore/DublinCoreDefinition.cs +++ b/Rdmp.Core/Reports/DublinCore/DublinCoreDefinition.cs @@ -7,7 +7,7 @@ using System; using System.IO; using System.Linq; -using System.Security; +using System.Xml; using System.Xml.Linq; namespace Rdmp.Core.Reports.DublinCore; @@ -105,7 +105,7 @@ public void WriteXml(Stream to) public void LoadFrom(XElement element) { if (element.Name != "metadata") - throw new XmlSyntaxException($"Expected metadata element but got {element}"); + throw new XmlException($"Expected metadata element but got {element}"); var descendants = element.Descendants().ToArray(); Title = GetElement(descendants, "title", true); @@ -137,7 +137,7 @@ private static string GetElement(XElement[] descendants, string tagLocalName, bo e.Name.LocalName.Equals(tagLocalName, StringComparison.CurrentCultureIgnoreCase)); if (match == null) - return mandatory ? throw new XmlSyntaxException($"Failed to find mandatory tag {tagLocalName}") : null; + return mandatory ? throw new XmlException($"Failed to find mandatory tag {tagLocalName}") : null; return match.Value.Trim(); } diff --git a/Rdmp.UI/Rdmp.UI.csproj b/Rdmp.UI/Rdmp.UI.csproj index 51c39dc99a..ceb582b426 100644 --- a/Rdmp.UI/Rdmp.UI.csproj +++ b/Rdmp.UI/Rdmp.UI.csproj @@ -49,7 +49,6 @@ - From 8e266fb9a39ecf80be5bd862ad686edc752df0f0 Mon Sep 17 00:00:00 2001 From: James A Sutherland <> Date: Thu, 30 Nov 2023 18:57:18 -0600 Subject: [PATCH 3/3] Remove disused System.Security.Permissions packages entry --- Documentation/CodeTutorials/Packages.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/CodeTutorials/Packages.md b/Documentation/CodeTutorials/Packages.md index d324a70fb6..df23efc8c1 100644 --- a/Documentation/CodeTutorials/Packages.md +++ b/Documentation/CodeTutorials/Packages.md @@ -36,7 +36,6 @@ | SixLabors.ImageSharp.Drawing | [GitHub](https://github.com/SixLabors/ImageSharp.Drawing) | [Apache 2.0](https://github.com/SixLabors/ImageSharp/blob/main/LICENSE) | Font handling for ImageSharp | | | System.Threading.AccessControl | [GitHub](https://github.com/dotnet/runtime) |[MIT](https://opensource.org/licenses/MIT) | Required by Scintilla for sync primitives | | | System.Threading.ThreadPool | [GitHub](https://github.com/dotnet/corefx) |[MIT](https://opensource.org/licenses/MIT) | Required to compile native linux binaries | | -| System.Security.Permissions |[GitHub](https://github.com/dotnet/corefx) |[MIT](https://opensource.org/licenses/MIT) | Provides common types for Xml doc reading in UI code | | | [AutoComplete Console](https://www.codeproject.com/Articles/1182358/Using-Autocomplete-in-Windows-Console-Applications) by Jasper Lammers | Embedded | [CPOL](https://www.codeproject.com/info/cpol10.aspx) | Provides interactive autocomplete in console input | | | System.Resources.Extensions | [GitHub](https://github.com/dotnet/corefx) | [MIT](https://opensource.org/licenses/MIT) | Allows [publishing with dotnet publish on machines with netcoreapp3.0 SDK installed](https://github.com/microsoft/msbuild/issues/4704#issuecomment-530034240) | | | Spectre.Console | [GitHub](https://github.com/spectreconsole/spectre.console) | [MIT](https://opensource.org/licenses/MIT) | Allows richer command line interactions| |