Upgrading github.com/gabriel-vasile/mimetype 0.3 to 1
Breakingv0.3.23 → v1.4.16Breaking2Security1New27Changed29Fixed11Other17
Fetching 34 releases from GitHub…10 / 34
BreakingUpgrade verdict
2 breaking changes and a security fix.
In plain terms
- JavaScript files are now reported as text/javascript instead of application/javascript, which may affect code comparing the returned type.
- JAR files are now reported as application/java-archive instead of application/jar.
- Updates a dependency to close a known security vulnerability.
Must act 3 items need code or config changes
What you must change
Breaking2
Renames the detected MIME type application/javascript to text/javascript.
application/javascripttext/javascriptReplaces the application/jar MIME type with application/java-archive.
Security1
Bumps golang.org/x/net to v0.33.0 to fix CVE-2024-45338.
golang.org/x/net