Commit be67a19
authored
chore(deps-dev): bump koa from 2.15.3 to 3.1.2 (#202)
Bumps [koa](https://github.com/koajs/koa) from 2.15.3 to 3.0.3.
Sourced from <a href="https://github.com/koajs/koa/releases">koa's releases</a>.</em></p>
<blockquote>
<h2>v3.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: normalize referer before redirect by <a href="https://github.com/fengmk2"><code>@fengmk2</code></a> in <a href="https://redirect.github.com/koajs/koa/pull/1908">koajs/koa#1908</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/koajs/koa/compare/v3.0.2...v3.0.3">https://github.com/koajs/koa/compare/v3.0.2...v3.0.3</a></p>
<h2>v3.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: fixes response.attachment behaviour leads to Content-Type Sniffing by <a href="https://github.com/yowainwright"><code>@yowainwright</code></a> in <a href="https://redirect.github.com/koajs/koa/pull/1904">koajs/koa#1904</a></li>
<li>chore: use NPM trusted publishing with semver tag triggers by <a href="https://github.com/Copilot"><code>@Copilot</code></a> in <a href="https://redirect.github.com/koajs/koa/pull/1907">koajs/koa#1907</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Copilot"><code>@Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/koajs/koa/pull/1907">koajs/koa#1907</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/koajs/koa/compare/v3.0.1...v3.0.2">https://github.com/koajs/koa/compare/v3.0.1...v3.0.2</a></p>
<h2>v3.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(security): only allow same origin referer on response back <a href="https://github.com/koajs/koa/commit/422c551c63d00f24e2bbbdf492f262a5935bb1f0">https://github.com/koajs/koa/commit/422c551c63d00f24e2bbbdf492f262a5935bb1f0</a></li>
<li>chore: adds initial doc text refresh; migration guide [CHORE-1870] by <a href="https://github.com/yowainwright"><code>@yowainwright</code></a> in <a href="https://redirect.github.com/koajs/koa/pull/1877">koajs/koa#1877</a></li>
<li>build(deps-dev): bump formidable from 3.5.2 to 3.5.4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koajs/koa/pull/1878">koajs/koa#1878</a></li>
<li>chore: removes done callbacks in tests [CHORE-1870] by <a href="https://github.com/yowainwright"><code>@yowainwright</code></a> in <a href="https://redirect.github.com/koajs/koa/pull/1875">koajs/koa#1875</a></li>
<li>build(deps-dev): bump supertest from 7.1.0 to 7.1.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koajs/koa/pull/1879">koajs/koa#1879</a></li>
<li>build(deps): bump debug from 4.4.0 to 4.4.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koajs/koa/pull/1880">koajs/koa#1880</a></li>
<li>feat: replace debug module with pure node:util::debuglog by <a href="https://github.com/3imed-jaberi"><code>@3imed-jaberi</code></a> in <a href="https://redirect.github.com/koajs/koa/pull/1885">koajs/koa#1885</a></li>
<li>feat: replace cache-content-type with mime-types directly by <a href="https://github.com/3imed-jaberi"><code>@3imed-jaberi</code></a> in <a href="https://redirect.github.com/koajs/koa/pull/1886">koajs/koa#1886</a></li>
<li>build(deps): bump statuses from 2.0.1 to 2.0.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koajs/koa/pull/1888">koajs/koa#1888</a></li>
<li>build(deps-dev): bump supertest from 7.1.1 to 7.1.4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koajs/koa/pull/1895">koajs/koa#1895</a></li>
<li>build(deps-dev): bump form-data from 4.0.3 to 4.0.4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/koajs/koa/pull/1894">koajs/koa#1894</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/koajs/koa/compare/v3.0.0...v3.0.1">https://github.com/koajs/koa/compare/v3.0.0...v3.0.1</a></p>
<h2>v3.0.0</h2>
<p>This is a major release.</p>
<h2>Breaking</h2>
<ul>
<li>Minimum node v18</li>
<li>Removes <code>.redirect('back')</code>, adds <code>.back(fallback_url)</code> <a href="https://github.com/fl0w"><code>@fl0w</code></a> <a href="https://redirect.github.com/koajs/koa/pull/1115">koajs/koa#1115</a></li>
<li>For <code>.redirect()</code>, don't render redirect values in anchor ref <a href="https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312">https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312</a></li>
<li><code>req.origin</code> should display the origin header if it exists, not the current hostname <a href="https://redirect.github.com/koajs/koa/issues/1008">koajs/koa#1008</a>. <code>origin</code> now aligns with the <code>Origin</code> header as used in CORS.</li>
<li><code>.body=<json></code> should not overwrite type if type already json <a href="https://redirect.github.com/koajs/koa/issues/1120">koajs/koa#1120</a></li>
<li>Remove special ENOENT support <a href="https://redirect.github.com/koajs/koa/pull/1861">koajs/koa#1861</a> - this is a big change and will require any file servers to adapt to this change for handling 404s / files not found</li>
<li>Removes generator deprecation messages. Generators are no longer supported. Koa no longer asserts if generators are used.
Set content-length: 0 if body is explicitly set to null <a href="https://github.com/ognjenjevremovic"><code>@ognjenjevremovic</code></a> <a href="https://redirect.github.com/koajs/koa/issues/1528">#1528</a>
Remove obsolete createAsyncCtxStorageMiddleware <a href="https://redirect.github.com/koajs/koa/pull/1817">koajs/koa#1817</a></li>
<li><code>ctx.throw</code> now requires a format of <code>ctx.throw(status, error, properties)</code>. See: <a href="https://www.npmjs.com/package/http-errors">https://www.npmjs.com/package/http-errors</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/koajs/koa/blob/master/History.md">koa's changelog</a>.</em></p>
<blockquote>
<blockquote>
<p>[!IMPORTANT]
Moving forwards we are using the GitHub releases page at <a href="https://github.com/koajs/koa/releases">https://github.com/koajs/koa/releases</a> in combination with <a href="https://www.npmjs.com/package/np">np</a> for publishing releases and their changelogs.</p>
</blockquote>
<hr />
<h1>3.0.0-alpha.3 / 2025-02-11</h1>
<p><strong>fixes</strong></p>
<ul>
<li>Avoid redos on host and protocol getter</li>
</ul>
<h1>3.0.0-alpha.2 / 2024-11-04</h1>
<p><strong>breaking changes</strong></p>
<ul>
<li>Update <code>http-errors</code> to <code>v2.0.0</code> <a href="https://redirect.github.com/koajs/koa/pull/1486">#1486</a>
<ul>
<li><code>ctx.throw</code> now requires a format of <code>ctx.throw(status, error, properties)</code>. See: <a href="https://www.npmjs.com/package/http-errors">https://www.npmjs.com/package/http-errors</a></li>
</ul>
</li>
<li>Remove <code>res.redirect('back')</code>, add <code>back()</code> method to <code>ctx</code> <a href="https://redirect.github.com/koajs/koa/pull/1115">#1115</a></li>
<li>Replace node querystring with <code>URLSearchParams</code> <a href="https://redirect.github.com/koajs/koa/pull/1828">#1828</a></li>
<li>Remove obsolete <code>createAsyncCtxStorageMiddleware</code> <a href="https://redirect.github.com/koajs/koa/pull/1817">#1817</a></li>
</ul>
<p><strong>features</strong></p>
<ul>
<li>Add support for web WHATWG <a href="https://redirect.github.com/koajs/koa/pull/1830">#1830</a></li>
</ul>
<p><strong>updates</strong></p>
<ul>
<li>Update <code>cookies</code> to <code>~0.9.1</code> <a href="https://redirect.github.com/koajs/koa/pull/1846">#1846</a></li>
<li>Update <code>statuses</code> to <code>^2.0.1</code></li>
<li>Update <code>supertest</code> to <code>^7.0.0</code> <a href="https://redirect.github.com/koajs/koa/pull/1841">#1841</a></li>
</ul>
<p><strong>fixes</strong></p>
<ul>
<li>Fix <code>exports.defaults</code> in <code>package.json</code> <a href="https://redirect.github.com/koajs/koa/pull/1630">#1630</a></li>
<li>Fix leaky handles in tests <a href="https://redirect.github.com/koajs/koa/pull/1838">#1838</a></li>
<li>Fix body null checks <a href="https://redirect.github.com/koajs/koa/pull/1814">#1814</a></li>
<li>Fix reformatting redirect URLs <a href="https://redirect.github.com/koajs/koa/pull/1805">#1805</a> <a href="https://redirect.github.com/koajs/koa/pull/1804">#1804</a></li>
<li>Fix passing <code>ctx</code> in error handler <a href="https://redirect.github.com/koajs/koa/pull/1758">#1758</a></li>
</ul>
<p><strong>migrations</strong></p>
<ul>
<li>Migrate from <code>jest</code> to the native node test runner <a href="https://redirect.github.com/koajs/koa/pull/1845">#1845</a></li>
</ul>
<h1>3.0.0-alpha.1 / 2023-04-12</h1>
<p><strong>fixes</strong></p>
<ul>
<li>[<a href="http://github.com/koajs/koa/commit/e98b8d1918376dc2957aa62906bf5893bef66c4c"><code>e98b8d1</code></a>] - fix: can not get currentContext in error handler (<a href="https://redirect.github.com/koajs/koa/issues/1758">#1758</a>) (Gxkl <<a href="mailto:gxkl203@gmail.com">gxkl203@gmail.com</a>>)</li>
</ul>
<h1>3.0.0-alpha.0 / 2023-01-02</h1>
<h2>Breaking Changes</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/koajs/koa/commit/ffd497a1903ff4df54f14b3d1763813d5c7d10fc"><code>ffd497a</code></a> 3.0.3</li>
<li><a href="https://github.com/koajs/koa/commit/769fd75cc6b30d72493b370b5a3ae2332ca03c5b"><code>769fd75</code></a> fix: normalize referer before redirect (<a href="https://redirect.github.com/koajs/koa/issues/1908">#1908</a>)</li>
<li><a href="https://github.com/koajs/koa/commit/433b20c9e5954113e8d7a23a25e9d5bb750c3034"><code>433b20c</code></a> 3.0.2</li>
<li><a href="https://github.com/koajs/koa/commit/307013b5fad2a31821834d898db97feed1f71cf6"><code>307013b</code></a> chore: use NPM trusted publishing with semver tag triggers (<a href="https://redirect.github.com/koajs/koa/issues/1907">#1907</a>)</li>
<li><a href="https://github.com/koajs/koa/commit/83128eb6cc210fa6f5519f93afb5606ffc3ffa5e"><code>83128eb</code></a> fix: fixes response.attachment behavior leads to Content-Type Sniffing (<a href="https://redirect.github.com/koajs/koa/issues/1904">#1904</a>)</li>
<li><a href="https://github.com/koajs/koa/commit/1ddb048adce65fdf11402cc19d7b8eae4e176f78"><code>1ddb048</code></a> 3.0.1</li>
<li><a href="https://github.com/koajs/koa/commit/422c551c63d00f24e2bbbdf492f262a5935bb1f0"><code>422c551</code></a> Merge commit from fork</li>
<li><a href="https://github.com/koajs/koa/commit/6e51eb15169598be1130e8bbe06e67b1d4907275"><code>6e51eb1</code></a> build(deps-dev): bump form-data from 4.0.3 to 4.0.4 (<a href="https://redirect.github.com/koajs/koa/issues/1894">#1894</a>)</li>
<li><a href="https://github.com/koajs/koa/commit/d378e5c5f93f275169a80338fc1ee34af91b4e2f"><code>d378e5c</code></a> build(deps-dev): bump supertest from 7.1.1 to 7.1.4 (<a href="https://redirect.github.com/koajs/koa/issues/1895">#1895</a>)</li>
<li><a href="https://github.com/koajs/koa/commit/cb22d8dcdeb7c0e4e1bdee5eaa5be183ef23a1f2"><code>cb22d8d</code></a> build(deps): bump statuses from 2.0.1 to 2.0.2 (<a href="https://redirect.github.com/koajs/koa/issues/1888">#1888</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/koajs/koa/compare/2.15.3...v3.0.3">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for koa since your current version.</p>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/hyperdxio/hyperdx-js/network/alerts).
</details>
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.1 parent 96f3550 commit be67a19
2 files changed
Lines changed: 73 additions & 70 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5132 | 5132 | | |
5133 | 5133 | | |
5134 | 5134 | | |
5135 | | - | |
| 5135 | + | |
5136 | 5136 | | |
5137 | 5137 | | |
5138 | 5138 | | |
| |||
5866 | 5866 | | |
5867 | 5867 | | |
5868 | 5868 | | |
5869 | | - | |
5870 | | - | |
5871 | | - | |
5872 | | - | |
5873 | | - | |
5874 | | - | |
5875 | | - | |
5876 | | - | |
5877 | 5869 | | |
5878 | 5870 | | |
5879 | 5871 | | |
| |||
6429 | 6421 | | |
6430 | 6422 | | |
6431 | 6423 | | |
6432 | | - | |
| 6424 | + | |
6433 | 6425 | | |
6434 | 6426 | | |
6435 | 6427 | | |
6436 | 6428 | | |
6437 | 6429 | | |
6438 | 6430 | | |
6439 | | - | |
| 6431 | + | |
| 6432 | + | |
| 6433 | + | |
| 6434 | + | |
| 6435 | + | |
| 6436 | + | |
6440 | 6437 | | |
6441 | 6438 | | |
6442 | 6439 | | |
| |||
6466 | 6463 | | |
6467 | 6464 | | |
6468 | 6465 | | |
6469 | | - | |
| 6466 | + | |
6470 | 6467 | | |
6471 | 6468 | | |
6472 | 6469 | | |
| |||
6849 | 6846 | | |
6850 | 6847 | | |
6851 | 6848 | | |
6852 | | - | |
| 6849 | + | |
6853 | 6850 | | |
6854 | 6851 | | |
6855 | 6852 | | |
| |||
6859 | 6856 | | |
6860 | 6857 | | |
6861 | 6858 | | |
6862 | | - | |
| 6859 | + | |
6863 | 6860 | | |
6864 | 6861 | | |
6865 | 6862 | | |
| |||
7062 | 7059 | | |
7063 | 7060 | | |
7064 | 7061 | | |
7065 | | - | |
| 7062 | + | |
| 7063 | + | |
| 7064 | + | |
| 7065 | + | |
| 7066 | + | |
| 7067 | + | |
7066 | 7068 | | |
7067 | 7069 | | |
7068 | 7070 | | |
| |||
8599 | 8601 | | |
8600 | 8602 | | |
8601 | 8603 | | |
8602 | | - | |
| 8604 | + | |
8603 | 8605 | | |
8604 | 8606 | | |
8605 | 8607 | | |
| |||
8623 | 8625 | | |
8624 | 8626 | | |
8625 | 8627 | | |
8626 | | - | |
| 8628 | + | |
8627 | 8629 | | |
8628 | 8630 | | |
8629 | 8631 | | |
| |||
8997 | 8999 | | |
8998 | 9000 | | |
8999 | 9001 | | |
9000 | | - | |
9001 | | - | |
9002 | | - | |
9003 | | - | |
9004 | | - | |
9005 | | - | |
9006 | | - | |
9007 | 9002 | | |
9008 | 9003 | | |
9009 | 9004 | | |
| |||
10007 | 10002 | | |
10008 | 10003 | | |
10009 | 10004 | | |
10010 | | - | |
10011 | | - | |
10012 | | - | |
10013 | | - | |
10014 | | - | |
10015 | | - | |
10016 | | - | |
10017 | | - | |
10018 | | - | |
10019 | | - | |
10020 | | - | |
10021 | | - | |
| 10005 | + | |
| 10006 | + | |
| 10007 | + | |
| 10008 | + | |
10022 | 10009 | | |
10023 | | - | |
10024 | | - | |
10025 | | - | |
10026 | | - | |
10027 | | - | |
10028 | | - | |
| 10010 | + | |
| 10011 | + | |
| 10012 | + | |
| 10013 | + | |
10029 | 10014 | | |
10030 | | - | |
10031 | | - | |
10032 | | - | |
| 10015 | + | |
| 10016 | + | |
10033 | 10017 | | |
10034 | 10018 | | |
10035 | | - | |
10036 | | - | |
10037 | | - | |
| 10019 | + | |
| 10020 | + | |
10038 | 10021 | | |
10039 | | - | |
10040 | | - | |
10041 | | - | |
10042 | | - | |
10043 | | - | |
10044 | | - | |
| 10022 | + | |
| 10023 | + | |
| 10024 | + | |
| 10025 | + | |
| 10026 | + | |
10045 | 10027 | | |
10046 | 10028 | | |
10047 | 10029 | | |
| |||
10644 | 10626 | | |
10645 | 10627 | | |
10646 | 10628 | | |
| 10629 | + | |
| 10630 | + | |
| 10631 | + | |
| 10632 | + | |
| 10633 | + | |
10647 | 10634 | | |
10648 | 10635 | | |
10649 | 10636 | | |
| |||
10717 | 10704 | | |
10718 | 10705 | | |
10719 | 10706 | | |
10720 | | - | |
| 10707 | + | |
| 10708 | + | |
| 10709 | + | |
| 10710 | + | |
| 10711 | + | |
| 10712 | + | |
10721 | 10713 | | |
10722 | 10714 | | |
10723 | 10715 | | |
10724 | 10716 | | |
10725 | 10717 | | |
10726 | 10718 | | |
| 10719 | + | |
| 10720 | + | |
| 10721 | + | |
| 10722 | + | |
| 10723 | + | |
| 10724 | + | |
| 10725 | + | |
10727 | 10726 | | |
10728 | 10727 | | |
10729 | 10728 | | |
| |||
11421 | 11420 | | |
11422 | 11421 | | |
11423 | 11422 | | |
11424 | | - | |
| 11423 | + | |
11425 | 11424 | | |
11426 | 11425 | | |
11427 | 11426 | | |
| |||
11468 | 11467 | | |
11469 | 11468 | | |
11470 | 11469 | | |
11471 | | - | |
11472 | | - | |
11473 | | - | |
11474 | | - | |
11475 | | - | |
11476 | 11470 | | |
11477 | 11471 | | |
11478 | 11472 | | |
| |||
11657 | 11651 | | |
11658 | 11652 | | |
11659 | 11653 | | |
11660 | | - | |
| 11654 | + | |
11661 | 11655 | | |
11662 | 11656 | | |
11663 | 11657 | | |
| |||
13351 | 13345 | | |
13352 | 13346 | | |
13353 | 13347 | | |
13354 | | - | |
| 13348 | + | |
13355 | 13349 | | |
13356 | 13350 | | |
13357 | 13351 | | |
13358 | 13352 | | |
| 13353 | + | |
| 13354 | + | |
| 13355 | + | |
| 13356 | + | |
| 13357 | + | |
13359 | 13358 | | |
13360 | 13359 | | |
13361 | 13360 | | |
| |||
14065 | 14064 | | |
14066 | 14065 | | |
14067 | 14066 | | |
14068 | | - | |
| 14067 | + | |
| 14068 | + | |
| 14069 | + | |
| 14070 | + | |
| 14071 | + | |
| 14072 | + | |
| 14073 | + | |
| 14074 | + | |
| 14075 | + | |
| 14076 | + | |
14069 | 14077 | | |
14070 | 14078 | | |
14071 | 14079 | | |
| |||
14818 | 14826 | | |
14819 | 14827 | | |
14820 | 14828 | | |
14821 | | - | |
14822 | | - | |
14823 | | - | |
14824 | | - | |
14825 | | - | |
14826 | 14829 | | |
14827 | 14830 | | |
14828 | 14831 | | |
| |||
0 commit comments