-
Notifications
You must be signed in to change notification settings - Fork 98
fix(deps): update dependency mime-types to v3 #865
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
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
72cafe1 to
6dbbeb8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## master #865 +/- ##
===========================================
- Coverage 95.37% 82.28% -13.10%
===========================================
Files 197 197
Lines 22100 22100
Branches 2444 1990 -454
===========================================
- Hits 21077 18184 -2893
- Misses 1023 3916 +2893 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b190041 to
f82bcb1
Compare
ed61399 to
f67921a
Compare
3a67721 to
d3eb28e
Compare
8f55dbd to
5cff88c
Compare
5cff88c to
7399561
Compare
de77930 to
047a0d9
Compare
1b32437 to
a47f462
Compare
a47f462 to
2e765f2
Compare
Fixes CI failures in #865 by updating test assertions for mime-types v3 breaking change. ## Breaking Change in mime-types v3 Per [RFC 9239](https://datatracker.ietf.org/doc/html/rfc9239), JavaScript MIME type changed from `application/javascript` to `text/javascript`: ```javascript // mime-types v2 mime.lookup('index.js') // => 'application/javascript' // mime-types v3 mime.lookup('index.js') // => 'text/javascript' ``` ## Changes - **package.json**: Update `mime-types` to `^3.0.2` and `@types/mime-types` to `^3.0.1` - **test/port/controller/PackageVersionFileController/raw.test.ts**: Update content-type assertions - **test/port/controller/PackageVersionFileController/listFiles.test.ts**: Update contentType field assertions > [!WARNING] > > <details> > <summary>Firewall rules blocked me from connecting to one or more addresses (expand for details)</summary> > > #### I tried to connect to the following addresses, but was blocked by firewall rules: > > - `https://api.github.com//advisories` > - Triggering command: `/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js` (http block) > > If you need me to access, download, or install something from one of these locations, you can either: > > - Configure [Actions setup steps](https://gh.io/copilot/actions-setup-steps) to set up my environment, which run before the firewall is enabled > - Add the appropriate URLs or hosts to the custom allowlist in this repository's [Copilot coding agent settings](https://github.com/cnpm/cnpmcore/settings/copilot/coding_agent) (admins only) > > </details> <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > fix #865, update mime-types to v3 </details> <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: fengmk2 <[email protected]> Co-authored-by: MK (fengmk2) <[email protected]>
[skip ci] ## <small>4.13.3 (2025-12-06)</small> * fix: zero copy to create a new Buffer (#916) ([683ee1d](683ee1d)), closes [#916](#916) [hi#level](https://github.com/hi/issues/level) * chore(deps): update mime-types to v3 (#899) ([0a5c90c](0a5c90c)), closes [#899](#899) [#865](#865) * chore(deps): upgrade base-x to v5 (#897) ([d3e4fae](d3e4fae)), closes [#897](#897) [#864](#864)
|
🎉 This PR is included in version 4.13.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR contains the following updates:
^2.1.35->^3.0.0^2.1.4->^3.0.0Release Notes
jshttp/mime-types (mime-types)
v3.0.2Compare Source
===================
falseorstring, notboolean|string..mp4resolves correctlyv3.0.1Compare Source
===================
v3.0.0Compare Source
===================
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.