Skip to content

Commit

Permalink
Add support to private network CORS (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-perugini authored Dec 18, 2023
1 parent fb135b0 commit ef2f8d0
Show file tree
Hide file tree
Showing 10 changed files with 83 additions and 74 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
name: github.com/andela/gin-cors
version: v0.0.0-20160928171741-e8c3436a37e2
name: github.com/gin-contrib/cors
version: v1.5.0
type: go
summary: This code implements the flow chart that can be found here.
homepage: https://pkg.go.dev/github.com/andela/gin-cors
summary:
homepage: https://pkg.go.dev/github.com/gin-contrib/cors
license: mit
licenses:
- sources: LICENSE
text: |+
The MIT License (MIT)
text: |
MIT License
Copyright (c) 2015 Jamie Stackhouse
Copyright (c) 2016 Gin-Gonic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -29,7 +29,4 @@ licenses:
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- sources: README.md
text: The code is licensed under the MIT License. See LICENSE file for more details.
notices: []
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: github.com/go-playground/validator/v10
version: v10.14.0
version: v10.15.5
type: go
summary: Package validator implements value validations for structs and individual
fields based on tags.
Expand Down Expand Up @@ -35,4 +35,3 @@ licenses:
text: Distributed under MIT License, please see license file within the code for
more details.
notices: []
...
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: github.com/pelletier/go-toml/v2
version: v2.0.8
version: v2.1.0
type: go
summary: Package toml is a library to read and write TOML documents.
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2
license: mit
license: other
licenses:
- sources: LICENSE
text: |
The MIT License (MIT)
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
go-toml v2
Copyright (c) 2021 - 2023 Thomas Pelletier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: github.com/pelletier/go-toml/v2/internal/characters
version: v2.0.8
version: v2.1.0
type: go
summary:
summary:
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/characters
license: mit
license: other
licenses:
- sources: v2@v2.0.8/LICENSE
- sources: v2@v2.1.0/LICENSE
text: |
The MIT License (MIT)
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
go-toml v2
Copyright (c) 2021 - 2023 Thomas Pelletier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -29,6 +30,6 @@ licenses:
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- sources: v2@v2.0.8/README.md
- sources: v2@v2.1.0/README.md
text: The MIT License (MIT). Read [LICENSE](LICENSE).
notices: []
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: github.com/pelletier/go-toml/v2/internal/danger
version: v2.0.8
version: v2.1.0
type: go
summary:
summary:
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/danger
license: mit
license: other
licenses:
- sources: v2@v2.0.8/LICENSE
- sources: v2@v2.1.0/LICENSE
text: |
The MIT License (MIT)
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
go-toml v2
Copyright (c) 2021 - 2023 Thomas Pelletier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -29,6 +30,6 @@ licenses:
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- sources: v2@v2.0.8/README.md
- sources: v2@v2.1.0/README.md
text: The MIT License (MIT). Read [LICENSE](LICENSE).
notices: []
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: github.com/pelletier/go-toml/v2/internal/tracker
version: v2.0.8
version: v2.1.0
type: go
summary:
summary:
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/tracker
license: mit
license: other
licenses:
- sources: v2@v2.0.8/LICENSE
- sources: v2@v2.1.0/LICENSE
text: |
The MIT License (MIT)
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
go-toml v2
Copyright (c) 2021 - 2023 Thomas Pelletier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -29,6 +30,6 @@ licenses:
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- sources: v2@v2.0.8/README.md
- sources: v2@v2.1.0/README.md
text: The MIT License (MIT). Read [LICENSE](LICENSE).
notices: []
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
---
name: github.com/pelletier/go-toml/v2/unstable
version: v2.0.8
version: v2.1.0
type: go
summary: Package unstable provides APIs that do not meet the backward compatibility
guarantees yet.
homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/unstable
license: mit
license: other
licenses:
- sources: v2@v2.0.8/LICENSE
- sources: v2@v2.1.0/LICENSE
text: |
The MIT License (MIT)
Copyright (c) 2013 - 2022 Thomas Pelletier, Eric Anderton
go-toml v2
Copyright (c) 2021 - 2023 Thomas Pelletier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -30,6 +31,6 @@ licenses:
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- sources: v2@v2.0.8/README.md
- sources: v2@v2.1.0/README.md
text: The MIT License (MIT). Read [LICENSE](LICENSE).
notices: []
15 changes: 8 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ go 1.21

require (
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c
github.com/andela/gin-cors v0.0.0-20160928171741-e8c3436a37e2
github.com/arduino/arduino-cli v0.0.0-20230630155703-fe6d7499eb5e
github.com/arduino/go-paths-helper v1.10.1
github.com/blang/semver v3.5.1+incompatible
github.com/codeclysm/extract/v3 v3.1.1
github.com/getlantern/systray v1.1.0
github.com/gin-contrib/cors v1.5.0
github.com/gin-gonic/gin v1.9.1
github.com/go-ini/ini v1.62.0
github.com/googollee/go-socket.io v0.0.0-20181101151912-c8aeb1ed9b49
Expand All @@ -28,8 +28,9 @@ require (

require (
github.com/AnatolyRugalev/goregen v0.1.0 // indirect
github.com/bytedance/sonic v1.9.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/bytedance/sonic v1.10.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/creack/goselect v0.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -45,7 +46,7 @@ require (
github.com/go-chi/chi/v5 v5.0.10 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/go-playground/validator/v10 v10.15.5 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/google/go-cmp v0.5.9 // indirect
Expand All @@ -57,7 +58,7 @@ require (
github.com/juju/errors v0.0.0-20200330140219-3fe23663418f // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/klauspost/compress v1.15.13 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/kr/binarydist v0.1.0 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/leonelquinteros/gotext v1.4.0 // indirect
Expand All @@ -66,14 +67,14 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go v1.1.6 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/arch v0.5.0 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.19.0 // indirect
Expand Down
Loading

0 comments on commit ef2f8d0

Please sign in to comment.