Skip to content

Update gopkg.in/yaml.v2 to v3 #883

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

Merged
merged 1 commit into from
May 31, 2022
Merged

Update gopkg.in/yaml.v2 to v3 #883

merged 1 commit into from
May 31, 2022

Conversation

vcheung-stripe
Copy link
Collaborator

Reviewers

r? @gracegoo-stripe
cc @stripe/developer-products

Summary

Fix Dependabot alert which says to upgrade gopkg.in/yaml from v2 to v3.
This is a breaking change, however:

  • This package is only used by the playback code, which technically isn't publicly usable.
  • The only thing that broke after updating was how the YAML output is indented, which doesn't matter. At least this was all that our existing tests caught.

Comment on lines +20 to +21
const defaultLocalAddress = "127.0.0.1:8080"
const defaultLocalWebhookAddress = "127.0.0.1:8888"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a bug that made make test fail unless I changed this, see golang/go#41572 (comment)

@vcheung-stripe vcheung-stripe merged commit b92c7ed into stripe:master May 31, 2022
@vcheung-stripe vcheung-stripe deleted the vcheung/fix-dependabot-alert branch May 31, 2022 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants