summaryrefslogtreecommitdiff
path: root/vendor/github.com/toqueteos
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/toqueteos')
-rw-r--r--vendor/github.com/toqueteos/webbrowser/.travis.yml9
-rw-r--r--vendor/github.com/toqueteos/webbrowser/CONTRIBUTING.md1
-rw-r--r--vendor/github.com/toqueteos/webbrowser/LICENSE.md2
-rw-r--r--vendor/github.com/toqueteos/webbrowser/README.md6
-rw-r--r--vendor/github.com/toqueteos/webbrowser/webbrowser.go8
5 files changed, 11 insertions, 15 deletions
diff --git a/vendor/github.com/toqueteos/webbrowser/.travis.yml b/vendor/github.com/toqueteos/webbrowser/.travis.yml
deleted file mode 100644
index b55b114ab..000000000
--- a/vendor/github.com/toqueteos/webbrowser/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-language: go
-
-go:
- - 1.2
- - 1.12
- - tip
-
-script:
- - go build ./...
diff --git a/vendor/github.com/toqueteos/webbrowser/CONTRIBUTING.md b/vendor/github.com/toqueteos/webbrowser/CONTRIBUTING.md
index b9f7bf82a..b701a3a62 100644
--- a/vendor/github.com/toqueteos/webbrowser/CONTRIBUTING.md
+++ b/vendor/github.com/toqueteos/webbrowser/CONTRIBUTING.md
@@ -7,5 +7,4 @@ Any changes are welcomed!
## Looking for contact info?
-- Twitter: [@toqueteos](https://twitter.com/toqueteos)
- Mail: `toqueteos AT gmail DOT com`
diff --git a/vendor/github.com/toqueteos/webbrowser/LICENSE.md b/vendor/github.com/toqueteos/webbrowser/LICENSE.md
index 0d67949ef..e679e09fd 100644
--- a/vendor/github.com/toqueteos/webbrowser/LICENSE.md
+++ b/vendor/github.com/toqueteos/webbrowser/LICENSE.md
@@ -1,5 +1,5 @@
The MIT License (MIT)
-Copyright (c) 2013-19 by Carlos Cobo and contributors.
+Copyright (c) 2012-23 by Carlos Cobo and contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
diff --git a/vendor/github.com/toqueteos/webbrowser/README.md b/vendor/github.com/toqueteos/webbrowser/README.md
index 2ce091afb..ed9f4b207 100644
--- a/vendor/github.com/toqueteos/webbrowser/README.md
+++ b/vendor/github.com/toqueteos/webbrowser/README.md
@@ -1,4 +1,4 @@
-# webbrowser [![Build Status](https://travis-ci.org/toqueteos/webbrowser.png?branch=master)](https://travis-ci.org/toqueteos/webbrowser) [![GoDoc](http://godoc.org/github.com/toqueteos/webbrowser?status.png)](http://godoc.org/github.com/toqueteos/webbrowser) [![Sourcegraph](https://sourcegraph.com/github.com/toqueteos/webbrowser/-/badge.svg)](https://sourcegraph.com/github.com/toqueteos/webbrowser?badge)
+# webbrowser [![Build Status](https://github.com/toqueteos/webbrowser/actions/workflows/ci.yml/badge.svg)](https://github.com/toqueteos/webbrowser/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/toqueteos/webbrowser.svg)](https://pkg.go.dev/github.com/toqueteos/webbrowser)
webbrowser provides a simple API for opening web pages on your default browser.
@@ -14,6 +14,10 @@ As simple as:
go get -u github.com/toqueteos/webbrowser
```
+It is Go modules compatible!
+
+_(`go.mod` was explicitly added in version `v1.2.0`)_
+
## Usage
```go
diff --git a/vendor/github.com/toqueteos/webbrowser/webbrowser.go b/vendor/github.com/toqueteos/webbrowser/webbrowser.go
index f4f19b6b3..5a0a4aa7a 100644
--- a/vendor/github.com/toqueteos/webbrowser/webbrowser.go
+++ b/vendor/github.com/toqueteos/webbrowser/webbrowser.go
@@ -30,9 +30,11 @@ type Browser interface {
}
// Open tries to open a URL in your default browser ensuring you have a display
-// set up and not running this from SSH. NOTE: This may cause your program to
-// hang until the browser process is closed in some OSes, see
-// https://github.com/toqueteos/webbrowser/issues/4.
+// set up and not running this from SSH.
+// NOTE: This may cause your program to hang until the browser process is closed in
+// some OSes, see https://github.com/toqueteos/webbrowser/issues/4.
+// SECURITY(windows): Do not use a file:// URLs pointing to an executable, this
+// can execute programs, see https://github.com/toqueteos/webbrowser/issues/10
func Open(s string) (err error) {
if len(Candidates) == 0 {
return ErrNoCandidates