Skip to content

Commit 1b655b0

Browse files
authored
Update (#162)
1 parent 29502a2 commit 1b655b0

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ updates:
88
chrome:
99
patterns:
1010
- "*chrome*"
11+
sunshine:
12+
patterns:
13+
- "*sunshine*"
1114

1215
- package-ecosystem: "github-actions"
1316
directory: "/"

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ require (
99
github.com/sunshineplan/chrome v1.1.21
1010
github.com/sunshineplan/gohttp v1.0.11
1111
github.com/sunshineplan/useragent v1.0.1
12-
github.com/sunshineplan/utils v0.1.74
13-
github.com/sunshineplan/workers v1.0.4
12+
github.com/sunshineplan/utils v0.1.76
13+
github.com/sunshineplan/workers v1.0.5
1414
)
1515

1616
require (
@@ -20,7 +20,7 @@ require (
2020
github.com/gobwas/pool v0.2.1 // indirect
2121
github.com/gobwas/ws v1.4.0 // indirect
2222
golang.org/x/net v0.38.0 // indirect
23-
golang.org/x/sync v0.12.0 // indirect
23+
golang.org/x/sync v0.14.0 // indirect
2424
golang.org/x/sys v0.31.0 // indirect
2525
golang.org/x/text v0.23.0 // indirect
2626
)

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ github.com/sunshineplan/gohttp v1.0.11 h1:xKkk8w72lmeXuNuEhCtroj+Jq+NQ3gwvW9edOa
2424
github.com/sunshineplan/gohttp v1.0.11/go.mod h1:gDCAVkkqNsjImob+t9qUD5CHXrBwhXGmH/w4yoagqFQ=
2525
github.com/sunshineplan/useragent v1.0.1 h1:0x4MIlcOQ2awc1XKUwEJr+fDcJXpm/bw1H7Hbi79PbY=
2626
github.com/sunshineplan/useragent v1.0.1/go.mod h1:u+8L7UYZqQI4iMgbMdhE1GldRohbrlQGZr5lzegPRLE=
27-
github.com/sunshineplan/utils v0.1.74 h1:Zr5Si2lllOfDbxcSz4GpaSsF24CzlBFNrF/WGMc8lH8=
28-
github.com/sunshineplan/utils v0.1.74/go.mod h1:61jHA9jn2CVlZzt9LbPz+MpOEiR6Jy5SNHHEcc/KQNk=
29-
github.com/sunshineplan/workers v1.0.4 h1:S44VfWA7WEIfqpe3fzTvw1ir1VJ6vAI7ZqxDHxFpREQ=
30-
github.com/sunshineplan/workers v1.0.4/go.mod h1:BOqgiv5aLr9gruFCQOJgyk/94LOWjbuFNI7L7Pvnr70=
27+
github.com/sunshineplan/utils v0.1.76 h1:FYdXgKi1S7yCnWRYnP7spmOakcFK3Fhkakf4G0kA2sg=
28+
github.com/sunshineplan/utils v0.1.76/go.mod h1:R7MInPRKnExzzNGJ9qY1W0+11P/3jc6IO5ICuGDPA1w=
29+
github.com/sunshineplan/workers v1.0.5 h1:yvBGRGPFt0J2wxKfQRTlP9ziE0aSIHeJOgjOdxl5BIQ=
30+
github.com/sunshineplan/workers v1.0.5/go.mod h1:LOuWiwDqqs8b5A+wbwSl7nsqlQmj9mQCrHqX8F4sXdk=
3131
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
3232
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
33-
golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=
34-
golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
33+
golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ=
34+
golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
3535
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
3636
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
3737
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=

m3u8.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/sunshineplan/utils/cache"
1616
)
1717

18-
var c = cache.New[string, []byte](false)
18+
var c = cache.NewWithRenew[string, []byte](false)
1919

2020
func parse(url *url.URL, playlist m3u8.Playlist) (*url.URL, *m3u8.MediaPlaylist, error) {
2121
switch playlist := playlist.(type) {

0 commit comments

Comments
 (0)