mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
updating github.com/mvdan/xurls to v1.1.0
This commit is contained in:
parent
746da40374
commit
49cae73b94
4
Godeps/LICENSES
generated
4
Godeps/LICENSES
generated
@ -13835,7 +13835,7 @@ notice, this list of conditions and the following disclaimer.
|
|||||||
copyright notice, this list of conditions and the following disclaimer
|
copyright notice, this list of conditions and the following disclaimer
|
||||||
in the documentation and/or other materials provided with the
|
in the documentation and/or other materials provided with the
|
||||||
distribution.
|
distribution.
|
||||||
* Neither the name of Google Inc. nor the names of its
|
* Neither the name of the copyright holder nor the names of its
|
||||||
contributors may be used to endorse or promote products derived from
|
contributors may be used to endorse or promote products derived from
|
||||||
this software without specific prior written permission.
|
this software without specific prior written permission.
|
||||||
|
|
||||||
@ -13851,7 +13851,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
= vendor/github.com/mvdan/xurls/LICENSE d459301ff3fc917904837249508d99af
|
= vendor/github.com/mvdan/xurls/LICENSE 6414ed5a81af5770b80e7d632fef7125
|
||||||
================================================================================
|
================================================================================
|
||||||
|
|
||||||
|
|
||||||
|
4
go.mod
4
go.mod
@ -108,7 +108,7 @@ require (
|
|||||||
github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c // indirect
|
github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c // indirect
|
||||||
github.com/mrunalp/fileutils v0.0.0-20160930181131-4ee1cc9a8058 // indirect
|
github.com/mrunalp/fileutils v0.0.0-20160930181131-4ee1cc9a8058 // indirect
|
||||||
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
|
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
|
||||||
github.com/mvdan/xurls v0.0.0-20160110113200-1b768d7c393a
|
github.com/mvdan/xurls v1.1.0
|
||||||
github.com/onsi/ginkgo v1.8.0
|
github.com/onsi/ginkgo v1.8.0
|
||||||
github.com/onsi/gomega v1.5.0
|
github.com/onsi/gomega v1.5.0
|
||||||
github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420
|
github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420
|
||||||
@ -354,7 +354,7 @@ replace (
|
|||||||
github.com/morikuni/aec => github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c
|
github.com/morikuni/aec => github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c
|
||||||
github.com/mrunalp/fileutils => github.com/mrunalp/fileutils v0.0.0-20160930181131-4ee1cc9a8058
|
github.com/mrunalp/fileutils => github.com/mrunalp/fileutils v0.0.0-20160930181131-4ee1cc9a8058
|
||||||
github.com/munnerz/goautoneg => github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
|
github.com/munnerz/goautoneg => github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
|
||||||
github.com/mvdan/xurls => github.com/mvdan/xurls v0.0.0-20160110113200-1b768d7c393a
|
github.com/mvdan/xurls => github.com/mvdan/xurls v1.1.0
|
||||||
github.com/mxk/go-flowrate => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
|
github.com/mxk/go-flowrate => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
|
||||||
github.com/naoina/go-stringutil => github.com/naoina/go-stringutil v0.1.0
|
github.com/naoina/go-stringutil => github.com/naoina/go-stringutil v0.1.0
|
||||||
github.com/naoina/toml => github.com/naoina/toml v0.1.1
|
github.com/naoina/toml => github.com/naoina/toml v0.1.1
|
||||||
|
4
go.sum
4
go.sum
@ -301,8 +301,8 @@ github.com/mrunalp/fileutils v0.0.0-20160930181131-4ee1cc9a8058 h1:A4y2IxU1GcIzl
|
|||||||
github.com/mrunalp/fileutils v0.0.0-20160930181131-4ee1cc9a8058/go.mod h1:x8F1gnqOkIEiO4rqoeEEEqQbo7HjGMTvyoq3gej4iT0=
|
github.com/mrunalp/fileutils v0.0.0-20160930181131-4ee1cc9a8058/go.mod h1:x8F1gnqOkIEiO4rqoeEEEqQbo7HjGMTvyoq3gej4iT0=
|
||||||
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d h1:7PxY7LVfSZm7PEeBTyK1rj1gABdCO2mbri6GKO1cMDs=
|
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d h1:7PxY7LVfSZm7PEeBTyK1rj1gABdCO2mbri6GKO1cMDs=
|
||||||
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
|
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
|
||||||
github.com/mvdan/xurls v0.0.0-20160110113200-1b768d7c393a h1:iflecigBOhLybk910zXoXI/9D7QjBajJVxywZSU6glI=
|
github.com/mvdan/xurls v1.1.0 h1:OpuDelGQ1R1ueQ6sSryzi6P+1RtBpfQHM8fJwlE45ww=
|
||||||
github.com/mvdan/xurls v0.0.0-20160110113200-1b768d7c393a/go.mod h1:tQlNn3BED8bE/15hnSL2HLkDeLWpNPAwtw7wkEq44oU=
|
github.com/mvdan/xurls v1.1.0/go.mod h1:tQlNn3BED8bE/15hnSL2HLkDeLWpNPAwtw7wkEq44oU=
|
||||||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=
|
||||||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
|
||||||
github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0=
|
github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0=
|
||||||
|
3
vendor/github.com/mvdan/xurls/.travis.yml
generated
vendored
3
vendor/github.com/mvdan/xurls/.travis.yml
generated
vendored
@ -1,5 +1,4 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.4.3
|
- 1.7.x
|
||||||
- 1.5.1
|
|
||||||
|
2
vendor/github.com/mvdan/xurls/LICENSE
generated
vendored
2
vendor/github.com/mvdan/xurls/LICENSE
generated
vendored
@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
|
|||||||
copyright notice, this list of conditions and the following disclaimer
|
copyright notice, this list of conditions and the following disclaimer
|
||||||
in the documentation and/or other materials provided with the
|
in the documentation and/or other materials provided with the
|
||||||
distribution.
|
distribution.
|
||||||
* Neither the name of Google Inc. nor the names of its
|
* Neither the name of the copyright holder nor the names of its
|
||||||
contributors may be used to endorse or promote products derived from
|
contributors may be used to endorse or promote products derived from
|
||||||
this software without specific prior written permission.
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
23
vendor/github.com/mvdan/xurls/README.md
generated
vendored
23
vendor/github.com/mvdan/xurls/README.md
generated
vendored
@ -1,10 +1,11 @@
|
|||||||
# xurls
|
# xurls
|
||||||
|
|
||||||
[](https://godoc.org/github.com/mvdan/xurls) [](https://travis-ci.org/mvdan/xurls)
|
[](https://godoc.org/github.com/mvdan/xurls)
|
||||||
|
[](https://travis-ci.org/mvdan/xurls)
|
||||||
|
|
||||||
Extract urls from text using regular expressions.
|
Extract urls from text using regular expressions.
|
||||||
|
|
||||||
go get github.com/mvdan/xurls
|
go get -u github.com/mvdan/xurls
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/mvdan/xurls"
|
import "github.com/mvdan/xurls"
|
||||||
@ -12,18 +13,26 @@ import "github.com/mvdan/xurls"
|
|||||||
func main() {
|
func main() {
|
||||||
xurls.Relaxed.FindString("Do gophers live in golang.org?")
|
xurls.Relaxed.FindString("Do gophers live in golang.org?")
|
||||||
// "golang.org"
|
// "golang.org"
|
||||||
xurls.Relaxed.FindAllString("foo.com is http://foo.com/.", -1)
|
|
||||||
// []string{"foo.com", "http://foo.com/"}
|
|
||||||
xurls.Strict.FindAllString("foo.com is http://foo.com/.", -1)
|
xurls.Strict.FindAllString("foo.com is http://foo.com/.", -1)
|
||||||
// []string{"http://foo.com/"}
|
// []string{"http://foo.com/"}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`Relaxed` is around five times slower than `Strict` since it does more
|
||||||
|
work to find the URLs without relying on the scheme:
|
||||||
|
|
||||||
|
```
|
||||||
|
BenchmarkStrictEmpty-4 1000000 1885 ns/op
|
||||||
|
BenchmarkStrictSingle-4 200000 8356 ns/op
|
||||||
|
BenchmarkStrictMany-4 100000 22547 ns/op
|
||||||
|
BenchmarkRelaxedEmpty-4 200000 7284 ns/op
|
||||||
|
BenchmarkRelaxedSingle-4 30000 58557 ns/op
|
||||||
|
BenchmarkRelaxedMany-4 10000 130251 ns/op
|
||||||
|
```
|
||||||
|
|
||||||
#### cmd/xurls
|
#### cmd/xurls
|
||||||
|
|
||||||
Reads text and prints one url per line.
|
go get -u github.com/mvdan/xurls/cmd/xurls
|
||||||
|
|
||||||
go get github.com/mvdan/xurls/cmd/xurls
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ echo "Do gophers live in http://golang.org?" | xurls
|
$ echo "Do gophers live in http://golang.org?" | xurls
|
||||||
|
2
vendor/github.com/mvdan/xurls/regex.go
generated
vendored
2
vendor/github.com/mvdan/xurls/regex.go
generated
vendored
File diff suppressed because one or more lines are too long
3
vendor/github.com/mvdan/xurls/schemes.go
generated
vendored
3
vendor/github.com/mvdan/xurls/schemes.go
generated
vendored
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc>
|
||||||
|
// See LICENSE for licensing information
|
||||||
|
|
||||||
package xurls
|
package xurls
|
||||||
|
|
||||||
// SchemesNoAuthority is a sorted list of some well-known url schemes that are
|
// SchemesNoAuthority is a sorted list of some well-known url schemes that are
|
||||||
|
38
vendor/github.com/mvdan/xurls/tlds.go
generated
vendored
38
vendor/github.com/mvdan/xurls/tlds.go
generated
vendored
@ -38,7 +38,6 @@ var TLDs = []string{
|
|||||||
`afamilycompany`,
|
`afamilycompany`,
|
||||||
`afl`,
|
`afl`,
|
||||||
`africa`,
|
`africa`,
|
||||||
`africamagic`,
|
|
||||||
`ag`,
|
`ag`,
|
||||||
`agakhan`,
|
`agakhan`,
|
||||||
`agency`,
|
`agency`,
|
||||||
@ -82,6 +81,7 @@ var TLDs = []string{
|
|||||||
`archi`,
|
`archi`,
|
||||||
`army`,
|
`army`,
|
||||||
`arpa`,
|
`arpa`,
|
||||||
|
`art`,
|
||||||
`arte`,
|
`arte`,
|
||||||
`as`,
|
`as`,
|
||||||
`asda`,
|
`asda`,
|
||||||
@ -208,6 +208,7 @@ var TLDs = []string{
|
|||||||
`cal`,
|
`cal`,
|
||||||
`call`,
|
`call`,
|
||||||
`calvinklein`,
|
`calvinklein`,
|
||||||
|
`cam`,
|
||||||
`camera`,
|
`camera`,
|
||||||
`camp`,
|
`camp`,
|
||||||
`cancerresearch`,
|
`cancerresearch`,
|
||||||
@ -329,6 +330,7 @@ var TLDs = []string{
|
|||||||
`dabur`,
|
`dabur`,
|
||||||
`dad`,
|
`dad`,
|
||||||
`dance`,
|
`dance`,
|
||||||
|
`data`,
|
||||||
`date`,
|
`date`,
|
||||||
`dating`,
|
`dating`,
|
||||||
`datsun`,
|
`datsun`,
|
||||||
@ -366,15 +368,14 @@ var TLDs = []string{
|
|||||||
`dnp`,
|
`dnp`,
|
||||||
`do`,
|
`do`,
|
||||||
`docs`,
|
`docs`,
|
||||||
|
`doctor`,
|
||||||
`dodge`,
|
`dodge`,
|
||||||
`dog`,
|
`dog`,
|
||||||
`doha`,
|
`doha`,
|
||||||
`domains`,
|
`domains`,
|
||||||
`doosan`,
|
|
||||||
`dot`,
|
`dot`,
|
||||||
`download`,
|
`download`,
|
||||||
`drive`,
|
`drive`,
|
||||||
`dstv`,
|
|
||||||
`dtv`,
|
`dtv`,
|
||||||
`dubai`,
|
`dubai`,
|
||||||
`duck`,
|
`duck`,
|
||||||
@ -383,11 +384,13 @@ var TLDs = []string{
|
|||||||
`dupont`,
|
`dupont`,
|
||||||
`durban`,
|
`durban`,
|
||||||
`dvag`,
|
`dvag`,
|
||||||
|
`dvr`,
|
||||||
`dwg`,
|
`dwg`,
|
||||||
`dz`,
|
`dz`,
|
||||||
`earth`,
|
`earth`,
|
||||||
`eat`,
|
`eat`,
|
||||||
`ec`,
|
`ec`,
|
||||||
|
`eco`,
|
||||||
`edeka`,
|
`edeka`,
|
||||||
`edu`,
|
`edu`,
|
||||||
`education`,
|
`education`,
|
||||||
@ -395,7 +398,6 @@ var TLDs = []string{
|
|||||||
`eg`,
|
`eg`,
|
||||||
`email`,
|
`email`,
|
||||||
`emerck`,
|
`emerck`,
|
||||||
`emerson`,
|
|
||||||
`energy`,
|
`energy`,
|
||||||
`engineer`,
|
`engineer`,
|
||||||
`engineering`,
|
`engineering`,
|
||||||
@ -459,11 +461,11 @@ var TLDs = []string{
|
|||||||
`flir`,
|
`flir`,
|
||||||
`florist`,
|
`florist`,
|
||||||
`flowers`,
|
`flowers`,
|
||||||
`flsmidth`,
|
|
||||||
`fly`,
|
`fly`,
|
||||||
`fm`,
|
`fm`,
|
||||||
`fo`,
|
`fo`,
|
||||||
`foo`,
|
`foo`,
|
||||||
|
`food`,
|
||||||
`foodnetwork`,
|
`foodnetwork`,
|
||||||
`football`,
|
`football`,
|
||||||
`ford`,
|
`ford`,
|
||||||
@ -482,6 +484,7 @@ var TLDs = []string{
|
|||||||
`ftr`,
|
`ftr`,
|
||||||
`fujitsu`,
|
`fujitsu`,
|
||||||
`fujixerox`,
|
`fujixerox`,
|
||||||
|
`fun`,
|
||||||
`fund`,
|
`fund`,
|
||||||
`furniture`,
|
`furniture`,
|
||||||
`futbol`,
|
`futbol`,
|
||||||
@ -521,6 +524,7 @@ var TLDs = []string{
|
|||||||
`globo`,
|
`globo`,
|
||||||
`gm`,
|
`gm`,
|
||||||
`gmail`,
|
`gmail`,
|
||||||
|
`gmbh`,
|
||||||
`gmo`,
|
`gmo`,
|
||||||
`gmx`,
|
`gmx`,
|
||||||
`gn`,
|
`gn`,
|
||||||
@ -535,7 +539,6 @@ var TLDs = []string{
|
|||||||
`google`,
|
`google`,
|
||||||
`gop`,
|
`gop`,
|
||||||
`got`,
|
`got`,
|
||||||
`gotv`,
|
|
||||||
`gov`,
|
`gov`,
|
||||||
`gp`,
|
`gp`,
|
||||||
`gq`,
|
`gq`,
|
||||||
@ -545,6 +548,7 @@ var TLDs = []string{
|
|||||||
`gratis`,
|
`gratis`,
|
||||||
`green`,
|
`green`,
|
||||||
`gripe`,
|
`gripe`,
|
||||||
|
`grocery`,
|
||||||
`group`,
|
`group`,
|
||||||
`gs`,
|
`gs`,
|
||||||
`gt`,
|
`gt`,
|
||||||
@ -589,10 +593,12 @@ var TLDs = []string{
|
|||||||
`honda`,
|
`honda`,
|
||||||
`honeywell`,
|
`honeywell`,
|
||||||
`horse`,
|
`horse`,
|
||||||
|
`hospital`,
|
||||||
`host`,
|
`host`,
|
||||||
`hosting`,
|
`hosting`,
|
||||||
`hot`,
|
`hot`,
|
||||||
`hoteles`,
|
`hoteles`,
|
||||||
|
`hotels`,
|
||||||
`hotmail`,
|
`hotmail`,
|
||||||
`house`,
|
`house`,
|
||||||
`how`,
|
`how`,
|
||||||
@ -703,7 +709,6 @@ var TLDs = []string{
|
|||||||
`kuokgroup`,
|
`kuokgroup`,
|
||||||
`kw`,
|
`kw`,
|
||||||
`ky`,
|
`ky`,
|
||||||
`kyknet`,
|
|
||||||
`kyoto`,
|
`kyoto`,
|
||||||
`kz`,
|
`kz`,
|
||||||
`la`,
|
`la`,
|
||||||
@ -785,6 +790,7 @@ var TLDs = []string{
|
|||||||
`man`,
|
`man`,
|
||||||
`management`,
|
`management`,
|
||||||
`mango`,
|
`mango`,
|
||||||
|
`map`,
|
||||||
`market`,
|
`market`,
|
||||||
`marketing`,
|
`marketing`,
|
||||||
`markets`,
|
`markets`,
|
||||||
@ -808,6 +814,7 @@ var TLDs = []string{
|
|||||||
`men`,
|
`men`,
|
||||||
`menu`,
|
`menu`,
|
||||||
`meo`,
|
`meo`,
|
||||||
|
`merckmsd`,
|
||||||
`metlife`,
|
`metlife`,
|
||||||
`mg`,
|
`mg`,
|
||||||
`mh`,
|
`mh`,
|
||||||
@ -825,9 +832,9 @@ var TLDs = []string{
|
|||||||
`mm`,
|
`mm`,
|
||||||
`mma`,
|
`mma`,
|
||||||
`mn`,
|
`mn`,
|
||||||
`mnet`,
|
|
||||||
`mo`,
|
`mo`,
|
||||||
`mobi`,
|
`mobi`,
|
||||||
|
`mobile`,
|
||||||
`mobily`,
|
`mobily`,
|
||||||
`moda`,
|
`moda`,
|
||||||
`moe`,
|
`moe`,
|
||||||
@ -856,7 +863,6 @@ var TLDs = []string{
|
|||||||
`mtpc`,
|
`mtpc`,
|
||||||
`mtr`,
|
`mtr`,
|
||||||
`mu`,
|
`mu`,
|
||||||
`multichoice`,
|
|
||||||
`museum`,
|
`museum`,
|
||||||
`mutual`,
|
`mutual`,
|
||||||
`mutuelle`,
|
`mutuelle`,
|
||||||
@ -865,13 +871,11 @@ var TLDs = []string{
|
|||||||
`mx`,
|
`mx`,
|
||||||
`my`,
|
`my`,
|
||||||
`mz`,
|
`mz`,
|
||||||
`mzansimagic`,
|
|
||||||
`na`,
|
`na`,
|
||||||
`nab`,
|
`nab`,
|
||||||
`nadex`,
|
`nadex`,
|
||||||
`nagoya`,
|
`nagoya`,
|
||||||
`name`,
|
`name`,
|
||||||
`naspers`,
|
|
||||||
`nationwide`,
|
`nationwide`,
|
||||||
`natura`,
|
`natura`,
|
||||||
`navy`,
|
`navy`,
|
||||||
@ -931,6 +935,7 @@ var TLDs = []string{
|
|||||||
`omega`,
|
`omega`,
|
||||||
`one`,
|
`one`,
|
||||||
`ong`,
|
`ong`,
|
||||||
|
`onion`,
|
||||||
`onl`,
|
`onl`,
|
||||||
`online`,
|
`online`,
|
||||||
`onyourside`,
|
`onyourside`,
|
||||||
@ -958,7 +963,6 @@ var TLDs = []string{
|
|||||||
`party`,
|
`party`,
|
||||||
`passagens`,
|
`passagens`,
|
||||||
`pay`,
|
`pay`,
|
||||||
`payu`,
|
|
||||||
`pccw`,
|
`pccw`,
|
||||||
`pe`,
|
`pe`,
|
||||||
`pet`,
|
`pet`,
|
||||||
@ -967,7 +971,9 @@ var TLDs = []string{
|
|||||||
`pg`,
|
`pg`,
|
||||||
`ph`,
|
`ph`,
|
||||||
`pharmacy`,
|
`pharmacy`,
|
||||||
|
`phd`,
|
||||||
`philips`,
|
`philips`,
|
||||||
|
`phone`,
|
||||||
`photo`,
|
`photo`,
|
||||||
`photography`,
|
`photography`,
|
||||||
`photos`,
|
`photos`,
|
||||||
@ -1025,6 +1031,7 @@ var TLDs = []string{
|
|||||||
`quest`,
|
`quest`,
|
||||||
`qvc`,
|
`qvc`,
|
||||||
`racing`,
|
`racing`,
|
||||||
|
`radio`,
|
||||||
`raid`,
|
`raid`,
|
||||||
`re`,
|
`re`,
|
||||||
`read`,
|
`read`,
|
||||||
@ -1109,6 +1116,7 @@ var TLDs = []string{
|
|||||||
`scot`,
|
`scot`,
|
||||||
`sd`,
|
`sd`,
|
||||||
`se`,
|
`se`,
|
||||||
|
`search`,
|
||||||
`seat`,
|
`seat`,
|
||||||
`secure`,
|
`secure`,
|
||||||
`security`,
|
`security`,
|
||||||
@ -1131,6 +1139,8 @@ var TLDs = []string{
|
|||||||
`shia`,
|
`shia`,
|
||||||
`shiksha`,
|
`shiksha`,
|
||||||
`shoes`,
|
`shoes`,
|
||||||
|
`shop`,
|
||||||
|
`shopping`,
|
||||||
`shouji`,
|
`shouji`,
|
||||||
`show`,
|
`show`,
|
||||||
`showtime`,
|
`showtime`,
|
||||||
@ -1184,12 +1194,12 @@ var TLDs = []string{
|
|||||||
`stockholm`,
|
`stockholm`,
|
||||||
`storage`,
|
`storage`,
|
||||||
`store`,
|
`store`,
|
||||||
|
`stream`,
|
||||||
`studio`,
|
`studio`,
|
||||||
`study`,
|
`study`,
|
||||||
`style`,
|
`style`,
|
||||||
`su`,
|
`su`,
|
||||||
`sucks`,
|
`sucks`,
|
||||||
`supersport`,
|
|
||||||
`supplies`,
|
`supplies`,
|
||||||
`supply`,
|
`supply`,
|
||||||
`support`,
|
`support`,
|
||||||
@ -1264,7 +1274,6 @@ var TLDs = []string{
|
|||||||
`town`,
|
`town`,
|
||||||
`toyota`,
|
`toyota`,
|
||||||
`toys`,
|
`toys`,
|
||||||
`tp`,
|
|
||||||
`tr`,
|
`tr`,
|
||||||
`trade`,
|
`trade`,
|
||||||
`trading`,
|
`trading`,
|
||||||
@ -1407,6 +1416,7 @@ var TLDs = []string{
|
|||||||
`ελ`,
|
`ελ`,
|
||||||
`бел`,
|
`бел`,
|
||||||
`дети`,
|
`дети`,
|
||||||
|
`ею`,
|
||||||
`католик`,
|
`католик`,
|
||||||
`ком`,
|
`ком`,
|
||||||
`мкд`,
|
`мкд`,
|
||||||
|
4
vendor/github.com/mvdan/xurls/tlds_pseudo.go
generated
vendored
4
vendor/github.com/mvdan/xurls/tlds_pseudo.go
generated
vendored
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright (c) 2015, Daniel Martí <mvdan@mvdan.cc>
|
||||||
|
// See LICENSE for licensing information
|
||||||
|
|
||||||
package xurls
|
package xurls
|
||||||
|
|
||||||
// PseudoTLDs is a sorted list of some widely used unofficial TLDs.
|
// PseudoTLDs is a sorted list of some widely used unofficial TLDs.
|
||||||
@ -16,7 +19,6 @@ var PseudoTLDs = []string{
|
|||||||
`invalid`, // Invalid domain
|
`invalid`, // Invalid domain
|
||||||
`local`, // Local network
|
`local`, // Local network
|
||||||
`localhost`, // Local network
|
`localhost`, // Local network
|
||||||
`onion`, // Tor hidden services
|
|
||||||
`test`, // Test domain
|
`test`, // Test domain
|
||||||
`zkey`, // GNS domain name
|
`zkey`, // GNS domain name
|
||||||
}
|
}
|
||||||
|
7
vendor/github.com/mvdan/xurls/xurls.go
generated
vendored
7
vendor/github.com/mvdan/xurls/xurls.go
generated
vendored
@ -11,12 +11,13 @@ import "regexp"
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
letter = `\p{L}`
|
letter = `\p{L}`
|
||||||
|
mark = `\p{M}`
|
||||||
number = `\p{N}`
|
number = `\p{N}`
|
||||||
iriChar = letter + number
|
iriChar = letter + mark + number
|
||||||
currency = `\p{Sc}`
|
currency = `\p{Sc}`
|
||||||
otherSymb = `\p{So}`
|
otherSymb = `\p{So}`
|
||||||
endChar = iriChar + `/\-+_&~*%=#` + currency
|
endChar = iriChar + `/\-+_&~*%=#` + currency + otherSymb
|
||||||
midChar = endChar + `@.,:;'?!|` + otherSymb
|
midChar = endChar + `@.,:;'?!|`
|
||||||
wellParen = `\([` + midChar + `]*(\([` + midChar + `]*\)[` + midChar + `]*)*\)`
|
wellParen = `\([` + midChar + `]*(\([` + midChar + `]*\)[` + midChar + `]*)*\)`
|
||||||
wellBrack = `\[[` + midChar + `]*(\[[` + midChar + `]*\][` + midChar + `]*)*\]`
|
wellBrack = `\[[` + midChar + `]*(\[[` + midChar + `]*\][` + midChar + `]*)*\]`
|
||||||
wellBrace = `\{[` + midChar + `]*(\{[` + midChar + `]*\}[` + midChar + `]*)*\}`
|
wellBrace = `\{[` + midChar + `]*(\{[` + midChar + `]*\}[` + midChar + `]*)*\}`
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -617,7 +617,7 @@ github.com/morikuni/aec
|
|||||||
github.com/mrunalp/fileutils
|
github.com/mrunalp/fileutils
|
||||||
# github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d => github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
|
# github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d => github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
|
||||||
github.com/munnerz/goautoneg
|
github.com/munnerz/goautoneg
|
||||||
# github.com/mvdan/xurls v0.0.0-20160110113200-1b768d7c393a => github.com/mvdan/xurls v0.0.0-20160110113200-1b768d7c393a
|
# github.com/mvdan/xurls v1.1.0 => github.com/mvdan/xurls v1.1.0
|
||||||
github.com/mvdan/xurls
|
github.com/mvdan/xurls
|
||||||
# github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
|
# github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
|
||||||
github.com/mxk/go-flowrate/flowrate
|
github.com/mxk/go-flowrate/flowrate
|
||||||
|
Loading…
Reference in New Issue
Block a user