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

Lines changed: 7 additions & 10 deletions
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

Lines changed: 1 addition & 2 deletions
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

Lines changed: 4 additions & 3 deletions
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

Lines changed: 7 additions & 6 deletions
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

Lines changed: 7 additions & 6 deletions
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

Lines changed: 7 additions & 6 deletions
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

Lines changed: 6 additions & 5 deletions
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

Lines changed: 8 additions & 7 deletions
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)