From 777734acf0e655676df28a6a29d40d42835157b1 Mon Sep 17 00:00:00 2001 From: Krzysztof Jaskiewicz Date: Tue, 28 Nov 2023 12:38:54 +0100 Subject: [PATCH] chore: upgrade websocket to version 1.15.1 Signed-off-by: Krzysztof Jaskiewicz --- go.mod | 2 +- go.sum | 4 ++-- licenses.csv | 2 +- tests/tests/test_connect.py | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 35eedacd..27f309b2 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/gin-gonic/gin v1.9.1 github.com/go-ozzo/ozzo-validation/v4 v4.3.0 github.com/google/uuid v1.4.0 - github.com/gorilla/websocket v1.5.0 + github.com/gorilla/websocket v1.5.1 github.com/mendersoftware/go-lib-micro v0.0.0-20231031082957-e2bce6ff3edd github.com/nats-io/nats-server/v2 v2.10.4 github.com/nats-io/nats.go v1.31.0 diff --git a/go.sum b/go.sum index 3094a91f..a91f8909 100644 --- a/go.sum +++ b/go.sum @@ -162,8 +162,8 @@ github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= -github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= +github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= diff --git a/licenses.csv b/licenses.csv index d8a03a19..27c8482b 100644 --- a/licenses.csv +++ b/licenses.csv @@ -11,7 +11,7 @@ github.com/go-playground/universal-translator,MIT github.com/go-playground/validator/v10,MIT github.com/golang/snappy,BSD-3-Clause github.com/google/uuid,BSD-3-Clause -github.com/gorilla/websocket,BSD-2-Clause +github.com/gorilla/websocket,BSD-3-Clause github.com/hashicorp/hcl,MPL-2.0 github.com/klauspost/compress,Apache-2.0 github.com/klauspost/compress/internal/snapref,BSD-3-Clause diff --git a/tests/tests/test_connect.py b/tests/tests/test_connect.py index 8c78a352..c58ea2b7 100644 --- a/tests/tests/test_connect.py +++ b/tests/tests/test_connect.py @@ -39,7 +39,7 @@ def test_connect(self, clean_mongo, tenant_id=None): "00000000-0000-0000-0000-000000000000", connection="Upgrade", upgrade="websocket", - sec_websocket_key="mumbojumbo==", + sec_websocket_key="dGhlIHNhbXBsZSBub25jZQ==", sec_websocket_version=13, ) except management_api.ApiException as e: @@ -53,7 +53,7 @@ def test_connect(self, clean_mongo, tenant_id=None): dev.id, connection="Upgrade", upgrade="websocket", - sec_websocket_key="mumbojumbo==", + sec_websocket_key="dGhlIHNhbXBsZSBub25jZQ==", sec_websocket_version=13, ) except management_api.ApiException as e: @@ -84,7 +84,7 @@ def test_connect(self, clean_mongo, tenant_id=None): dev.id, connection="Upgrade", upgrade="websocket", - sec_websocket_key="mumbojumbo==", + sec_websocket_key="dGhlIHNhbXBsZSBub25jZQ==", sec_websocket_version=13, ) except management_api.ApiException as e: @@ -158,7 +158,7 @@ def test_connect(self, clean_mongo, tenant_id=None): dev.id, connection="Upgrade", upgrade="websocket", - sec_websocket_key="mumbojumbo==", + sec_websocket_key="dGhlIHNhbXBsZSBub25jZQ==", sec_websocket_version=13, ) except management_api.ApiException as e: