Skip to content

Commit 46467a3

Browse files
committed
fix: update dependencies
1 parent da3f5b1 commit 46467a3

File tree

9 files changed

+876
-947
lines changed

9 files changed

+876
-947
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ jobs:
77
steps:
88
- uses: actions/setup-go@v5
99
with:
10-
go-version: 1.22.x
10+
go-version: 1.23.x
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: '20'
13+
node-version: '22'
1414
- uses: actions/checkout@v4
1515
- run: go mod download
1616
- run: (cd ui && yarn)
1717
- run: (cd ui && yarn build)
1818
- run: (cd ui && yarn testformat)
1919
- uses: golangci/golangci-lint-action@v3
2020
with:
21-
version: v1.55.2
21+
version: v1.60.3
2222
- run: go build ./...
2323
- run: go test -race ./...
2424
- if: startsWith(github.ref, 'refs/tags/v')

go.mod

+27-24
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,51 @@
11
module github.com/screego/server
22

3-
go 1.18
3+
go 1.23
4+
5+
toolchain go1.23.1
46

57
require (
68
github.com/gorilla/handlers v1.5.2
79
github.com/gorilla/mux v1.8.1
8-
github.com/gorilla/sessions v1.2.2
9-
github.com/gorilla/websocket v1.5.1
10+
github.com/gorilla/sessions v1.4.0
11+
github.com/gorilla/websocket v1.5.3
1012
github.com/joho/godotenv v1.5.1
1113
github.com/kelseyhightower/envconfig v1.4.0
1214
github.com/pion/randutil v0.1.0
13-
github.com/pion/turn/v2 v2.1.5
14-
github.com/prometheus/client_golang v1.18.0
15-
github.com/rs/xid v1.5.0
16-
github.com/rs/zerolog v1.32.0
17-
github.com/stretchr/testify v1.8.4
18-
github.com/urfave/cli v1.22.14
19-
golang.org/x/crypto v0.19.0
20-
golang.org/x/term v0.17.0
21-
golang.org/x/text v0.14.0
15+
github.com/pion/turn/v4 v4.0.0
16+
github.com/prometheus/client_golang v1.20.4
17+
github.com/rs/xid v1.6.0
18+
github.com/rs/zerolog v1.33.0
19+
github.com/stretchr/testify v1.9.0
20+
github.com/urfave/cli v1.22.15
21+
golang.org/x/crypto v0.27.0
22+
golang.org/x/term v0.24.0
23+
golang.org/x/text v0.18.0
2224
)
2325

2426
require (
2527
github.com/beorn7/perks v1.0.1 // indirect
26-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
27-
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
28+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
29+
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
2830
github.com/davecgh/go-spew v1.1.1 // indirect
2931
github.com/felixge/httpsnoop v1.0.3 // indirect
3032
github.com/gorilla/securecookie v1.1.2 // indirect
33+
github.com/klauspost/compress v1.17.9 // indirect
3134
github.com/kr/text v0.2.0 // indirect
3235
github.com/mattn/go-colorable v0.1.13 // indirect
3336
github.com/mattn/go-isatty v0.0.19 // indirect
34-
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
35-
github.com/pion/dtls/v2 v2.2.7 // indirect
37+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
38+
github.com/pion/dtls/v3 v3.0.2 // indirect
3639
github.com/pion/logging v0.2.2 // indirect
37-
github.com/pion/stun v0.6.1 // indirect
38-
github.com/pion/transport/v2 v2.2.1 // indirect
40+
github.com/pion/stun/v3 v3.0.0 // indirect
41+
github.com/pion/transport/v3 v3.0.7 // indirect
3942
github.com/pmezard/go-difflib v1.0.0 // indirect
40-
github.com/prometheus/client_model v0.5.0 // indirect
41-
github.com/prometheus/common v0.45.0 // indirect
42-
github.com/prometheus/procfs v0.12.0 // indirect
43+
github.com/prometheus/client_model v0.6.1 // indirect
44+
github.com/prometheus/common v0.55.0 // indirect
45+
github.com/prometheus/procfs v0.15.1 // indirect
4346
github.com/russross/blackfriday/v2 v2.1.0 // indirect
44-
golang.org/x/net v0.17.0 // indirect
45-
golang.org/x/sys v0.17.0 // indirect
46-
google.golang.org/protobuf v1.31.0 // indirect
47+
github.com/wlynxg/anet v0.0.4 // indirect
48+
golang.org/x/sys v0.25.0 // indirect
49+
google.golang.org/protobuf v1.34.2 // indirect
4750
gopkg.in/yaml.v3 v3.0.1 // indirect
4851
)

go.sum

+59-86
Large diffs are not rendered by default.

turn/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"sync"
1010
"time"
1111

12-
"github.com/pion/turn/v2"
12+
"github.com/pion/turn/v4"
1313
"github.com/rs/zerolog/log"
1414
"github.com/screego/server/config"
1515
"github.com/screego/server/config/ipdns"

ui/package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@
44
"homepage": ".",
55
"private": true,
66
"dependencies": {
7-
"@emotion/react": "^11.11.3",
8-
"@emotion/styled": "^11.11.0",
9-
"@mui/icons-material": "^5.15.9",
10-
"@mui/material": "^5.15.9",
11-
"@mui/styles": "^5.15.9",
12-
"@types/react": "^18.2.55",
13-
"@types/react-dom": "^18.2.19",
14-
"@vitejs/plugin-react-swc": "^3.6.0",
7+
"@emotion/react": "^11.13.3",
8+
"@emotion/styled": "^11.13.0",
9+
"@mui/icons-material": "^6.1.1",
10+
"@mui/material": "^6.1.1",
11+
"@mui/styles": "^6.1.1",
12+
"@types/react": "^18.3.9",
13+
"@types/react-dom": "^18.3.0",
14+
"@vitejs/plugin-react-swc": "^3.7.0",
1515
"notistack": "^3.0.1",
16-
"prettier": "^3.2.5",
17-
"react": "^18.2.0",
18-
"react-dom": "^18.2.0",
19-
"react-hotkeys-hook": "^4.5.0",
20-
"typescript": "~5.3.3",
16+
"prettier": "^3.3.3",
17+
"react": "^18.3.1",
18+
"react-dom": "^18.3.1",
19+
"react-hotkeys-hook": "^4.5.1",
20+
"typescript": "~5.6.2",
2121
"use-http": "^1.0.28",
22-
"vite": "^5.1.1",
22+
"vite": "^5.4.8",
2323
"vite-plugin-svgr": "^4.2.0",
24-
"vite-tsconfig-paths": "^4.3.1"
24+
"vite-tsconfig-paths": "^5.0.1"
2525
},
2626
"scripts": {
2727
"start": "vite",

ui/src/useRoom.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ const hostSession = async ({
8181
.find((t) => t.sender && t.sender.track === stream.getVideoTracks()[0]);
8282

8383
if (!!transceiver && 'setCodecPreferences' in transceiver) {
84-
const exactMatch: RTCRtpCodecCapability[] = [];
85-
const mimeMatch: RTCRtpCodecCapability[] = [];
86-
const others: RTCRtpCodecCapability[] = [];
84+
const exactMatch: RTCRtpCodec[] = [];
85+
const mimeMatch: RTCRtpCodec[] = [];
86+
const others: RTCRtpCodec[] = [];
8787

8888
RTCRtpSender.getCapabilities('video')?.codecs.forEach((codec) => {
8989
if (codec.mimeType === preferCodec.mimeType) {

0 commit comments

Comments
 (0)