diff --git a/go.mod b/go.mod index 74a65fb..61c11a1 100644 --- a/go.mod +++ b/go.mod @@ -7,10 +7,10 @@ module periph.io/x/cmd go 1.22.6 require ( - golang.org/x/image v0.19.0 + golang.org/x/image v0.22.0 periph.io/x/conn/v3 v3.7.1 periph.io/x/d2xx v0.1.1 - periph.io/x/devices/v3 v3.7.1 + periph.io/x/devices/v3 v3.7.2 periph.io/x/host/v3 v3.8.2 ) diff --git a/go.sum b/go.sum index e706492..ffef307 100644 --- a/go.sum +++ b/go.sum @@ -1,12 +1,12 @@ github.com/jonboulle/clockwork v0.4.0 h1:p4Cf1aMWXnXAUh8lVfewRBx1zaTSYKrKMF2g3ST4RZ4= github.com/jonboulle/clockwork v0.4.0/go.mod h1:xgRqUGwRcjKCO1vbZUEtSLrqKoPSsUpK7fnezOII0kc= -golang.org/x/image v0.19.0 h1:D9FX4QWkLfkeqaC62SonffIIuYdOk/UE2XKUBgRIBIQ= -golang.org/x/image v0.19.0/go.mod h1:y0zrRqlQRWQ5PXaYCOMLTW2fpsxZ8Qh9I/ohnInJEys= +golang.org/x/image v0.22.0 h1:UtK5yLUzilVrkjMAZAZ34DXGpASN8i8pj8g+O+yd10g= +golang.org/x/image v0.22.0/go.mod h1:9hPFhljd4zZ1GNSIZJ49sqbp45GKK9t6w+iXvGqZUz4= periph.io/x/conn/v3 v3.7.1 h1:tMjNv3WO8jEz/ePuXl7y++2zYi8LsQ5otbmqGKy3Myg= periph.io/x/conn/v3 v3.7.1/go.mod h1:c+HCVjkzbf09XzcqZu/t+U8Ss/2QuJj0jgRF6Nye838= periph.io/x/d2xx v0.1.1 h1:LHp+u+qAWLB5THrTT/AzyjdvfUhllvDF5wBJP7uvn+U= periph.io/x/d2xx v0.1.1/go.mod h1:rLM321G11Fc14Pp088khBkmXb70Pxx/kCPaIK7uRUBc= -periph.io/x/devices/v3 v3.7.1 h1:BsExlfYJlZUZoawzpMF7ksgC9f1eBAdqvKRCGvb+VYw= -periph.io/x/devices/v3 v3.7.1/go.mod h1:ezQOe8WknDaMbKZXVwQUQkIauyLyJshwAHkIohHXA94= +periph.io/x/devices/v3 v3.7.2 h1:aMcDOrHBpnmZrSr8qE09pc22kT8LSf3FiI6clHwSPDE= +periph.io/x/devices/v3 v3.7.2/go.mod h1:bb68xsoeCzslYzyTgJmV4yzZm6MmIloPG/A5ou6UCTo= periph.io/x/host/v3 v3.8.2 h1:ayKUDzgUCN0g8+/xM9GTkWaOBhSLVcVHGTfjAOi8OsQ= periph.io/x/host/v3 v3.8.2/go.mod h1:yFL76AesNHR68PboofSWYaQTKmvPXsQH2Apvp/ls/K4= diff --git a/periph-web/static_prod.go b/periph-web/static_prod.go index 566ce1a..e73e4e8 100644 --- a/periph-web/static_prod.go +++ b/periph-web/static_prod.go @@ -12,6 +12,6 @@ func getContent(path string) []byte { } var staticContent = map[string][]byte{ - "static/index.html": []byte("periph-web

GPIO

periph's state

I²C

SPI

"), + "static/index.html": []byte("periph-web

GPIO

periph's state

I²C

SPI

"), "static/favicon.ico": []byte("\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x80\x00\x00\x00\x80\b\x06\x00\x00\x00\xc3>a\xcb\x00\x00\ahIDATx\xda\xed\x9d\xcdkTW\x18\xc6\x7f9\x99aH\x98\xd1$^\xb5\"\xa6%Q\xf0\x83\ba6ҍ\xbb\xd6t\xd3\xddh5b\x15\xbb(T\xd4R\x84\xe4\x0fH@\nV\\\xeaF\x1c\xad\xceZ\xd0v\xe7\xce\xcdm\xc0\xc1\x0f*\t4RDs\xd5\xc4\f\xd1a\x92I\x17g\xc0\xceG\xe6+\xc9\xcc\xdcs\xde\xdfr`\xe6\xdey\x9e\xe7\xbe\xe7\xdcsν\xa7\x8d:\x89\xc7\xe3˅\x9f\r\x0f\x0f\xb7\xd1 \xca\x1dߋ\xc6:\xa1\xad\x17\xd4\x00\xb4\x0fB\xfb^\b\xf6Ap+\x04\"\x10\fA@\x81\xca}3\v,f!\x93\x86\xc5yȼ\x82\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x98}\rS{j\x9d\xcf_-\x81F\xff\xcd\xdcj\x95\xad^\xf4\xd8\b\xf4ʣ\xe8\x80^\xc0y\xb3)ձi\x9d@\xfd\x87'\xbb\xed~\xee\xe0\xe5=\x98\xecn\x96\xf9M\xa9\x00\x05}\x83Y\xe0\x1b/zx7D\x12\xb0y\xc0\x0e\xe3g\x920\x1f\xabe힑\x01(h\x16\xf6{\xd1#\x83\x10\xbenn\x10f\x92\x90:Q\xeeY=+\x03\xf0)\b\xb7't\x10b\xbb\xa0\xf32l\x1b2\xa7\xd4/\x9c]\xe9\x11m\t@q\xd3\xf0\\7\r\xb10\x04\xcf@\xf7(D\xc2\xfe2}>\xa5\xdfɓ\xb9R\xea\xcd\x1c\x12\x80ꂐ\x02Ɓq\xddO\b]\x80\x9e\xe3վ̲\xf1|X\xd4\xef\xe1K_l\x85\xf6\xdd\xf7\x01(\xd1O8\x05\x9c\xd2Mľ\xbf[\xef\x1c?\xbd\x81\xd3/\xf8r.`\xe5\xb6t&\xb9\xbe\xdbߤ\xb3\xfa\x18\xe6\x8ch\x060\bǽ\xb6\x1f\xc0\x8b\xc6:\xa1\xad\x17\xd4\x00\xb4\x0fB\xfb^\b\xf6Ap+\x04\"\x10\fA@}\xca\x7f\x16\xbd\x89v&\xad\xb7\xd2ͼ\xd2\x1bj.=\xd1\xdb\xeae\x93\xb0<\xad\xf7W\xd2\xc494b\x82f\xff\x01\xf7Qi\xbd}\xf6\x1b\xc6\x00\x00\x00\x00IEND\xaeB`\x82"), } diff --git a/periph-web/web_handlers.go b/periph-web/web_handlers.go index 70d7e01..46e5dc8 100644 --- a/periph-web/web_handlers.go +++ b/periph-web/web_handlers.go @@ -2,7 +2,7 @@ // Use of this source code is governed under the Apache License, Version 2.0 // that can be found in the LICENSE file. -//go:generate go install github.com/tdewolff/minify/cmd/minify@latest +//go:generate go install github.com/tdewolff/minify/v2/cmd/minify@latest //go:generate go run internal/static_gen.go -o static_prod.go package main