From fa6c9ca35197b4cae015280a141f07a02ef47220 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 01:12:59 +0000 Subject: [PATCH 1/2] Bump dependency YamlDotNet to v16 --- Aws/packages.lock.json | 6 +++--- Cli/packages.lock.json | 6 +++--- K8s/packages.lock.json | 6 +++--- Library/Library.csproj | 2 +- Library/packages.lock.json | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Aws/packages.lock.json b/Aws/packages.lock.json index f01dace9..c8d8354e 100644 --- a/Aws/packages.lock.json +++ b/Aws/packages.lock.json @@ -220,8 +220,8 @@ }, "YamlDotNet": { "type": "Transitive", - "resolved": "15.3.0", - "contentHash": "F93japYa9YrJ59AZGhgdaUGHN7ITJ55FBBg/D/8C0BDgahv/rQD6MOSwHxOJJpon1kYyslVbeBrQ2wcJhox01w==" + "resolved": "16.0.0", + "contentHash": "kZ4jR5ltFhnjaUqK9x81zXRIUTH4PTXTTEmJDNQdkDLQhcv+2Nl19r0dCSvPW1mstOYBfXTnjdieRbUO6gHMDw==" }, "k8s": { "type": "Project", @@ -246,7 +246,7 @@ "Pulumi.Aws": "[5.11.0, )", "Pulumi.Kubernetes": "[3.20.5, )", "Scriban": "[5.10.0, )", - "YamlDotNet": "[15.3.0, )" + "YamlDotNet": "[16.0.0, )" } } } diff --git a/Cli/packages.lock.json b/Cli/packages.lock.json index a10b7a23..4edf48d5 100644 --- a/Cli/packages.lock.json +++ b/Cli/packages.lock.json @@ -611,8 +611,8 @@ }, "YamlDotNet": { "type": "Transitive", - "resolved": "15.3.0", - "contentHash": "F93japYa9YrJ59AZGhgdaUGHN7ITJ55FBBg/D/8C0BDgahv/rQD6MOSwHxOJJpon1kYyslVbeBrQ2wcJhox01w==" + "resolved": "16.0.0", + "contentHash": "kZ4jR5ltFhnjaUqK9x81zXRIUTH4PTXTTEmJDNQdkDLQhcv+2Nl19r0dCSvPW1mstOYBfXTnjdieRbUO6gHMDw==" }, "aws": { "type": "Project", @@ -649,7 +649,7 @@ "Pulumi.Aws": "[5.11.0, )", "Pulumi.Kubernetes": "[3.20.5, )", "Scriban": "[5.10.0, )", - "YamlDotNet": "[15.3.0, )" + "YamlDotNet": "[16.0.0, )" } } } diff --git a/K8s/packages.lock.json b/K8s/packages.lock.json index a9b95ca7..949097f4 100644 --- a/K8s/packages.lock.json +++ b/K8s/packages.lock.json @@ -209,8 +209,8 @@ }, "YamlDotNet": { "type": "Transitive", - "resolved": "15.3.0", - "contentHash": "F93japYa9YrJ59AZGhgdaUGHN7ITJ55FBBg/D/8C0BDgahv/rQD6MOSwHxOJJpon1kYyslVbeBrQ2wcJhox01w==" + "resolved": "16.0.0", + "contentHash": "kZ4jR5ltFhnjaUqK9x81zXRIUTH4PTXTTEmJDNQdkDLQhcv+2Nl19r0dCSvPW1mstOYBfXTnjdieRbUO6gHMDw==" }, "library": { "type": "Project", @@ -222,7 +222,7 @@ "Pulumi.Aws": "[5.11.0, )", "Pulumi.Kubernetes": "[3.20.5, )", "Scriban": "[5.10.0, )", - "YamlDotNet": "[15.3.0, )" + "YamlDotNet": "[16.0.0, )" } } } diff --git a/Library/Library.csproj b/Library/Library.csproj index eea9db53..d52896cb 100644 --- a/Library/Library.csproj +++ b/Library/Library.csproj @@ -11,6 +11,6 @@ - + diff --git a/Library/packages.lock.json b/Library/packages.lock.json index 4745fc66..76cc0d85 100644 --- a/Library/packages.lock.json +++ b/Library/packages.lock.json @@ -70,9 +70,9 @@ }, "YamlDotNet": { "type": "Direct", - "requested": "[15.3.0, )", - "resolved": "15.3.0", - "contentHash": "F93japYa9YrJ59AZGhgdaUGHN7ITJ55FBBg/D/8C0BDgahv/rQD6MOSwHxOJJpon1kYyslVbeBrQ2wcJhox01w==" + "requested": "[16.0.0, )", + "resolved": "16.0.0", + "contentHash": "kZ4jR5ltFhnjaUqK9x81zXRIUTH4PTXTTEmJDNQdkDLQhcv+2Nl19r0dCSvPW1mstOYBfXTnjdieRbUO6gHMDw==" }, "Ben.Demystifier": { "type": "Transitive", From d945274a8db79d0d9b87663c7d0bf8493b003d08 Mon Sep 17 00:00:00 2001 From: Sean Fausett Date: Mon, 22 Jul 2024 14:02:38 +1200 Subject: [PATCH 2/2] Fix config type inspector --- Library/ConfigTypeInspector.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/ConfigTypeInspector.cs b/Library/ConfigTypeInspector.cs index f49d2b30..849c3bbc 100644 --- a/Library/ConfigTypeInspector.cs +++ b/Library/ConfigTypeInspector.cs @@ -7,6 +7,10 @@ public ConfigTypeInspector(ITypeInspector inner) Inner = inner; } + public override string GetEnumName(Type enumType, string name) => Inner.GetEnumName(enumType, name); + + public override string GetEnumValue(object enumValue) => Inner.GetEnumValue(enumValue); + public override IEnumerable GetProperties(Type type, object? container) => Inner.GetProperties(type, container).Where(property => !Regex.IsMatch(property.Name, @"Password|Secret|Token")); // ignore secrets