Skip to content

Commit be0df1e

Browse files
committed
deps: update dependencies
1 parent 1181fd7 commit be0df1e

File tree

3 files changed

+117
-213
lines changed

3 files changed

+117
-213
lines changed

formatter/formatter_d2.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func (f *D2LangFormatter) Format(td *TemplateData, templateContent string) (err
3131
Ruler: ruler,
3232
}
3333

34-
_, graph, _ := d2lib.Compile(log.Stderr(context.Background()), "nmap", compileOpts, nil)
34+
_, graph, _ := d2lib.Compile(log.WithDefault(context.Background()), "nmap", compileOpts, nil)
3535

3636
for i := range td.NMAPRun.Host {
3737
host := &td.NMAPRun.Host[i]

go.mod

+25-37
Original file line numberDiff line numberDiff line change
@@ -3,52 +3,40 @@ module github.com/vdjagilev/nmap-formatter/v3
33
go 1.23
44

55
require (
6-
github.com/expr-lang/expr v1.16.7
6+
github.com/expr-lang/expr v1.16.9
77
github.com/google/uuid v1.6.0
8-
github.com/mattn/go-sqlite3 v1.14.22
9-
github.com/spf13/cobra v1.8.0
10-
github.com/xuri/excelize/v2 v2.8.1
11-
golang.org/x/net v0.25.0
12-
oss.terrastruct.com/d2 v0.6.5
8+
github.com/mattn/go-sqlite3 v1.14.24
9+
github.com/spf13/cobra v1.8.1
10+
github.com/xuri/excelize/v2 v2.9.0
11+
golang.org/x/net v0.34.0
12+
oss.terrastruct.com/d2 v0.6.9
1313
)
1414

15-
// Specific case for d2, https://github.com/terrastruct/d2/issues/1524
16-
require cdr.dev/slog v1.4.2-0.20221206192828-e4803b10ae17 // indirect
17-
1815
require (
19-
github.com/PuerkitoBio/goquery v1.9.2 // indirect
20-
github.com/alecthomas/chroma v0.10.0 // indirect
21-
github.com/alecthomas/chroma/v2 v2.14.0 // indirect
22-
github.com/andybalholm/cascadia v1.3.2 // indirect
23-
github.com/dlclark/regexp2 v1.11.0 // indirect
24-
github.com/dop251/goja v0.0.0-20240516125602-ccbae20bcec2 // indirect
25-
github.com/fatih/color v1.17.0 // indirect
16+
github.com/PuerkitoBio/goquery v1.10.1 // indirect
17+
github.com/alecthomas/chroma/v2 v2.15.0 // indirect
18+
github.com/andybalholm/cascadia v1.3.3 // indirect
19+
github.com/dlclark/regexp2 v1.11.4 // indirect
20+
github.com/dop251/goja v0.0.0-20250125213203-5ef83b82af17 // indirect
2621
github.com/go-sourcemap/sourcemap v2.1.4+incompatible // indirect
2722
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
28-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
29-
github.com/google/pprof v0.0.0-20240521024322-9665fa269a30 // indirect
23+
github.com/google/pprof v0.0.0-20250202011525-fc3143867406 // indirect
3024
github.com/inconshreveable/mousetrap v1.1.0 // indirect
3125
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
32-
github.com/mattn/go-colorable v0.1.13 // indirect
33-
github.com/mattn/go-isatty v0.0.20 // indirect
34-
github.com/mazznoer/csscolorparser v0.1.3 // indirect
26+
github.com/mazznoer/csscolorparser v0.1.5 // indirect
3527
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
3628
github.com/richardlehane/mscfb v1.0.4 // indirect
37-
github.com/richardlehane/msoleps v1.0.3 // indirect
29+
github.com/richardlehane/msoleps v1.0.4 // indirect
3830
github.com/rivo/uniseg v0.4.7 // indirect
39-
github.com/spf13/pflag v1.0.5 // indirect
40-
github.com/stretchr/testify v1.9.0 // indirect
41-
github.com/xuri/efp v0.0.0-20240408161823-9ad904a10d6d // indirect
42-
github.com/xuri/nfp v0.0.0-20240318013403-ab9948c2c4a7 // indirect
43-
github.com/yuin/goldmark v1.7.1 // indirect
44-
go.opencensus.io v0.24.0 // indirect
45-
golang.org/x/crypto v0.31.0 // indirect
46-
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
47-
golang.org/x/image v0.18.0 // indirect
48-
golang.org/x/sys v0.28.0 // indirect
49-
golang.org/x/term v0.27.0 // indirect
50-
golang.org/x/text v0.21.0 // indirect
51-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
52-
gonum.org/v1/plot v0.14.0 // indirect
53-
oss.terrastruct.com/util-go v0.0.0-20231101220827-55b3812542c2 // indirect
31+
github.com/spf13/pflag v1.0.6 // indirect
32+
github.com/xuri/efp v0.0.0-20241211021726-c4e992084aa6 // indirect
33+
github.com/xuri/nfp v0.0.0-20250111060730-82a408b9aa71 // indirect
34+
github.com/yuin/goldmark v1.7.8 // indirect
35+
golang.org/x/crypto v0.33.0 // indirect
36+
golang.org/x/exp v0.0.0-20250207012021-f9890c6ad9f3 // indirect
37+
golang.org/x/image v0.24.0 // indirect
38+
golang.org/x/text v0.22.0 // indirect
39+
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
40+
gonum.org/v1/plot v0.15.0 // indirect
41+
oss.terrastruct.com/util-go v0.0.0-20241005222610-44c011a04896 // indirect
5442
)

0 commit comments

Comments
 (0)