From e10d02a50da49e28a32d89f3f7f8a03a326e103a Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Fri, 16 Feb 2024 16:45:22 +0100 Subject: [PATCH] Update serial library --- .../go/go.bug.st/serial.dep.yml | 4 +- .../go/go.bug.st/serial/unixutils.dep.yml | 8 +-- .../go/golang.org/x/exp/constraints.dep.yml | 6 +- .../go/golang.org/x/exp/slices.dep.yml | 6 +- .../x/sys/internal/unsafeheader.dep.yml | 63 ------------------- .../go/golang.org/x/sys/unix.dep.yml | 6 +- go.mod | 6 +- go.sum | 12 ++-- 8 files changed, 24 insertions(+), 87 deletions(-) delete mode 100644 .licenses/serial-monitor/go/golang.org/x/sys/internal/unsafeheader.dep.yml diff --git a/.licenses/serial-monitor/go/go.bug.st/serial.dep.yml b/.licenses/serial-monitor/go/go.bug.st/serial.dep.yml index a3ba42c..69008aa 100644 --- a/.licenses/serial-monitor/go/go.bug.st/serial.dep.yml +++ b/.licenses/serial-monitor/go/go.bug.st/serial.dep.yml @@ -1,6 +1,6 @@ --- name: go.bug.st/serial -version: v1.4.1 +version: v1.6.2 type: go summary: Package serial is a cross-platform serial library for the go language. homepage: https://pkg.go.dev/go.bug.st/serial @@ -9,7 +9,7 @@ licenses: - sources: LICENSE text: |2+ - Copyright (c) 2014-2021, Cristian Maglie. + Copyright (c) 2014-2023, Cristian Maglie. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/.licenses/serial-monitor/go/go.bug.st/serial/unixutils.dep.yml b/.licenses/serial-monitor/go/go.bug.st/serial/unixutils.dep.yml index ad23c8b..56868ec 100644 --- a/.licenses/serial-monitor/go/go.bug.st/serial/unixutils.dep.yml +++ b/.licenses/serial-monitor/go/go.bug.st/serial/unixutils.dep.yml @@ -1,15 +1,15 @@ --- name: go.bug.st/serial/unixutils -version: v1.4.1 +version: v1.6.2 type: go summary: homepage: https://pkg.go.dev/go.bug.st/serial/unixutils license: bsd-3-clause licenses: -- sources: serial@v1.4.1/LICENSE +- sources: serial@v1.6.2/LICENSE text: |2+ - Copyright (c) 2014-2021, Cristian Maglie. + Copyright (c) 2014-2023, Cristian Maglie. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -41,7 +41,7 @@ licenses: ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: serial@v1.4.1/README.md +- sources: serial@v1.6.2/README.md text: |- The software is release under a [BSD 3-clause license] diff --git a/.licenses/serial-monitor/go/golang.org/x/exp/constraints.dep.yml b/.licenses/serial-monitor/go/golang.org/x/exp/constraints.dep.yml index 4d3211c..39444a8 100644 --- a/.licenses/serial-monitor/go/golang.org/x/exp/constraints.dep.yml +++ b/.licenses/serial-monitor/go/golang.org/x/exp/constraints.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/exp/constraints -version: v0.0.0-20220722155223-a9213eeb770e +version: v0.0.0-20240213143201-ec583247a57a type: go summary: Package constraints defines a set of useful constraints to be used with type parameters. homepage: https://pkg.go.dev/golang.org/x/exp/constraints license: bsd-3-clause licenses: -- sources: exp@v0.0.0-20220722155223-a9213eeb770e/LICENSE +- sources: exp@v0.0.0-20240213143201-ec583247a57a/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: exp@v0.0.0-20220722155223-a9213eeb770e/PATENTS +- sources: exp@v0.0.0-20240213143201-ec583247a57a/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/serial-monitor/go/golang.org/x/exp/slices.dep.yml b/.licenses/serial-monitor/go/golang.org/x/exp/slices.dep.yml index d064d8d..02c65f8 100644 --- a/.licenses/serial-monitor/go/golang.org/x/exp/slices.dep.yml +++ b/.licenses/serial-monitor/go/golang.org/x/exp/slices.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/exp/slices -version: v0.0.0-20220722155223-a9213eeb770e +version: v0.0.0-20240213143201-ec583247a57a type: go summary: Package slices defines various functions useful with slices of any type. homepage: https://pkg.go.dev/golang.org/x/exp/slices license: bsd-3-clause licenses: -- sources: exp@v0.0.0-20220722155223-a9213eeb770e/LICENSE +- sources: exp@v0.0.0-20240213143201-ec583247a57a/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: exp@v0.0.0-20220722155223-a9213eeb770e/PATENTS +- sources: exp@v0.0.0-20240213143201-ec583247a57a/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/serial-monitor/go/golang.org/x/sys/internal/unsafeheader.dep.yml b/.licenses/serial-monitor/go/golang.org/x/sys/internal/unsafeheader.dep.yml deleted file mode 100644 index 043976e..0000000 --- a/.licenses/serial-monitor/go/golang.org/x/sys/internal/unsafeheader.dep.yml +++ /dev/null @@ -1,63 +0,0 @@ ---- -name: golang.org/x/sys/internal/unsafeheader -version: v0.0.0-20220520151302-bc2c85ada10a -type: go -summary: Package unsafeheader contains header declarations for the Go runtime's slice - and string implementations. -homepage: https://pkg.go.dev/golang.org/x/sys/internal/unsafeheader -license: bsd-3-clause -licenses: -- sources: sys@v0.0.0-20220520151302-bc2c85ada10a/LICENSE - text: | - Copyright (c) 2009 The Go Authors. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: sys@v0.0.0-20220520151302-bc2c85ada10a/PATENTS - text: | - Additional IP Rights Grant (Patents) - - "This implementation" means the copyrightable works distributed by - Google as part of the Go project. - - Google hereby grants to You a perpetual, worldwide, non-exclusive, - no-charge, royalty-free, irrevocable (except as stated in this section) - patent license to make, have made, use, offer to sell, sell, import, - transfer and otherwise run, modify and propagate the contents of this - implementation of Go, where such license applies only to those patent - claims, both currently owned or controlled by Google and acquired in - the future, licensable by Google that are necessarily infringed by this - implementation of Go. This grant does not include claims that would be - infringed only as a consequence of further modification of this - implementation. If you or your agent or exclusive licensee institute or - order or agree to the institution of patent litigation against any - entity (including a cross-claim or counterclaim in a lawsuit) alleging - that this implementation of Go or any code incorporated within this - implementation of Go constitutes direct or contributory patent - infringement, or inducement of patent infringement, then any patent - rights granted to you under this License for this implementation of Go - shall terminate as of the date such litigation is filed. -notices: [] diff --git a/.licenses/serial-monitor/go/golang.org/x/sys/unix.dep.yml b/.licenses/serial-monitor/go/golang.org/x/sys/unix.dep.yml index 0b125d7..b65a9a8 100644 --- a/.licenses/serial-monitor/go/golang.org/x/sys/unix.dep.yml +++ b/.licenses/serial-monitor/go/golang.org/x/sys/unix.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/sys/unix -version: v0.0.0-20220520151302-bc2c85ada10a +version: v0.17.0 type: go summary: Package unix contains an interface to the low-level operating system primitives. homepage: https://pkg.go.dev/golang.org/x/sys/unix license: bsd-3-clause licenses: -- sources: sys@v0.0.0-20220520151302-bc2c85ada10a/LICENSE +- sources: sys@v0.17.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: sys@v0.0.0-20220520151302-bc2c85ada10a/PATENTS +- sources: sys@v0.17.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/go.mod b/go.mod index e876f9f..a55271e 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.18 require ( github.com/arduino/pluggable-monitor-protocol-handler v0.9.2 - go.bug.st/serial v1.4.1 - golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e + go.bug.st/serial v1.6.2 + golang.org/x/exp v0.0.0-20240213143201-ec583247a57a ) require ( @@ -13,5 +13,5 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect + golang.org/x/sys v0.17.0 // indirect ) diff --git a/go.sum b/go.sum index 639e9fc..19d643f 100644 --- a/go.sum +++ b/go.sum @@ -11,10 +11,10 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -go.bug.st/serial v1.4.1 h1:AwYUNixVf90XymNeJaUkMrPp+GZQe3RMFQmpVdHIUK8= -go.bug.st/serial v1.4.1/go.mod h1:z8CesKorE90Qr/oRSJiEuvzYRKol9r/anJZEb5kt304= -golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA= -golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +go.bug.st/serial v1.6.2 h1:kn9LRX3sdm+WxWKufMlIRndwGfPWsH1/9lCWXQCasq8= +go.bug.st/serial v1.6.2/go.mod h1:UABfsluHAiaNI+La2iESysd9Vetq7VRdpxvjx7CmmOE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=