Skip to content

Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 #371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@ require (
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // indirect
gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 // indirect
gopkg.in/yaml.v2 v2.2.8 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
gopkg.in/yaml.v3 v3.0.0 // indirect
)

replace (
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
@@ -1180,8 +1180,9 @@ gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20190924164351-c8b7dadae555/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA=
gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=

Unchanged files with check annotations Beta

return NewAPIWithVersion(ctx, globalConfig, db, version), config, nil
}
func (a *API) HealthCheck(w http.ResponseWriter, r *http.Request) error {

Check failure on line 220 in api/api.go

GitHub Actions / test (1.22.x)

exported method API.HealthCheck should have comment or be unexported
return sendJSON(w, http.StatusOK, map[string]string{
"version": a.version,
"name": "GoTrue",
})
}
func WithInstanceConfig(ctx context.Context, config *conf.Configuration, instanceID uuid.UUID) (context.Context, error) {

Check failure on line 228 in api/api.go

GitHub Actions / test (1.22.x)

exported function WithInstanceConfig should have comment or be unexported
ctx = withConfig(ctx, config)
ctx = withInstanceID(ctx, instanceID)
return ctx, nil
}
func (a *API) Mailer(ctx context.Context) mailer.Mailer {

Check failure on line 234 in api/api.go

GitHub Actions / test (1.22.x)

exported method API.Mailer should have comment or be unexported
config := a.getConfig(ctx)
return mailer.NewMailer(config)
}
return nil, nil
}
type ErrorCause interface {

Check failure on line 151 in api/errors.go

GitHub Actions / test (1.22.x)

exported type ErrorCause should have comment or be unexported
Cause() error
}
"github.com/sirupsen/logrus"
)
type ExternalProviderClaims struct {

Check failure on line 20 in api/external.go

GitHub Actions / test (1.22.x)

exported type ExternalProviderClaims should have comment or be unexported
NetlifyMicroserviceClaims
Provider string `json:"provider"`
InviteToken string `json:"invite_token,omitempty"`
Referrer string `json:"referrer,omitempty"`
}
// SignupParams are the parameters the Signup endpoint accepts

Check failure on line 27 in api/external.go

GitHub Actions / test (1.22.x)

comment on exported type ExternalSignupParams should be of the form "ExternalSignupParams ..." (with optional leading article)
type ExternalSignupParams struct {
Provider string `json:"provider"`
Code string `json:"code"`
}
func (a *API) ExternalProviderRedirect(w http.ResponseWriter, r *http.Request) error {

Check failure on line 33 in api/external.go

GitHub Actions / test (1.22.x)

exported method API.ExternalProviderRedirect should have comment or be unexported
ctx := r.Context()
config := a.getConfig(ctx)
return nil
}
func (a *API) ExternalProviderCallback(w http.ResponseWriter, r *http.Request) error {

Check failure on line 80 in api/external.go

GitHub Actions / test (1.22.x)

exported method API.ExternalProviderCallback should have comment or be unexported
a.redirectErrors(a.internalExternalProviderCallback, w, r)
return nil
}
return userData, nil
}
func (a *API) OAuthProvider(ctx context.Context, name string) (provider.OAuthProvider, error) {

Check failure on line 60 in api/external_oauth.go

GitHub Actions / test (1.22.x)

exported method API.OAuthProvider should have comment or be unexported
providerCandidate, err := a.Provider(ctx, name)
if err != nil {
return nil, err
return a.loadExternalState(ctx, state)
}
func (a *API) samlCallback(r *http.Request, ctx context.Context) (*provider.UserProvidedData, error) {

Check failure on line 21 in api/external_saml.go

GitHub Actions / test (1.22.x)

context.Context should be the first parameter of a function
config := a.getConfig(ctx)
samlProvider, err := provider.NewSamlProvider(config.External.Saml, a.db, getInstanceID(ctx))