Skip to content
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

feat(#1291): upgrade mimetype dependency version for secure #1292

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

9ssi7
Copy link

@9ssi7 9ssi7 commented Jul 19, 2024

Fixes Or Enhances

the mimetype dependency version upgraded.

Check for details #1291

@go-playground/validator-maintainers

@9ssi7 9ssi7 requested a review from a team as a code owner July 19, 2024 07:14
@9ssi7
Copy link
Author

9ssi7 commented Jul 19, 2024

When I looked into it a bit, the mimetype repo started using bytes.Cut with version 1.4.4.

bytes.Cut came with version 1.18 of go. Check for details. Therefore, an error occurs in version 1.17.

We can remove 1.17 from the supported versions. Since 1.17 is already available for older versions, this will not be a problem.

@coveralls
Copy link

coveralls commented Jul 19, 2024

Coverage Status

coverage: 74.291%. remained the same
when pulling 630d293 on 9ssi7:master
into a947377 on go-playground:master.

@9ssi7
Copy link
Author

9ssi7 commented Jul 19, 2024

Yes, what I wrote in my previous comment is no longer valid. We used the module replace feature, which is a better way. This way, we can continue to support 1.17.

Now we just need to include this pr for security

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