diff -Nru golang-github-pion-datachannel-1.5.2/AUTHORS.txt golang-github-pion-datachannel-1.5.5/AUTHORS.txt --- golang-github-pion-datachannel-1.5.2/AUTHORS.txt 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/AUTHORS.txt 2022-12-12 21:59:43.000000000 +0000 @@ -6,6 +6,7 @@ Atsushi Watanabe backkem Benny Daon +Chinmay Kousik Eric Daniels Hugo Arregui Hugo Arregui diff -Nru golang-github-pion-datachannel-1.5.2/datachannel.go golang-github-pion-datachannel-1.5.5/datachannel.go --- golang-github-pion-datachannel-1.5.2/datachannel.go 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/datachannel.go 2022-12-12 21:59:43.000000000 +0000 @@ -2,10 +2,12 @@ package datachannel import ( + "errors" "fmt" "io" "sync" "sync/atomic" + "time" "github.com/pion/logging" "github.com/pion/sctp" @@ -19,6 +21,11 @@ ReadDataChannel([]byte) (int, bool, error) } +// ReadDeadliner extends an io.Reader to expose setting a read deadline. +type ReadDeadliner interface { + SetReadDeadline(time.Time) error +} + // Writer is an extended io.Writer // that also allows indicating if a message is text. type Writer interface { @@ -184,7 +191,7 @@ func (c *DataChannel) ReadDataChannel(p []byte) (int, bool, error) { for { n, ppi, err := c.stream.ReadSCTP(p) - if err == io.EOF { + if errors.Is(err, io.EOF) { // When the peer sees that an incoming stream was // reset, it also resets its corresponding outgoing stream. if closeErr := c.stream.Close(); closeErr != nil { @@ -212,6 +219,11 @@ } } +// SetReadDeadline sets a deadline for reads to return +func (c *DataChannel) SetReadDeadline(t time.Time) error { + return c.stream.SetReadDeadline(t) +} + // MessagesSent returns the number of messages sent func (c *DataChannel) MessagesSent() uint32 { return atomic.LoadUint32(&c.messagesSent) diff -Nru golang-github-pion-datachannel-1.5.2/datachannel_test.go golang-github-pion-datachannel-1.5.5/datachannel_test.go --- golang-github-pion-datachannel-1.5.2/datachannel_test.go 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/datachannel_test.go 2022-12-12 21:59:43.000000000 +0000 @@ -2,6 +2,7 @@ import ( "encoding/binary" + "os" "reflect" "testing" "time" @@ -735,3 +736,37 @@ closeAssociationPair(br, a0, a1) } + +func TestReadDeadline(t *testing.T) { + loggerFactory := logging.NewDefaultLoggerFactory() + + br := test.NewBridge() + + a0, a1, err := createNewAssociationPair(br) + if !assert.Nil(t, err, "failed to create associations") { + assert.FailNow(t, "failed due to earlier error") + } + + cfg := &Config{ + ChannelType: ChannelTypeReliable, + ReliabilityParameter: 123, + Label: "data", + LoggerFactory: loggerFactory, + } + + dc0, err := Dial(a0, 100, cfg) + assert.NoError(t, err, "Dial() should succeed") + bridgeProcessAtLeastOne(br) + + _, err = Accept(a1, &Config{ + LoggerFactory: loggerFactory, + }) + assert.NoError(t, err, "Accept() should succeed") + bridgeProcessAtLeastOne(br) + + err = dc0.SetReadDeadline(time.Now().Add(200 * time.Millisecond)) + assert.NoError(t, err, "SetReadDeadline() should succeed") + + _, err = dc0.Read(make([]byte, 1500)) + assert.ErrorIs(t, err, os.ErrDeadlineExceeded) +} diff -Nru golang-github-pion-datachannel-1.5.2/debian/changelog golang-github-pion-datachannel-1.5.5/debian/changelog --- golang-github-pion-datachannel-1.5.2/debian/changelog 2022-06-15 05:26:24.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/debian/changelog 2023-02-25 09:28:37.000000000 +0000 @@ -1,3 +1,11 @@ +golang-github-pion-datachannel (1.5.5-1) unstable; urgency=medium + + * New upstream version 1.5.5 + * Bump Standards-Version to 4.6.2 (no changes needed) + * Tighten dependency on pion modules + + -- Nilesh Patra Sat, 25 Feb 2023 14:58:37 +0530 + golang-github-pion-datachannel (1.5.2-2) unstable; urgency=medium * Source-only upload. diff -Nru golang-github-pion-datachannel-1.5.2/debian/control golang-github-pion-datachannel-1.5.5/debian/control --- golang-github-pion-datachannel-1.5.2/debian/control 2022-06-11 13:16:12.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/debian/control 2023-02-25 09:28:37.000000000 +0000 @@ -8,10 +8,10 @@ dh-golang, golang-any, golang-github-pion-logging-dev, - golang-github-pion-sctp-dev (>= 1.8.2-2~), + golang-github-pion-sctp-dev (>= 1.8.5-1~), golang-github-pion-transport-dev, golang-github-stretchr-testify-dev -Standards-Version: 4.6.0 +Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-pion-datachannel Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-pion-datachannel.git Homepage: https://github.com/pion/datachannel @@ -22,7 +22,7 @@ Architecture: all Multi-Arch: foreign Depends: golang-github-pion-logging-dev, - golang-github-pion-sctp-dev (>= 1.8.2-2~), + golang-github-pion-sctp-dev (>= 1.8.5-1~), golang-github-pion-transport-dev, golang-github-stretchr-testify-dev, ${misc:Depends} diff -Nru golang-github-pion-datachannel-1.5.2/.github/hooks/pre-commit.sh golang-github-pion-datachannel-1.5.5/.github/hooks/pre-commit.sh --- golang-github-pion-datachannel-1.5.2/.github/hooks/pre-commit.sh 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/hooks/pre-commit.sh 2022-12-12 21:59:43.000000000 +0000 @@ -10,3 +10,4 @@ exec 1>&2 .github/lint-disallowed-functions-in-library.sh +.github/lint-no-trailing-newline-in-log-messages.sh diff -Nru golang-github-pion-datachannel-1.5.2/.github/lint-no-trailing-newline-in-log-messages.sh golang-github-pion-datachannel-1.5.5/.github/lint-no-trailing-newline-in-log-messages.sh --- golang-github-pion-datachannel-1.5.2/.github/lint-no-trailing-newline-in-log-messages.sh 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/lint-no-trailing-newline-in-log-messages.sh 2022-12-12 21:59:43.000000000 +0000 @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +# +# DO NOT EDIT THIS FILE +# +# It is automatically copied from https://github.com/pion/.goassets repository. +# +# If you want to update the shared CI config, send a PR to +# https://github.com/pion/.goassets instead of this repository. +# + +set -e + +# Disallow usages of functions that cause the program to exit in the library code +SCRIPT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) +if [ -f ${SCRIPT_PATH}/.ci.conf ] +then + . ${SCRIPT_PATH}/.ci.conf +fi + +files=$( + find "$SCRIPT_PATH/.." -name "*.go" \ + | while read file + do + excluded=false + for ex in $EXCLUDE_DIRECTORIES + do + if [[ $file == */$ex/* ]] + then + excluded=true + break + fi + done + $excluded || echo "$file" + done +) + +if grep -E '\.(Trace|Debug|Info|Warn|Error)f?\("[^"]*\\n"\)?' $files | grep -v -e 'nolint'; then + echo "Log format strings should have trailing new-line" + exit 1 +fi \ No newline at end of file diff -Nru golang-github-pion-datachannel-1.5.2/.github/workflows/codeql-analysis.yml golang-github-pion-datachannel-1.5.5/.github/workflows/codeql-analysis.yml --- golang-github-pion-datachannel-1.5.2/.github/workflows/codeql-analysis.yml 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/workflows/codeql-analysis.yml 2022-12-12 21:59:43.000000000 +0000 @@ -0,0 +1,40 @@ +name: "CodeQL" + +on: + workflow_dispatch: + schedule: + - cron: '23 5 * * 0' + pull_request: + branches: + - master + paths: + - '**.go' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + # The code in examples/ might intentionally do things like log credentials + # in order to show how the library is used, aid in debugging etc. We + # should ignore those for CodeQL scanning, and only focus on the package + # itself. + - name: Remove example code + run: | + rm -rf examples/ + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: 'go' + + - name: CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff -Nru golang-github-pion-datachannel-1.5.2/.github/workflows/generate-authors.yml golang-github-pion-datachannel-1.5.5/.github/workflows/generate-authors.yml --- golang-github-pion-datachannel-1.5.2/.github/workflows/generate-authors.yml 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/workflows/generate-authors.yml 2022-12-12 21:59:43.000000000 +0000 @@ -16,6 +16,8 @@ jobs: checksecret: + permissions: + contents: none runs-on: ubuntu-latest outputs: is_PIONBOT_PRIVATE_KEY_set: ${{ steps.checksecret_job.outputs.is_PIONBOT_PRIVATE_KEY_set }} @@ -28,11 +30,13 @@ echo "::set-output name=is_PIONBOT_PRIVATE_KEY_set::${{ env.PIONBOT_PRIVATE_KEY != '' }}" generate-authors: + permissions: + contents: write needs: [checksecret] if: needs.checksecret.outputs.is_PIONBOT_PRIVATE_KEY_set == 'true' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} fetch-depth: 0 diff -Nru golang-github-pion-datachannel-1.5.2/.github/workflows/lint.yaml golang-github-pion-datachannel-1.5.5/.github/workflows/lint.yaml --- golang-github-pion-datachannel-1.5.2/.github/workflows/lint.yaml 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/workflows/lint.yaml 2022-12-12 21:59:43.000000000 +0000 @@ -16,6 +16,10 @@ - opened - edited - synchronize + +permissions: + contents: read + jobs: lint-commit-message: name: Metadata @@ -23,7 +27,7 @@ strategy: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -36,16 +40,22 @@ - name: Functions run: .github/lint-disallowed-functions-in-library.sh + - name: Logging messages should not have trailing newlines + run: .github/lint-no-trailing-newline-in-log-messages.sh + lint-go: name: Go + permissions: + contents: read + pull-requests: read runs-on: ubuntu-latest strategy: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.31 + version: v1.45.2 args: $GOLANGCI_LINT_EXRA_ARGS diff -Nru golang-github-pion-datachannel-1.5.2/.github/workflows/renovate-go-mod-fix.yaml golang-github-pion-datachannel-1.5.5/.github/workflows/renovate-go-mod-fix.yaml --- golang-github-pion-datachannel-1.5.2/.github/workflows/renovate-go-mod-fix.yaml 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/workflows/renovate-go-mod-fix.yaml 2022-12-12 21:59:43.000000000 +0000 @@ -15,12 +15,15 @@ branches: - renovate/* +permissions: + contents: write + jobs: go-mod-fix: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 - name: fix diff -Nru golang-github-pion-datachannel-1.5.2/.github/workflows/test.yaml golang-github-pion-datachannel-1.5.5/.github/workflows/test.yaml --- golang-github-pion-datachannel-1.5.2/.github/workflows/test.yaml 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/workflows/test.yaml 2022-12-12 21:59:43.000000000 +0000 @@ -17,18 +17,22 @@ pull_request: branches: - master + +permissions: + contents: read + jobs: test: runs-on: ubuntu-latest strategy: matrix: - go: ["1.15", "1.16"] + go: ["1.17", "1.18"] fail-fast: false name: Go ${{ matrix.go }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/go/pkg/mod @@ -39,32 +43,44 @@ ${{ runner.os }}-amd64-go- - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go }} - name: Setup go-acc - run: | - go get github.com/ory/go-acc - git checkout go.mod go.sum + run: go install github.com/ory/go-acc@latest + + - name: Set up gotestfmt + uses: haveyoudebuggedit/gotestfmt-action@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} # Avoid getting rate limited - name: Run test run: | TEST_BENCH_OPTION="-bench=." if [ -f .github/.ci.conf ]; then . .github/.ci.conf; fi + set -euo pipefail go-acc -o cover.out ./... -- \ ${TEST_BENCH_OPTION} \ - -v -race + -json \ + -v -race 2>&1 | grep -v '^go: downloading' | tee /tmp/gotest.log | gotestfmt + + - name: Upload test log + uses: actions/upload-artifact@v2 + if: always() + with: + name: test-log-${{ matrix.go }} + path: /tmp/gotest.log + if-no-files-found: error - name: Run TEST_HOOK run: | if [ -f .github/.ci.conf ]; then . .github/.ci.conf; fi if [ -n "${TEST_HOOK}" ]; then ${TEST_HOOK}; fi - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v2 with: - file: ./cover.out name: codecov-umbrella fail_ci_if_error: true flags: go @@ -73,13 +89,13 @@ runs-on: ubuntu-latest strategy: matrix: - go: ["1.15", "1.16"] + go: ["1.17", "1.18"] fail-fast: false name: Go i386 ${{ matrix.go }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/go/pkg/mod @@ -110,14 +126,14 @@ fail-fast: false name: WASM steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: '12.x' + node-version: '16.x' - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | ~/go/pkg/mod @@ -129,7 +145,7 @@ - name: Download Go run: curl -sSfL https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz | tar -C ~ -xzf - env: - GO_VERSION: 1.16 + GO_VERSION: 1.17 - name: Set Go Root run: echo "GOROOT=${HOME}/go" >> $GITHUB_ENV @@ -151,9 +167,8 @@ -exec="${GO_JS_WASM_EXEC}" \ -v ./... - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v2 with: - file: ./cover.out name: codecov-umbrella fail_ci_if_error: true flags: wasm diff -Nru golang-github-pion-datachannel-1.5.2/.github/workflows/tidy-check.yaml golang-github-pion-datachannel-1.5.5/.github/workflows/tidy-check.yaml --- golang-github-pion-datachannel-1.5.2/.github/workflows/tidy-check.yaml 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.github/workflows/tidy-check.yaml 2022-12-12 21:59:43.000000000 +0000 @@ -18,14 +18,17 @@ branches: - master +permissions: + contents: read + jobs: Check: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 - name: check run: | go mod download diff -Nru golang-github-pion-datachannel-1.5.2/.gitignore golang-github-pion-datachannel-1.5.5/.gitignore --- golang-github-pion-datachannel-1.5.2/.gitignore 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.gitignore 2022-12-12 21:59:43.000000000 +0000 @@ -22,3 +22,4 @@ *.wasm examples/sfu-ws/cert.pem examples/sfu-ws/key.pem +wasm_exec.js diff -Nru golang-github-pion-datachannel-1.5.2/.golangci.yml golang-github-pion-datachannel-1.5.5/.golangci.yml --- golang-github-pion-datachannel-1.5.2/.golangci.yml 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/.golangci.yml 2022-12-12 21:59:43.000000000 +0000 @@ -15,14 +15,22 @@ linters: enable: - asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers + - bidichk # Checks for dangerous unicode character sequences - bodyclose # checks whether HTTP response body is closed successfully + - contextcheck # check the function whether use a non-inherited context - deadcode # Finds unused code + - decorder # check declaration order and count of types, constants, variables and functions - depguard # Go linter that checks if package imports are in a list of acceptable packages - dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()) - dupl # Tool for code clone detection + - durationcheck # check for two durations multiplied together - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases + - errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and optionally reports occations, where the check for the returned error can be omitted. + - errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`. + - errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. - exhaustive # check exhaustiveness of enum switch statements - exportloopref # checks for pointers to enclosing loop variables + - forcetypeassert # finds forced type assertions - gci # Gci control golang package import order and make it always deterministic. - gochecknoglobals # Checks that no globals are present in Go code - gochecknoinits # Checks that no init functions are present in Go code @@ -35,40 +43,62 @@ - gofumpt # Gofumpt checks whether code was gofumpt-ed. - goheader # Checks is file header matches to pattern - goimports # Goimports does everything that gofmt does. Additionally it checks unused imports - - golint # Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes + - gomoddirectives # Manage the use of 'replace', 'retract', and 'excludes' directives in go.mod. - gomodguard # Allow and block list linter for direct Go module dependencies. This is different from depguard where there are different block types for example version constraints and module recommendations. - goprintffuncname # Checks that printf-like functions are named with `f` at the end - gosec # Inspects source code for security problems - gosimple # Linter for Go source code that specializes in simplifying a code - govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string + - grouper # An analyzer to analyze expression groups. + - importas # Enforces consistent import aliases - ineffassign # Detects when assignments to existing variables are not used - misspell # Finds commonly misspelled English words in comments - nakedret # Finds naked returns in functions greater than a specified function length + - nilerr # Finds the code that returns nil even if it checks that the error is not nil. + - nilnil # Checks that there is no simultaneous return of `nil` error and an invalid value. - noctx # noctx finds sending http request without context.Context - - scopelint # Scopelint checks for unpinned variables in go programs + - predeclared # find code that shadows one of Go's predeclared identifiers + - revive # golint replacement, finds style mistakes - staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks - structcheck # Finds unused struct fields - stylecheck # Stylecheck is a replacement for golint + - tagliatelle # Checks the struct tags. + - tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 + - tparallel # tparallel detects inappropriate usage of t.Parallel() method in your Go test codes - typecheck # Like the front-end of a Go compiler, parses and type-checks Go code - unconvert # Remove unnecessary type conversions - unparam # Reports unused function parameters - unused # Checks Go code for unused constants, variables, functions and types - varcheck # Finds unused global variables and constants + - wastedassign # wastedassign finds wasted assignment statements - whitespace # Tool for detection of leading and trailing whitespace disable: + - containedctx # containedctx is a linter that detects struct contained context.Context field + - cyclop # checks function and package cyclomatic complexity + - exhaustivestruct # Checks if all struct's fields are initialized + - forbidigo # Forbids identifiers - funlen # Tool for detection of long functions - gocyclo # Computes and checks the cyclomatic complexity of functions - godot # Check if comments end in a period - gomnd # An analyzer to detect magic numbers. + - ifshort # Checks that your code uses short syntax for if-statements whenever possible + - ireturn # Accept Interfaces, Return Concrete Types - lll # Reports long lines + - maintidx # maintidx measures the maintainability index of each function. + - makezero # Finds slice declarations with non-zero initial length - maligned # Tool to detect Go structs that would take less memory if their fields were sorted - nestif # Reports deeply nested if statements - nlreturn # nlreturn checks for a new line before return and branch statements to increase code clarity - nolintlint # Reports ill-formed or insufficient nolint directives + - paralleltest # paralleltest detects missing usage of t.Parallel() method in your Go test - prealloc # Finds slice declarations that could potentially be preallocated + - promlinter # Check Prometheus metrics naming via promlint - rowserrcheck # checks whether Err of rows is checked successfully - sqlclosecheck # Checks that sql.Rows and sql.Stmt are closed. - testpackage # linter that makes you use a separate _test package + - thelper # thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers + - varnamelen # checks that the length of a variable's name matches its scope + - wrapcheck # Checks that errors returned from external packages are wrapped - wsl # Whitespace Linter - Forces you to use empty lines! issues: diff -Nru golang-github-pion-datachannel-1.5.2/go.mod golang-github-pion-datachannel-1.5.5/go.mod --- golang-github-pion-datachannel-1.5.2/go.mod 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/go.mod 2022-12-12 21:59:43.000000000 +0000 @@ -2,9 +2,9 @@ require ( github.com/pion/logging v0.2.2 - github.com/pion/sctp v1.8.0 - github.com/pion/transport v0.12.3 - github.com/stretchr/testify v1.7.0 + github.com/pion/sctp v1.8.5 + github.com/pion/transport v0.14.1 + github.com/stretchr/testify v1.8.1 ) go 1.13 diff -Nru golang-github-pion-datachannel-1.5.2/go.sum golang-github-pion-datachannel-1.5.5/go.sum --- golang-github-pion-datachannel-1.5.2/go.sum 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/go.sum 2022-12-12 21:59:43.000000000 +0000 @@ -10,23 +10,51 @@ github.com/pion/logging v0.2.2/go.mod h1:k0/tDVsRCX2Mb2ZEmTqNa7CWsQPc+YYCB7Q+5pahoms= github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA= github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8= -github.com/pion/sctp v1.8.0 h1:6erMF2qmQwXr+0iB1lm0AUSmDr9LdmpaBzgSVAEgehw= -github.com/pion/sctp v1.8.0/go.mod h1:xFe9cLMZ5Vj6eOzpyiKjT9SwGM4KpK/8Jbw5//jc+0s= -github.com/pion/transport v0.12.3 h1:vdBfvfU/0Wq8kd2yhUMSDB/x+O4Z9MYVl2fJ5BT4JZw= -github.com/pion/transport v0.12.3/go.mod h1:OViWW9SP2peE/HbwBvARicmAVnesphkNkCVZIWJ6q9A= +github.com/pion/sctp v1.8.5 h1:JCc25nghnXWOlSn3OVtEnA9PjQ2JsxQbG+CXZ1UkJKQ= +github.com/pion/sctp v1.8.5/go.mod h1:SUFFfDpViyKejTAdwD1d/HQsCu+V/40cCs2nZIvC3s0= +github.com/pion/transport v0.14.1 h1:XSM6olwW+o8J4SCmOBb/BpwZypkHeyM0PGFCxNQBr40= +github.com/pion/transport v0.14.1/go.mod h1:4tGmbk00NeYA3rUa9+n+dzCCoKkcy3YlYb99Jn2fNnI= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777 h1:003p0dJM77cxMSyCPFphvZf/Y5/NXf5fzg6ufd1/Oew= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.1.0 h1:hZ/3BUoy5aId7sCpA/Tc5lt8DkFgdVS2onTpJsZ/fl0= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff -Nru golang-github-pion-datachannel-1.5.2/message_channel_open.go golang-github-pion-datachannel-1.5.5/message_channel_open.go --- golang-github-pion-datachannel-1.5.2/message_channel_open.go 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/message_channel_open.go 2022-12-12 21:59:43.000000000 +0000 @@ -8,8 +8,9 @@ /* channelOpen represents a DATA_CHANNEL_OPEN Message - 0 1 2 3 - 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 + 0 1 2 3 + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Message Type | Channel Type | Priority | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ diff -Nru golang-github-pion-datachannel-1.5.2/renovate.json golang-github-pion-datachannel-1.5.5/renovate.json --- golang-github-pion-datachannel-1.5.2/renovate.json 2021-11-11 19:31:17.000000000 +0000 +++ golang-github-pion-datachannel-1.5.5/renovate.json 2022-12-12 21:59:43.000000000 +0000 @@ -1,6 +1,7 @@ { "extends": [ - "config:base" + "config:base", + ":disableDependencyDashboard" ], "postUpdateOptions": [ "gomodTidy"