Skip to content

Commit b32267f

Browse files
committed
fix: upgrade dependencies to fix issue \!55 and upgrade to webrtc/v4
1 parent 0be9e24 commit b32267f

File tree

7 files changed

+107
-150
lines changed

7 files changed

+107
-150
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/kr/pty"
1212
"github.com/maxmcd/webtty/pkg/sd"
1313
"github.com/mitchellh/colorstring"
14-
"github.com/pion/webrtc/v3"
14+
"github.com/pion/webrtc/v4"
1515
"golang.org/x/crypto/ssh/terminal"
1616
)
1717

client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010

1111
"github.com/kr/pty"
12-
"github.com/pion/webrtc/v3"
12+
"github.com/pion/webrtc/v4"
1313
"golang.org/x/crypto/ssh/terminal"
1414
)
1515

go.mod

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
11
module github.com/maxmcd/webtty
22

3-
go 1.12
3+
go 1.23.0
4+
5+
toolchain go1.24.3
46

57
require (
6-
github.com/btcsuite/btcutil v0.0.0-20190316010144-3ac1210f4b38
7-
github.com/kr/pty v1.1.4
8+
github.com/btcsuite/btcutil v1.0.2
9+
github.com/kr/pty v1.1.8
810
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
9-
github.com/pion/webrtc/v3 v3.1.29
10-
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4
11+
github.com/pion/webrtc/v4 v4.1.1
12+
golang.org/x/crypto v0.38.0
13+
)
14+
15+
require (
16+
github.com/creack/pty v1.1.24 // indirect
17+
github.com/google/uuid v1.6.0 // indirect
18+
github.com/pion/datachannel v1.5.10 // indirect
19+
github.com/pion/dtls/v3 v3.0.6 // indirect
20+
github.com/pion/ice/v4 v4.0.10 // indirect
21+
github.com/pion/interceptor v0.1.38 // indirect
22+
github.com/pion/logging v0.2.3 // indirect
23+
github.com/pion/mdns/v2 v2.0.7 // indirect
24+
github.com/pion/randutil v0.1.0 // indirect
25+
github.com/pion/rtcp v1.2.15 // indirect
26+
github.com/pion/rtp v1.8.16 // indirect
27+
github.com/pion/sctp v1.8.39 // indirect
28+
github.com/pion/sdp/v3 v3.0.13 // indirect
29+
github.com/pion/srtp/v3 v3.0.4 // indirect
30+
github.com/pion/stun/v3 v3.0.0 // indirect
31+
github.com/pion/transport/v3 v3.0.7 // indirect
32+
github.com/pion/turn/v4 v4.0.2 // indirect
33+
github.com/wlynxg/anet v0.0.5 // indirect
34+
golang.org/x/net v0.40.0 // indirect
35+
golang.org/x/sys v0.33.0 // indirect
36+
golang.org/x/term v0.32.0 // indirect
1137
)

go.sum

Lines changed: 71 additions & 140 deletions
Large diffs are not rendered by default.

host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/kr/pty"
1515
"github.com/maxmcd/webtty/pkg/sd"
1616
"github.com/mitchellh/colorstring"
17-
"github.com/pion/webrtc/v3"
17+
"github.com/pion/webrtc/v4"
1818
)
1919

2020
type hostSession struct {

host_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99

1010
"github.com/kr/pty"
11-
"github.com/pion/webrtc/v3"
11+
"github.com/pion/webrtc/v4"
1212
)
1313

1414
func TestHosttDataChannelOnMessage(t *testing.T) {

session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66

77
"github.com/maxmcd/webtty/pkg/sd"
8-
"github.com/pion/webrtc/v3"
8+
"github.com/pion/webrtc/v4"
99
"golang.org/x/crypto/ssh/terminal"
1010
)
1111

0 commit comments

Comments
 (0)