diff --git a/go.mod b/go.mod index decc21f..bb04840 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/frapposelli/wwhrd go 1.15 require ( - github.com/emicklei/dot v1.6.0 + github.com/emicklei/dot v1.6.1 github.com/google/licensecheck v0.3.1 github.com/jessevdk/go-flags v1.5.0 github.com/kr/text v0.2.0 // indirect diff --git a/go.sum b/go.sum index d6b6b01..20582b2 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/emicklei/dot v1.6.0 h1:vUzuoVE8ipzS7QkES4UfxdpCwdU2U97m2Pb2tQCoYRY= -github.com/emicklei/dot v1.6.0/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= +github.com/emicklei/dot v1.6.1 h1:ujpDlBkkwgWUY+qPId5IwapRW/xEoligRSYjioR6DFI= +github.com/emicklei/dot v1.6.1/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= github.com/google/licensecheck v0.3.1 h1:QoxgoDkaeC4nFrtGN1jV7IPmDCHFNIVh54e5hSt6sPs= github.com/google/licensecheck v0.3.1/go.mod h1:ORkR35t/JjW+emNKtfJDII0zlciG9JgbT7SmsohlHmY= github.com/jessevdk/go-flags v1.5.0 h1:1jKYvbxEjfUl0fmqTCOfonvskHHXMjBySTLW4y9LFvc= diff --git a/vendor/github.com/emicklei/dot/CHANGES.md b/vendor/github.com/emicklei/dot/CHANGES.md index 2e9fa7e..c32ac74 100644 --- a/vendor/github.com/emicklei/dot/CHANGES.md +++ b/vendor/github.com/emicklei/dot/CHANGES.md @@ -1,6 +1,10 @@ # Change history of the dot package +## v1.6.1 - 2024-01-17 + +- deprecated MermaidShapeCirle => use MermaidShapeCircle + ## v1.6.0 - 2023-07-30 - add Record builder diff --git a/vendor/github.com/emicklei/dot/README.md b/vendor/github.com/emicklei/dot/README.md index d76e48e..2a3005b 100644 --- a/vendor/github.com/emicklei/dot/README.md +++ b/vendor/github.com/emicklei/dot/README.md @@ -93,7 +93,7 @@ HTML and Literal values // edges outside.Edge(insideFour).Edge(insideOne).Edge(insideTwo).Edge(insideThree).Edge(outside) -See also `ext/Subsystem` type for creating composition hierchies. +See also `ext/Subsystem` type for creating composition hierarchies. ## record example diff --git a/vendor/github.com/emicklei/dot/attr.go b/vendor/github.com/emicklei/dot/attr.go index 2cad5f6..98501dd 100644 --- a/vendor/github.com/emicklei/dot/attr.go +++ b/vendor/github.com/emicklei/dot/attr.go @@ -7,7 +7,9 @@ type HTML string // Literal renders the provided value as is, without adding enclosing // quotes, escaping newlines, quotations marks or any other characters. // For example: -// node.Attr("label", Literal(`"left-justified text\l"`)) +// +// node.Attr("label", Literal(`"left-justified text\l"`)) +// // allows you to left-justify the label (due to the \l at the end). // The caller is responsible for enclosing the value in quotes and for // proper escaping of special characters. diff --git a/vendor/github.com/emicklei/dot/edge.go b/vendor/github.com/emicklei/dot/edge.go index ec2cfe4..837481b 100644 --- a/vendor/github.com/emicklei/dot/edge.go +++ b/vendor/github.com/emicklei/dot/edge.go @@ -8,7 +8,7 @@ type Edge struct { fromPort, toPort string } -// Attr sets key=value and returns the Egde. +// Attr sets key=value and returns the Edge. func (e Edge) Attr(key string, value interface{}) Edge { e.AttributesMap.Attr(key, value) return e diff --git a/vendor/github.com/emicklei/dot/graph.go b/vendor/github.com/emicklei/dot/graph.go index 05b8d3c..fa5ece8 100644 --- a/vendor/github.com/emicklei/dot/graph.go +++ b/vendor/github.com/emicklei/dot/graph.go @@ -192,7 +192,7 @@ func (g *Graph) DeleteNode(id string) bool { } // Edge creates a new edge between two nodes. -// Nodes can be have multiple edges to the same other node (or itself). +// Nodes can have multiple edges to the same other node (or itself). // If one or more labels are given then the "label" attribute is set to the edge. func (g *Graph) Edge(fromNode, toNode Node, labels ...string) Edge { return g.EdgeWithPorts(fromNode, toNode, "", "", labels...) diff --git a/vendor/github.com/emicklei/dot/indent.go b/vendor/github.com/emicklei/dot/indent.go index b67c670..e7d3c0e 100644 --- a/vendor/github.com/emicklei/dot/indent.go +++ b/vendor/github.com/emicklei/dot/indent.go @@ -11,7 +11,7 @@ type IndentWriter struct { writer io.Writer } -// NewIndentWriter returna new IndentWriter with indent level 0. +// NewIndentWriter returns a new IndentWriter with indent level 0. func NewIndentWriter(w io.Writer) *IndentWriter { return &IndentWriter{level: 0, writer: w} } @@ -27,7 +27,7 @@ func (i *IndentWriter) BackIndent() { i.level-- } -// IndentWhile call the blocks after an indent and will restore that indent afterwards. +// IndentWhile call the blocks after an indent and will restore that indent afterward. func (i *IndentWriter) IndentWhile(block func()) { i.Indent() block() diff --git a/vendor/github.com/emicklei/dot/mermaid.go b/vendor/github.com/emicklei/dot/mermaid.go index 1aef0aa..ba694f4 100644 --- a/vendor/github.com/emicklei/dot/mermaid.go +++ b/vendor/github.com/emicklei/dot/mermaid.go @@ -19,7 +19,8 @@ var ( MermaidShapeStadium = shape{"([", "])"} MermaidShapeSubroutine = shape{"[[", "]]"} MermaidShapeCylinder = shape{"[(", ")]"} - MermaidShapeCirle = shape{"((", "))"} + MermaidShapeCirle = shape{"((", "))"} // Deprecated: use MermaidShapeCircle instead + MermaidShapeCircle = shape{"((", "))"} MermaidShapeAsymmetric = shape{">", "]"} MermaidShapeRhombus = shape{"{", "}"} MermaidShapeTrapezoid = shape{"[/", "\\]"} diff --git a/vendor/modules.txt b/vendor/modules.txt index 8804ec4..e4ddbe2 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,6 +1,6 @@ # github.com/davecgh/go-spew v1.1.1 github.com/davecgh/go-spew/spew -# github.com/emicklei/dot v1.6.0 +# github.com/emicklei/dot v1.6.1 ## explicit github.com/emicklei/dot # github.com/google/licensecheck v0.3.1