From 105d830e352d5c062badb81fa193433fccfdd0fe Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Fri, 9 May 2025 09:43:52 -0500 Subject: [PATCH] chore: update github.com/coder/guts to v1.3.0 --- go.mod | 2 +- go.sum | 4 ++-- site/genweb/main.go | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index b5d930a..34f5855 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.24.2 require ( cdr.dev/slog v1.6.2-0.20240126064726-20367d4aede6 github.com/aquasecurity/trivy v0.58.2 - github.com/coder/guts v1.0.2-0.20250227211802-139809366a22 + github.com/coder/guts v1.3.0 github.com/coder/serpent v0.10.0 github.com/coder/terraform-provider-coder/v2 v2.4.0 github.com/coder/websocket v1.8.13 diff --git a/go.sum b/go.sum index 1f8d157..e3c5bf0 100644 --- a/go.sum +++ b/go.sum @@ -712,8 +712,8 @@ github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 h1:QVw89YDxXxEe+l8gU8ETbOasdwEV+avkR75ZzsVV9WI= github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= -github.com/coder/guts v1.0.2-0.20250227211802-139809366a22 h1:CACzZc2r5oQj8JKlqiBrMq/MVI7YHqbNndmHJg92B0A= -github.com/coder/guts v1.0.2-0.20250227211802-139809366a22/go.mod h1:5ducjpIPvmGOcQVigCcXyPFqrH5xeGlZ6c9qPfE1cU4= +github.com/coder/guts v1.3.0 h1:Kz8LrodQCfz/R06JdCJqdxZDq0BVTTXYYQC/qY3N9fo= +github.com/coder/guts v1.3.0/go.mod h1:31NO4z6MVTOD4WaCLqE/hUAHGgNok9sRbuMc/LZFopI= github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0 h1:3A0ES21Ke+FxEM8CXx9n47SZOKOpgSE1bbJzlE4qPVs= github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0/go.mod h1:5UuS2Ts+nTToAMeOjNlnHFkPahrtDkmpydBen/3wgZc= github.com/coder/serpent v0.10.0 h1:ofVk9FJXSek+SmL3yVE3GoArP83M+1tX+H7S4t8BSuM= diff --git a/site/genweb/main.go b/site/genweb/main.go index fd04236..034afde 100644 --- a/site/genweb/main.go +++ b/site/genweb/main.go @@ -68,6 +68,8 @@ func main() { func TsMutations(ts *guts.Typescript) { ts.ApplyMutations( + config.NotNullMaps, + config.EnumAsTypes, // Enum list generator config.EnumLists, // Export all top level types