Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Sep 27, 2024
1 parent 471b5cc commit ed565b5
Show file tree
Hide file tree
Showing 9 changed files with 876 additions and 947 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- uses: actions/checkout@v4
- run: go mod download
- run: (cd ui && yarn)
- run: (cd ui && yarn build)
- run: (cd ui && yarn testformat)
- uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
version: v1.60.3
- run: go build ./...
- run: go test -race ./...
- if: startsWith(github.ref, 'refs/tags/v')
Expand Down
51 changes: 27 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,48 +1,51 @@
module github.com/screego/server

go 1.18
go 1.23

toolchain go1.23.1

require (
github.com/gorilla/handlers v1.5.2
github.com/gorilla/mux v1.8.1
github.com/gorilla/sessions v1.2.2
github.com/gorilla/websocket v1.5.1
github.com/gorilla/sessions v1.4.0
github.com/gorilla/websocket v1.5.3
github.com/joho/godotenv v1.5.1
github.com/kelseyhightower/envconfig v1.4.0
github.com/pion/randutil v0.1.0
github.com/pion/turn/v2 v2.1.5
github.com/prometheus/client_golang v1.18.0
github.com/rs/xid v1.5.0
github.com/rs/zerolog v1.32.0
github.com/stretchr/testify v1.8.4
github.com/urfave/cli v1.22.14
golang.org/x/crypto v0.19.0
golang.org/x/term v0.17.0
golang.org/x/text v0.14.0
github.com/pion/turn/v4 v4.0.0
github.com/prometheus/client_golang v1.20.4
github.com/rs/xid v1.6.0
github.com/rs/zerolog v1.33.0
github.com/stretchr/testify v1.9.0
github.com/urfave/cli v1.22.15
golang.org/x/crypto v0.27.0
golang.org/x/term v0.24.0
golang.org/x/text v0.18.0
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/gorilla/securecookie v1.1.2 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/pion/dtls/v2 v2.2.7 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pion/dtls/v3 v3.0.2 // indirect
github.com/pion/logging v0.2.2 // indirect
github.com/pion/stun v0.6.1 // indirect
github.com/pion/transport/v2 v2.2.1 // indirect
github.com/pion/stun/v3 v3.0.0 // indirect
github.com/pion/transport/v3 v3.0.7 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.17.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
github.com/wlynxg/anet v0.0.4 // indirect
golang.org/x/sys v0.25.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
145 changes: 59 additions & 86 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion turn/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync"
"time"

"github.com/pion/turn/v2"
"github.com/pion/turn/v4"
"github.com/rs/zerolog/log"
"github.com/screego/server/config"
"github.com/screego/server/config/ipdns"
Expand Down
30 changes: 15 additions & 15 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
"homepage": ".",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.9",
"@mui/material": "^5.15.9",
"@mui/styles": "^5.15.9",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react-swc": "^3.6.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^6.1.1",
"@mui/material": "^6.1.1",
"@mui/styles": "^6.1.1",
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"notistack": "^3.0.1",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hotkeys-hook": "^4.5.0",
"typescript": "~5.3.3",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hotkeys-hook": "^4.5.1",
"typescript": "~5.6.2",
"use-http": "^1.0.28",
"vite": "^5.1.1",
"vite": "^5.4.8",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.1"
"vite-tsconfig-paths": "^5.0.1"
},
"scripts": {
"start": "vite",
Expand Down
6 changes: 3 additions & 3 deletions ui/src/useRoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ const hostSession = async ({
.find((t) => t.sender && t.sender.track === stream.getVideoTracks()[0]);

if (!!transceiver && 'setCodecPreferences' in transceiver) {
const exactMatch: RTCRtpCodecCapability[] = [];
const mimeMatch: RTCRtpCodecCapability[] = [];
const others: RTCRtpCodecCapability[] = [];
const exactMatch: RTCRtpCodec[] = [];
const mimeMatch: RTCRtpCodec[] = [];
const others: RTCRtpCodec[] = [];

RTCRtpSender.getCapabilities('video')?.codecs.forEach((codec) => {
if (codec.mimeType === preferCodec.mimeType) {
Expand Down
Loading

0 comments on commit ed565b5

Please sign in to comment.