Skip to content

Commit ef2f8d0

Browse files
Add support to private network CORS (#873)
1 parent fb135b0 commit ef2f8d0

File tree

10 files changed

+83
-74
lines changed

10 files changed

+83
-74
lines changed

.licenses/arduino-create-agent/go/github.com/andela/gin-cors.dep.yml renamed to .licenses/arduino-create-agent/go/github.com/gin-contrib/cors.dep.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
name: github.com/andela/gin-cors
3-
version: v0.0.0-20160928171741-e8c3436a37e2
2+
name: github.com/gin-contrib/cors
3+
version: v1.5.0
44
type: go
5-
summary: This code implements the flow chart that can be found here.
6-
homepage: https://pkg.go.dev/github.com/andela/gin-cors
5+
summary:
6+
homepage: https://pkg.go.dev/github.com/gin-contrib/cors
77
license: mit
88
licenses:
99
- sources: LICENSE
10-
text: |+
11-
The MIT License (MIT)
10+
text: |
11+
MIT License
1212
13-
Copyright (c) 2015 Jamie Stackhouse
13+
Copyright (c) 2016 Gin-Gonic
1414
1515
Permission is hereby granted, free of charge, to any person obtaining a copy
1616
of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +29,4 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32-
33-
- sources: README.md
34-
text: The code is licensed under the MIT License. See LICENSE file for more details.
3532
notices: []

.licenses/arduino-create-agent/go/github.com/go-playground/validator/v10.dep.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/go-playground/validator/v10
3-
version: v10.14.0
3+
version: v10.15.5
44
type: go
55
summary: Package validator implements value validations for structs and individual
66
fields based on tags.
@@ -35,4 +35,3 @@ licenses:
3535
text: Distributed under MIT License, please see license file within the code for
3636
more details.
3737
notices: []
38-
...

.licenses/arduino-create-agent/go/github.com/pelletier/go-toml/v2.dep.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
name: github.com/pelletier/go-toml/v2
3-
version: v2.0.8
3+
version: v2.1.0
44
type: go
55
summary: Package toml is a library to read and write TOML documents.
66
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2
7-
license: mit
7+
license: other
88
licenses:
99
- sources: LICENSE
1010
text: |
1111
The MIT License (MIT)
1212
13-
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
13+
go-toml v2
14+
Copyright (c) 2021 - 2023 Thomas Pelletier
1415
1516
Permission is hereby granted, free of charge, to any person obtaining a copy
1617
of this software and associated documentation files (the "Software"), to deal

.licenses/arduino-create-agent/go/github.com/pelletier/go-toml/v2/internal/characters.dep.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
name: github.com/pelletier/go-toml/v2/internal/characters
3-
version: v2.0.8
3+
version: v2.1.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/characters
7-
license: mit
7+
license: other
88
licenses:
9-
- sources: v2@v2.0.8/LICENSE
9+
- sources: v2@v2.1.0/LICENSE
1010
text: |
1111
The MIT License (MIT)
1212
13-
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
13+
go-toml v2
14+
Copyright (c) 2021 - 2023 Thomas Pelletier
1415
1516
Permission is hereby granted, free of charge, to any person obtaining a copy
1617
of this software and associated documentation files (the "Software"), to deal
@@ -29,6 +30,6 @@ licenses:
2930
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3031
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3132
SOFTWARE.
32-
- sources: v2@v2.0.8/README.md
33+
- sources: v2@v2.1.0/README.md
3334
text: The MIT License (MIT). Read [LICENSE](LICENSE).
3435
notices: []

.licenses/arduino-create-agent/go/github.com/pelletier/go-toml/v2/internal/danger.dep.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
name: github.com/pelletier/go-toml/v2/internal/danger
3-
version: v2.0.8
3+
version: v2.1.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/danger
7-
license: mit
7+
license: other
88
licenses:
9-
- sources: v2@v2.0.8/LICENSE
9+
- sources: v2@v2.1.0/LICENSE
1010
text: |
1111
The MIT License (MIT)
1212
13-
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
13+
go-toml v2
14+
Copyright (c) 2021 - 2023 Thomas Pelletier
1415
1516
Permission is hereby granted, free of charge, to any person obtaining a copy
1617
of this software and associated documentation files (the "Software"), to deal
@@ -29,6 +30,6 @@ licenses:
2930
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3031
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3132
SOFTWARE.
32-
- sources: v2@v2.0.8/README.md
33+
- sources: v2@v2.1.0/README.md
3334
text: The MIT License (MIT). Read [LICENSE](LICENSE).
3435
notices: []

.licenses/arduino-create-agent/go/github.com/pelletier/go-toml/v2/internal/tracker.dep.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
name: github.com/pelletier/go-toml/v2/internal/tracker
3-
version: v2.0.8
3+
version: v2.1.0
44
type: go
5-
summary:
5+
summary:
66
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/tracker
7-
license: mit
7+
license: other
88
licenses:
9-
- sources: v2@v2.0.8/LICENSE
9+
- sources: v2@v2.1.0/LICENSE
1010
text: |
1111
The MIT License (MIT)
1212
13-
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
13+
go-toml v2
14+
Copyright (c) 2021 - 2023 Thomas Pelletier
1415
1516
Permission is hereby granted, free of charge, to any person obtaining a copy
1617
of this software and associated documentation files (the "Software"), to deal
@@ -29,6 +30,6 @@ licenses:
2930
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3031
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3132
SOFTWARE.
32-
- sources: v2@v2.0.8/README.md
33+
- sources: v2@v2.1.0/README.md
3334
text: The MIT License (MIT). Read [LICENSE](LICENSE).
3435
notices: []

.licenses/arduino-create-agent/go/github.com/pelletier/go-toml/v2/unstable.dep.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
---
22
name: github.com/pelletier/go-toml/v2/unstable
3-
version: v2.0.8
3+
version: v2.1.0
44
type: go
55
summary: Package unstable provides APIs that do not meet the backward compatibility
66
guarantees yet.
77
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/unstable
8-
license: mit
8+
license: other
99
licenses:
10-
- sources: v2@v2.0.8/LICENSE
10+
- sources: v2@v2.1.0/LICENSE
1111
text: |
1212
The MIT License (MIT)
1313
14-
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
14+
go-toml v2
15+
Copyright (c) 2021 - 2023 Thomas Pelletier
1516
1617
Permission is hereby granted, free of charge, to any person obtaining a copy
1718
of this software and associated documentation files (the "Software"), to deal
@@ -30,6 +31,6 @@ licenses:
3031
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3132
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3233
SOFTWARE.
33-
- sources: v2@v2.0.8/README.md
34+
- sources: v2@v2.1.0/README.md
3435
text: The MIT License (MIT). Read [LICENSE](LICENSE).
3536
notices: []

go.mod

+8-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ go 1.21
44

55
require (
66
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c
7-
github.com/andela/gin-cors v0.0.0-20160928171741-e8c3436a37e2
87
github.com/arduino/arduino-cli v0.0.0-20230630155703-fe6d7499eb5e
98
github.com/arduino/go-paths-helper v1.10.1
109
github.com/blang/semver v3.5.1+incompatible
1110
github.com/codeclysm/extract/v3 v3.1.1
1211
github.com/getlantern/systray v1.1.0
12+
github.com/gin-contrib/cors v1.5.0
1313
github.com/gin-gonic/gin v1.9.1
1414
github.com/go-ini/ini v1.62.0
1515
github.com/googollee/go-socket.io v0.0.0-20181101151912-c8aeb1ed9b49
@@ -28,8 +28,9 @@ require (
2828

2929
require (
3030
github.com/AnatolyRugalev/goregen v0.1.0 // indirect
31-
github.com/bytedance/sonic v1.9.1 // indirect
32-
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
31+
github.com/bytedance/sonic v1.10.1 // indirect
32+
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
33+
github.com/chenzhuoyu/iasm v0.9.0 // indirect
3334
github.com/cloudflare/circl v1.3.3 // indirect
3435
github.com/creack/goselect v0.1.2 // indirect
3536
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -45,7 +46,7 @@ require (
4546
github.com/go-chi/chi/v5 v5.0.10 // indirect
4647
github.com/go-playground/locales v0.14.1 // indirect
4748
github.com/go-playground/universal-translator v0.18.1 // indirect
48-
github.com/go-playground/validator/v10 v10.14.0 // indirect
49+
github.com/go-playground/validator/v10 v10.15.5 // indirect
4950
github.com/go-stack/stack v1.8.0 // indirect
5051
github.com/goccy/go-json v0.10.2 // indirect
5152
github.com/google/go-cmp v0.5.9 // indirect
@@ -57,7 +58,7 @@ require (
5758
github.com/juju/errors v0.0.0-20200330140219-3fe23663418f // indirect
5859
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
5960
github.com/klauspost/compress v1.15.13 // indirect
60-
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
61+
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
6162
github.com/kr/binarydist v0.1.0 // indirect
6263
github.com/leodido/go-urn v1.2.4 // indirect
6364
github.com/leonelquinteros/gotext v1.4.0 // indirect
@@ -66,14 +67,14 @@ require (
6667
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
6768
github.com/modern-go/reflect2 v1.0.2 // indirect
6869
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
69-
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
70+
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
7071
github.com/pmezard/go-difflib v1.0.0 // indirect
7172
github.com/sergi/go-diff v1.3.1 // indirect
7273
github.com/smartystreets/goconvey v1.6.4 // indirect
7374
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
7475
github.com/ugorji/go v1.1.6 // indirect
7576
github.com/ulikunitz/xz v0.5.11 // indirect
76-
golang.org/x/arch v0.3.0 // indirect
77+
golang.org/x/arch v0.5.0 // indirect
7778
golang.org/x/crypto v0.16.0 // indirect
7879
golang.org/x/mod v0.14.0 // indirect
7980
golang.org/x/net v0.19.0 // indirect

0 commit comments

Comments
 (0)