From f5ba70d320b2f624a6558b70d1358c4a875fdd71 Mon Sep 17 00:00:00 2001 From: Michael Salaverry Date: Mon, 10 Jun 2024 19:16:58 +0000 Subject: [PATCH] update gorilla websocket to 1.5.2 update go version to 1.22.3 --- Makefile | 2 +- go.mod | 6 ++++-- go.sum | 4 ++++ release/Makefile | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 47f9ee9b..f760427f 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ # To manually invoke the locally installed Go, use ./go # Go installation config. -GO_VER=1.11.5 +GO_VER=1.22.3 SYSTEM_NAME:=$(shell uname -s | tr '[:upper:]' '[:lower:]') SYSTEM_ARCH:=$(shell uname -m) GO_ARCH:=$(if $(filter x86_64, $(SYSTEM_ARCH)),amd64,386) diff --git a/go.mod b/go.mod index 77c14c03..c3592dee 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/joewalnes/websocketd -go 1.15 +go 1.22.3 -require github.com/gorilla/websocket v1.4.1 +require github.com/gorilla/websocket v1.5.2 + +require golang.org/x/net v0.23.0 // indirect diff --git a/go.sum b/go.sum index 5f04ea28..7a88eee7 100644 --- a/go.sum +++ b/go.sum @@ -2,3 +2,7 @@ github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.2 h1:qoW6V1GT3aZxybsbC6oLnailWnB+qTMVwMreOso9XUw= +github.com/gorilla/websocket v1.5.2/go.mod h1:0n9H61RBAcf5/38py2MCYbxzPIY9rOkpvvMT24Rqs30= +golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= diff --git a/release/Makefile b/release/Makefile index eb6feee7..6049f6b8 100644 --- a/release/Makefile +++ b/release/Makefile @@ -21,7 +21,7 @@ LAST_PATCH_VERSION:=$(shell git ls-remote git@github.com:joewalnes/websocketd.gi VERSION_PATCH:=$(or $(LAST_PATCH_VERSION),0) RELEASE_VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH) -GO_VERSION=1.15.7 +GO_VERSION=1.22.3 PLATFORMS=linux_amd64 linux_386 linux_arm linux_arm64 darwin_amd64 freebsd_amd64 freebsd_386 windows_386 windows_amd64 openbsd_386 openbsd_amd64 solaris_amd64