-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
dependency: bump mime dependency to 3.0 #30966
Merged
Merged
+76
−90
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cypress
|
Project |
cypress
|
Branch Review |
mime-dep-update
|
Run status |
|
Run duration | 17m 46s |
Commit |
|
Committer | cypress-bot[bot] |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
5
|
|
1099
|
|
0
|
|
26522
|
View all changes introduced in this branch ↗︎ |
UI Coverage
45.43%
|
|
---|---|
|
192
|
|
164
|
Accessibility
92.54%
|
|
---|---|
|
3 critical
8 serious
2 moderate
2 minor
|
|
888
|
… into mime-dep-update
mschile
approved these changes
Jan 29, 2025
ryanthemanuel
approved these changes
Jan 30, 2025
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
mime
current version 4.x #30144Additional details
This updates
mime
to 3.0. I attempted to update to 4.x and remove thetypes
since they are included inmime
now, but we needservices
to be an esm package completely to do that. See thread.mime
version 2 was working becausemime
notes that renaming oflookup
togetType
was a breaking change from v1 to v2. https://github.com/broofa/mime/tree/v2.6.0?tab=readme-ov-file#version-2-notestext/javascript
instead ofapplication/javascript
for JS files.application/javascript
is obsolete according to https://www.iana.org/assignments/media-types/media-types.xhtml. But since we're staying on 3.0 - this is no longer relevant. I did however update some tests that were definingapplication/javascript
totext/javascript
- this is NOT related to the mime update at all, just figured I'd update it while I'm here, but I can pull out if needed.mime
andmime-db
, but I didn't investigate these differences at this time.Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?