feat(#1291): upgrade mimetype dependency version for secure
Fixes Or Enhances
the mimetype dependency version upgraded.
Check for details https://github.com/go-playground/validator/issues/1291
@go-playground/validator-maintainers
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.
coverage: 74.291%. remained the same when pulling 630d293a73cc1ca070f27b55cd7026ceb8290e95 on 9ssi7:master into a947377040f8ebaee09f20d09a745ec369396793 on go-playground:master.
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
Already updated