Skip to content

Commit f39632f

Browse files
committed
chore: update and simplify dependency declarations
- Change dependency declarations for bubbles, bubbletea, and lipgloss from indirect to direct - Add go-isatty and golang.org/x/term as direct dependencies - Remove go-isatty and golang.org/x/term as indirect dependencies Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent 665ae7d commit f39632f

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@ go 1.24.2
44

55
require (
66
github.com/appleboy/go-httpretry v0.11.0
7+
github.com/charmbracelet/bubbles v1.0.0
8+
github.com/charmbracelet/bubbletea v1.3.10
9+
github.com/charmbracelet/lipgloss v1.1.0
710
github.com/google/uuid v1.6.0
811
github.com/joho/godotenv v1.5.1
12+
github.com/mattn/go-isatty v0.0.20
913
golang.org/x/oauth2 v0.35.0
14+
golang.org/x/term v0.40.0
1015
)
1116

1217
require (
1318
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
14-
github.com/charmbracelet/bubbles v1.0.0 // indirect
15-
github.com/charmbracelet/bubbletea v1.3.10 // indirect
1619
github.com/charmbracelet/colorprofile v0.4.1 // indirect
17-
github.com/charmbracelet/lipgloss v1.1.0 // indirect
1820
github.com/charmbracelet/x/ansi v0.11.6 // indirect
1921
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
2022
github.com/charmbracelet/x/term v0.2.2 // indirect
@@ -23,7 +25,6 @@ require (
2325
github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
2426
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
2527
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
26-
github.com/mattn/go-isatty v0.0.20 // indirect
2728
github.com/mattn/go-localereader v0.0.1 // indirect
2829
github.com/mattn/go-runewidth v0.0.19 // indirect
2930
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
@@ -32,6 +33,5 @@ require (
3233
github.com/rivo/uniseg v0.4.7 // indirect
3334
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
3435
golang.org/x/sys v0.41.0 // indirect
35-
golang.org/x/term v0.40.0 // indirect
3636
golang.org/x/text v0.3.8 // indirect
3737
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
4646
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
4747
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
4848
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
49+
golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI=
50+
golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo=
4951
golang.org/x/oauth2 v0.35.0 h1:Mv2mzuHuZuY2+bkyWXIHMfhNdJAdwW3FuWeCPYN5GVQ=
5052
golang.org/x/oauth2 v0.35.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
5153
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 commit comments

Comments
 (0)