Skip to content

Update go-serial to fix Windows crash #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .licenses/serial-discovery/go/go.bug.st/serial.dep.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: go.bug.st/serial
version: v1.3.5
version: v1.5.0
type: go
summary: Package serial is a cross-platform serial library for the go language.
homepage: https://pkg.go.dev/go.bug.st/serial
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: go.bug.st/serial/enumerator
version: v1.3.5
version: v1.5.0
type: go
summary: Package enumerator is a golang cross-platform library for USB serial port
discovery.
homepage: https://pkg.go.dev/go.bug.st/serial/enumerator
license: bsd-3-clause
licenses:
- sources: serial@v1.3.5/LICENSE
- sources: serial@v1.5.0/LICENSE
text: |2+

Copyright (c) 2014-2021, Cristian Maglie.
Expand Down Expand Up @@ -42,7 +42,7 @@ licenses:
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

- sources: serial@v1.3.5/README.md
- sources: serial@v1.5.0/README.md
text: |-
The software is release under a [BSD 3-clause license]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: go.bug.st/serial/unixutils
version: v1.3.5
version: v1.5.0
type: go
summary:
homepage: https://pkg.go.dev/go.bug.st/serial/unixutils
license: bsd-3-clause
licenses:
- sources: serial@v1.3.5/LICENSE
- sources: serial@v1.5.0/LICENSE
text: |2+

Copyright (c) 2014-2021, Cristian Maglie.
Expand Down Expand Up @@ -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.3.5/README.md
- sources: serial@v1.5.0/README.md
text: |-
The software is release under a [BSD 3-clause license]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: golang.org/x/sys/internal/unsafeheader
version: v0.0.0-20210823070655-63515b42dcdf
version: v0.0.0-20220829200755-d48e67d00261
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: [email protected]20210823070655-63515b42dcdf/LICENSE
- sources: [email protected]20220829200755-d48e67d00261/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -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: [email protected]20210823070655-63515b42dcdf/PATENTS
- sources: [email protected]20220829200755-d48e67d00261/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
6 changes: 3 additions & 3 deletions .licenses/serial-discovery/go/golang.org/x/sys/unix.dep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: golang.org/x/sys/unix
version: v0.0.0-20210823070655-63515b42dcdf
version: v0.0.0-20220829200755-d48e67d00261
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: [email protected]20210823070655-63515b42dcdf/LICENSE
- sources: [email protected]20220829200755-d48e67d00261/LICENSE
text: |
Copyright (c) 2009 The Go Authors. All rights reserved.

Expand Down Expand Up @@ -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: [email protected]20210823070655-63515b42dcdf/PATENTS
- sources: [email protected]20220829200755-d48e67d00261/PATENTS
text: |
Additional IP Rights Grant (Patents)

Expand Down
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
module github.com/arduino/serial-discovery

replace go.bug.st/serial => github.com/cmaglie/go-serial v0.0.0-20221214153202-f7509ff50314

require (
github.com/arduino/go-properties-orderedmap v1.6.0
github.com/arduino/pluggable-discovery-protocol-handler/v2 v2.0.2
github.com/s-urbaniak/uevent v1.0.1
go.bug.st/serial v1.3.5
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf
go.bug.st/serial v1.5.0
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261
)

go 1.16
8 changes: 5 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cmaglie/go-serial v0.0.0-20221214153202-f7509ff50314 h1:ntFIa+TpluwJoXBrre7umEs4PE3uBgBgCwZd24boGL4=
github.com/cmaglie/go-serial v0.0.0-20221214153202-f7509ff50314/go.mod h1:z8CesKorE90Qr/oRSJiEuvzYRKol9r/anJZEb5kt304=
github.com/cmaglie/pb v1.0.27/go.mod h1:GilkKZMXYjBA4NxItWFfO+lwkp59PLHQ+IOW/b/kmZI=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
Expand Down Expand Up @@ -303,6 +301,9 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1
go.bug.st/cleanup v1.0.0/go.mod h1:EqVmTg2IBk4znLbPD28xne3abjsJftMdqqJEjhn70bk=
go.bug.st/downloader/v2 v2.1.1/go.mod h1:VZW2V1iGKV8rJL2ZEGIDzzBeKowYv34AedJz13RzVII=
go.bug.st/relaxed-semver v0.0.0-20190922224835-391e10178d18/go.mod h1:Cx1VqMtEhE9pIkEyUj3LVVVPkv89dgW8aCKrRPDR/uE=
go.bug.st/serial v1.3.2/go.mod h1:jDkjqASf/qSjmaOxHSHljwUQ6eHo/ZX/bxJLQqSlvZg=
go.bug.st/serial v1.5.0 h1:ThuUkHpOEmCVXxGEfpoExjQCS2WBVV4ZcUKVYInM9T4=
go.bug.st/serial v1.5.0/go.mod h1:UABfsluHAiaNI+La2iESysd9Vetq7VRdpxvjx7CmmOE=
go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45/go.mod h1:dRSl/CVCTf56CkXgJMDOdSwNfo2g1orOGE/gBGdvjZw=
go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
Expand Down Expand Up @@ -470,8 +471,9 @@ golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf h1:2ucpDCmfkl8Bd/FsLtiD653Wf96cW37s+iGx93zsu4k=
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 h1:v6hYoSR9T5oet+pMXwUWkbiVqx/63mlHjefrHmxwfeY=
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down