[chore]: Bump mvdan.cc/xurls/v2 from 2.4.0 to 2.5.0 (#1702)

Bumps [mvdan.cc/xurls/v2](https://github.com/mvdan/xurls) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/mvdan/xurls/releases)
- [Commits](https://github.com/mvdan/xurls/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/xurls/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-04-19 13:44:20 +02:00 committed by GitHub
parent ef3004b77f
commit c5f61c456b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 36 additions and 29 deletions

4
go.mod
View file

@ -62,7 +62,7 @@ require (
gopkg.in/mcuadros/go-syslog.v2 v2.3.0
gopkg.in/yaml.v3 v3.0.1
modernc.org/sqlite v1.21.1
mvdan.cc/xurls/v2 v2.4.0
mvdan.cc/xurls/v2 v2.5.0
)
require (
@ -148,7 +148,7 @@ require (
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sys v0.7.0 // indirect
golang.org/x/tools v0.6.0 // indirect
google.golang.org/appengine v1.6.7 // indirect

11
go.sum
View file

@ -488,8 +488,7 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qq
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg=
github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/xid v1.4.0 h1:qd7wPTDkN6KQx2VmMBLrpHkiyQwgFXRnkOLacUiaSNY=
github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
@ -705,8 +704,9 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@ -771,7 +771,6 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@ -1070,8 +1069,8 @@ modernc.org/tcl v1.15.1 h1:mOQwiEK4p7HruMZcwKTZPw/aqtGM4aY00uzWhlKKYws=
modernc.org/token v1.0.1 h1:A3qvTqOwexpfZZeyI0FeGPDlSWX5pjZu9hF4lU+EKWg=
modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
modernc.org/z v1.7.0 h1:xkDw/KepgEjeizO2sNco+hqYkU12taxQFqPEmgm1GWE=
mvdan.cc/xurls/v2 v2.4.0 h1:tzxjVAj+wSBmDcF6zBB7/myTy3gX9xvi8Tyr28AuQgc=
mvdan.cc/xurls/v2 v2.4.0/go.mod h1:+GEjq9uNjqs8LQfM9nVnM8rff0OQ5Iash5rzX+N1CSg=
mvdan.cc/xurls/v2 v2.5.0 h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8=
mvdan.cc/xurls/v2 v2.5.0/go.mod h1:yQgaGQ1rFtJUzkmKiHYSSfuQxqfYmd//X6PxvholpeE=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=

6
vendor/modules.txt vendored
View file

@ -769,7 +769,7 @@ golang.org/x/image/tiff/lzw
golang.org/x/image/vp8
golang.org/x/image/vp8l
golang.org/x/image/webp
# golang.org/x/mod v0.8.0
# golang.org/x/mod v0.10.0
## explicit; go 1.17
golang.org/x/mod/semver
# golang.org/x/net v0.9.0
@ -940,6 +940,6 @@ modernc.org/strutil
# modernc.org/token v1.0.1
## explicit
modernc.org/token
# mvdan.cc/xurls/v2 v2.4.0
## explicit; go 1.16
# mvdan.cc/xurls/v2 v2.5.0
## explicit; go 1.19
mvdan.cc/xurls/v2

View file

@ -2,7 +2,7 @@
[![Go Reference](https://pkg.go.dev/badge/mvdan.cc/xurls/v2.svg)](https://pkg.go.dev/mvdan.cc/xurls/v2)
Extract urls from text using regular expressions. Requires Go 1.16 or later.
Extract urls from text using regular expressions. Requires Go 1.19 or later.
```go
import "mvdan.cc/xurls/v2"

View file

@ -4,8 +4,7 @@ package xurls
// Schemes is a sorted list of all IANA assigned schemes.
//
// Source:
// https://www.iana.org/assignments/uri-schemes/uri-schemes-1.csv
// Source: https://www.iana.org/assignments/uri-schemes/uri-schemes-1.csv
var Schemes = []string{
`aaa`,
`aaas`,
@ -28,6 +27,7 @@ var Schemes = []string{
`attachment`,
`aw`,
`barion`,
`bb`,
`beshare`,
`bitcoin`,
`bitcoincash`,
@ -53,6 +53,7 @@ var Schemes = []string{
`content`,
`content-type`,
`crid`,
`cstr`,
`cvs`,
`dab`,
`dat`,
@ -76,6 +77,7 @@ var Schemes = []string{
`dvx`,
`dweb`,
`ed2k`,
`eid`,
`elsi`,
`embedded`,
`ens`,
@ -97,10 +99,12 @@ var Schemes = []string{
`geo`,
`gg`,
`git`,
`gitoid`,
`gizmoproject`,
`go`,
`gopher`,
`graph`,
`grd`,
`gtalk`,
`h323`,
`ham`,
@ -144,6 +148,7 @@ var Schemes = []string{
`ldaps`,
`leaptofrogans`,
`lorawan`,
`lpa`,
`lvlt`,
`magnet`,
`mailserver`,
@ -161,6 +166,7 @@ var Schemes = []string{
`mongodb`,
`moz`,
`ms-access`,
`ms-appinstaller`,
`ms-browser-extension`,
`ms-calculator`,
`ms-drive-to`,
@ -178,11 +184,13 @@ var Schemes = []string{
`ms-meetnow`,
`ms-mixedrealitycapture`,
`ms-mobileplans`,
`ms-newsandinterests`,
`ms-officeapp`,
`ms-people`,
`ms-project`,
`ms-powerpoint`,
`ms-publisher`,
`ms-remotedesktop-launch`,
`ms-restoretabcompanion`,
`ms-screenclip`,
`ms-screensketch`,
@ -244,6 +252,7 @@ var Schemes = []string{
`opaquelocktoken`,
`openpgp4fpr`,
`otpauth`,
`p1`,
`pack`,
`palm`,
`paparazzi`,
@ -300,6 +309,7 @@ var Schemes = []string{
`spotify`,
`ssb`,
`ssh`,
`starknet`,
`steam`,
`stun`,
`stuns`,
@ -309,6 +319,7 @@ var Schemes = []string{
`swid`,
`swidpath`,
`tag`,
`taler`,
`teamspeak`,
`tel`,
`teliaeid`,
@ -324,6 +335,7 @@ var Schemes = []string{
`tv`,
`udp`,
`unreal`,
`upt`,
`urn`,
`ut2004`,
`uuid-in-package`,
@ -337,9 +349,12 @@ var Schemes = []string{
`vscode`,
`vscode-insiders`,
`vsls`,
`w3`,
`wais`,
`web3`,
`wcr`,
`webcal`,
`web+ap`,
`wifi`,
`wpid`,
`ws`,

View file

@ -5,8 +5,8 @@ package xurls
// TLDs is a sorted list of all public top-level domains.
//
// Sources:
// * https://data.iana.org/TLD/tlds-alpha-by-domain.txt
// * https://publicsuffix.org/list/effective_tld_names.dat
// - https://data.iana.org/TLD/tlds-alpha-by-domain.txt
// - https://publicsuffix.org/list/effective_tld_names.dat
var TLDs = []string{
`aaa`,
`aarp`,
@ -26,7 +26,6 @@ var TLDs = []string{
`aco`,
`actor`,
`ad`,
`adac`,
`ads`,
`adult`,
`ae`,
@ -185,7 +184,6 @@ var TLDs = []string{
`brussels`,
`bs`,
`bt`,
`bugatti`,
`build`,
`builders`,
`business`,
@ -205,7 +203,6 @@ var TLDs = []string{
`cam`,
`camera`,
`camp`,
`cancerresearch`,
`canon`,
`capetown`,
`capital`,
@ -720,7 +717,6 @@ var TLDs = []string{
`limited`,
`limo`,
`lincoln`,
`linde`,
`link`,
`lipsy`,
`live`,
@ -732,7 +728,6 @@ var TLDs = []string{
`loans`,
`locker`,
`locus`,
`loft`,
`lol`,
`london`,
`lotte`,
@ -752,7 +747,6 @@ var TLDs = []string{
`lv`,
`ly`,
`ma`,
`macys`,
`madrid`,
`maif`,
`maison`,
@ -1070,7 +1064,6 @@ var TLDs = []string{
`select`,
`sener`,
`services`,
`ses`,
`seven`,
`sew`,
`sex`,
@ -1365,6 +1358,7 @@ var TLDs = []string{
`укр`,
`қаз`,
`հայ`,
`ישראל`,
`קום`,
`ابوظبي`,
`اتصالات`,
@ -1489,7 +1483,6 @@ var TLDs = []string{
`网络`,
`联通`,
`臺灣`,
`诺基亚`,
`谷歌`,
`购物`,
`通販`,

View file

@ -6,10 +6,10 @@ package xurls
// PseudoTLDs is a sorted list of some widely used unofficial TLDs.
//
// Sources:
// * https://en.wikipedia.org/wiki/Pseudo-top-level_domain
// * https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
// * https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
// * https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
// - https://en.wikipedia.org/wiki/Pseudo-top-level_domain
// - https://en.wikipedia.org/wiki/Category:Pseudo-top-level_domains
// - https://tools.ietf.org/html/draft-grothoff-iesg-special-use-p2p-names-00
// - https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
var PseudoTLDs = []string{
`bit`, // Namecoin
`example`, // Example domain