Skip to content

Commit 86431e4

Browse files
committed
bump deps/sdk, fix: potential security risks
1 parent 5c7b80e commit 86431e4

File tree

7 files changed

+227
-138
lines changed

7 files changed

+227
-138
lines changed

.dockerignore

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
# Compiled Object files, Static and Dynamic libs (Shared Objects)
2-
*.o
3-
*.a
4-
*.so
5-
6-
.vscode/
7-
.github/
8-
release/
9-
build/
10-
vendor/
11-
12-
Dockerfile
1+
*
2+
.*

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
env:
1515
GO111MODULE: "on"
1616
steps:
17-
- uses: actions/checkout@master
17+
- uses: actions/checkout@v3
1818

19-
- uses: actions/setup-go@v2
19+
- uses: actions/setup-go@v3
2020
with:
21-
go-version: ^1.18.1
21+
go-version: '1.18.3'
2222

2323
- name: Prepare environment
2424
run: |-
@@ -29,7 +29,7 @@ jobs:
2929
3030
# Test
3131
- name: Unit Testing
32-
run: go test .
32+
run: go test -v .
3333

3434
# Win
3535
- run: GOOS=windows GOARCH=386 VERSION=${RELEASE_VERSION} make release

alidns/AddDomainRecord_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func TestAddDomainRecord(t *testing.T) {
1111
RR: "testaddrecord",
1212
Type: ARecord,
1313
Value: "8.8.8.8",
14-
TTL: "600"
14+
TTL: "600",
1515
}
1616
response, err := client.AddDomainRecord(&addDomainRecordArgs)
1717
if err == nil {

go.mod

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,44 @@ module github.com/honwen/aliyun-ddns-cli
33
go 1.18
44

55
require (
6-
github.com/denverdino/aliyungo v0.0.0-20220419071826-816031062a6e
7-
github.com/honwen/golibs v0.3.1
8-
github.com/honwen/ip2loc v0.2.2
9-
github.com/stretchr/testify v1.7.1
10-
github.com/urfave/cli v1.22.5
6+
// locked before tracing/logging https://github.com/denverdino/aliyungo/commits/master/go.mod
7+
github.com/denverdino/aliyungo v0.0.0-20220321085828-46dabbd9e212
8+
github.com/honwen/golibs v0.4.0
9+
github.com/honwen/ip2loc v0.2.4
10+
github.com/urfave/cli v1.22.9
11+
github.com/ysmood/got v0.31.2
1112
)
1213

1314
require (
14-
github.com/AdguardTeam/golibs v0.4.2 // indirect
15+
github.com/AdguardTeam/golibs v0.10.9 // indirect
1516
github.com/PuerkitoBio/goquery v1.8.0 // indirect
1617
github.com/Workiva/go-datastructures v1.0.53 // indirect
1718
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
1819
github.com/aead/poly1305 v0.0.0-20180717145839-3fee0db0b635 // indirect
19-
github.com/ameshkov/dnscrypt/v2 v2.2.1 // indirect
20+
github.com/ameshkov/dnscrypt/v2 v2.2.3 // indirect
2021
github.com/ameshkov/dnsstamps v1.0.3 // indirect
2122
github.com/andybalholm/cascadia v1.3.1 // indirect
2223
github.com/cheekybits/genny v1.0.0 // indirect
2324
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
24-
github.com/davecgh/go-spew v1.1.1 // indirect
2525
github.com/fsnotify/fsnotify v1.5.1 // indirect
2626
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
27-
github.com/lucas-clemente/quic-go v0.27.0 // indirect
27+
github.com/lucas-clemente/quic-go v0.26.0 // indirect
2828
github.com/marten-seemann/qtls-go1-16 v0.1.5 // indirect
2929
github.com/marten-seemann/qtls-go1-17 v0.1.1 // indirect
3030
github.com/marten-seemann/qtls-go1-18 v0.1.1 // indirect
31-
github.com/miekg/dns v1.1.48 // indirect
32-
github.com/mr-karan/doggo v0.5.0 // indirect
31+
github.com/miekg/dns v1.1.50 // indirect
32+
github.com/mr-karan/doggo v0.5.3 // indirect
3333
github.com/nxadm/tail v1.4.8 // indirect
3434
github.com/onsi/ginkgo v1.16.5 // indirect
35-
github.com/pmezard/go-difflib v1.0.0 // indirect
36-
github.com/rakyll/statik v0.1.7 // indirect
3735
github.com/russross/blackfriday/v2 v2.0.1 // indirect
3836
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
39-
github.com/sirupsen/logrus v1.7.0 // indirect
37+
github.com/sirupsen/logrus v1.8.1 // indirect
4038
github.com/tidwall/pretty v1.2.0 // indirect
41-
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
42-
golang.org/x/mod v0.6.0-dev.0.20220412012744-41445a152478 // indirect
43-
golang.org/x/net v0.0.0-20220418201149-a630d4f3e7a2 // indirect
44-
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
39+
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 // indirect
40+
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
41+
golang.org/x/net v0.0.0-20220607020251-c690dde0001d // indirect
42+
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
4543
golang.org/x/tools v0.1.10 // indirect
46-
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
44+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
4745
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
48-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
4946
)

0 commit comments

Comments
 (0)