Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2025

This PR contains the following updates:

Package Change Age Confidence
mime-types ^2.1.35 -> ^3.0.0 age confidence
@types/mime-types (source) ^2.1.4 -> ^3.0.0 age confidence

Release Notes

jshttp/mime-types (mime-types)

v3.0.2

Compare Source

===================

  • Fix: update JSDoc to reflect that functions return only false or string, not boolean|string.
  • Fix: refined mime-score logic so .mp4 resolves correctly
  • Fix:reflect the current Node.js version supported to ≥ 18 (See 3.0.0 for more details).

v3.0.1

Compare Source

===================

  • deps: mime-db@​1.54.0

v3.0.0

Compare Source

===================

  • Drop support for node <18
  • deps: mime-db@​1.53.0
  • resolve extension conflicts with mime-score (#​119)
    • asc -> application/pgp-signature is now application/pgp-keys
    • mpp -> application/vnd.ms-project is now application/dash-patch+xml
    • ac -> application/vnd.nokia.n-gage.ac+xml is now application/pkix-attr-cert
    • bdoc -> application/x-bdoc is now application/bdoc
    • wmz -> application/x-msmetafile is now application/x-ms-wmz
    • xsl -> application/xslt+xml is now application/xml
    • wav -> audio/wave is now audio/wav
    • rtf -> text/rtf is now application/rtf
    • xml -> text/xml is now application/xml
    • mp4 -> video/mp4 is now application/mp4
    • mpg4 -> video/mp4 is now application/mp4

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@graphite-app
Copy link

graphite-app bot commented Oct 24, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • MQ - adds this PR to the back of the merge queue
  • Hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 24, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@socket-security
Copy link

socket-security bot commented Oct 24, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​mime-types@​2.1.4 ⏵ 3.0.110010067 +381100

View full report

@renovate renovate bot force-pushed the renovate/mime-types-3.x branch from 72cafe1 to 6dbbeb8 Compare October 28, 2025 14:18
@codecov
Copy link

codecov bot commented Oct 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.28%. Comparing base (dc20401) to head (2e765f2).
⚠️ Report is 8 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (dc20401) and HEAD (2e765f2). Click for more details.

HEAD has 7 uploads less than BASE
Flag BASE (dc20401) HEAD (2e765f2)
19 12
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/mime-types-3.x branch 6 times, most recently from b190041 to f82bcb1 Compare October 29, 2025 15:37
@renovate renovate bot force-pushed the renovate/mime-types-3.x branch 2 times, most recently from ed61399 to f67921a Compare November 6, 2025 13:18
@renovate renovate bot force-pushed the renovate/mime-types-3.x branch 6 times, most recently from 3a67721 to d3eb28e Compare November 23, 2025 13:32
@renovate renovate bot force-pushed the renovate/mime-types-3.x branch 5 times, most recently from 8f55dbd to 5cff88c Compare November 30, 2025 11:15
@renovate renovate bot force-pushed the renovate/mime-types-3.x branch from 5cff88c to 7399561 Compare November 30, 2025 11:59
@renovate renovate bot force-pushed the renovate/mime-types-3.x branch 3 times, most recently from de77930 to 047a0d9 Compare December 6, 2025 08:28
@renovate renovate bot force-pushed the renovate/mime-types-3.x branch 2 times, most recently from 1b32437 to a47f462 Compare December 6, 2025 13:06
@renovate renovate bot force-pushed the renovate/mime-types-3.x branch from a47f462 to 2e765f2 Compare December 6, 2025 13:08
@fengmk2 fengmk2 closed this in #899 Dec 6, 2025
fengmk2 added a commit that referenced this pull request Dec 6, 2025
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]>
@renovate renovate bot deleted the renovate/mime-types-3.x branch December 6, 2025 13:22
fengmk2 pushed a commit that referenced this pull request Dec 6, 2025
[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)
@github-actions
Copy link

github-actions bot commented Dec 6, 2025

🎉 This PR is included in version 4.13.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants