Repository navigation
fix: match Cache-Control no-transform directive case-insensitively - #286
Merged
UlisesGascon merged 3 commits intoSep 9, 2026
Conversation
UlisesGascon
approved these changes
Sep 9, 2026
UlisesGascon
left a comment
Member
There was a problem hiding this comment.
Thanks @vaibhavmashal for helping the project! This change will land in the next release. I refactored a bit the tests and included a small reference on the HISTORY.md
Merged
meta-codesync Bot
pushed a commit
to meta/memlab
that referenced
this pull request
Oct 9, 2026
Summary: Bumps [[https://github.com/expressjs/compression | compression]] from 1.8.1 to 1.8.2. == Release notes == //Sourced from [[https://github.com/expressjs/compression/releases | compression's releases]].// > **v1.8.2** > > **Important** > > - Fix [[https://www.cve.org/CVERecord?id=CVE-2026-87776 | CVE-2026-87776]] ([[GHSA-vc2v-76pw-4v95 | GHSA-vc2v-76pw-4v95]]) > > **What's Changed** > > - chore: add funding to package.json by [[https://github.com/bjohansebas | @βbjohansebas]] in [[expressjs/compression#248 | expressjs/compression#248]] > - build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#249 | expressjs/compression#249]] > - build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#253 | expressjs/compression#253]] > - build(deps): bump github/codeql-action from 3.29.7 to 3.29.11 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#252 | expressjs/compression#252]] > - build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#251 | expressjs/compression#251]] > - build(deps): bump actions/setup-node from 4.4.0 to 6.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#261 | expressjs/compression#261]] > - build(deps): bump github/codeql-action from 3.29.11 to 4.31.2 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#260 | expressjs/compression#260]] > - build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#259 | expressjs/compression#259]] > - build(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#258 | expressjs/compression#258]] > - build(deps): bump coverallsapp/github-action from 2.3.6 to 2.3.7 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#264 | expressjs/compression#264]] > - build(deps): bump actions/checkout from 5.0.0 to 6.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#263 | expressjs/compression#263]] > - build(deps): bump github/codeql-action from 4.31.2 to 4.31.5 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#262 | expressjs/compression#262]] > - chore: up node version to 25.x in CI by [[https://github.com/imangas | @βimangas]] in [[expressjs/compression#272 | expressjs/compression#272]] > - doc(package): remove history.md and add readme.md to published files by [[https://github.com/sheplu | @βsheplu]] in [[expressjs/compression#270 | expressjs/compression#270]] > - Update link to CONTRIBUTING.md by [[https://github.com/krzysdz | @βkrzysdz]] in [[expressjs/compression#281 | expressjs/compression#281]] > - test: run CI on Windows and macOS by [[https://github.com/kilisamemarisaaa | @βkilisamemarisaaa]] in [[expressjs/compression#283 | expressjs/compression#283]] > - build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#257 | expressjs/compression#257]] > - build(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#268 | expressjs/compression#268]] > - build(deps): bump github/codeql-action from 4.31.5 to 4.31.9 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#265 | expressjs/compression#265]] > - build(deps): bump actions/setup-node from 6.0.0 to 6.1.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#266 | expressjs/compression#266]] > - build(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 by [[https://github.com/dependabot | @βdependabot]][bot] in [[expressjs/compression#267 | expressjs/compression#267]] > - chore(ci): npm-publish via reusable workflows by [[https://github.com/sheplu | @βsheplu]] in [[expressjs/compression#269 | expressjs/compression#269]] > - docs: update outdated Brotli note and fix npm install docs URL by [[https://github.com/Vansh1811 | @βVansh1811]] in [[expressjs/compression#276 | expressjs/compression#276]] > - fix: match Cache-Control no-transform directive case-insensitively by [[https://github.com/vaibhavmashal | @βvaibhavmashal]] in [[expressjs/compression#286 | expressjs/compression#286]] > - 1.8.2 by [[https://github.com/UlisesGascon | @βUlisesGascon]] in [[expressjs/compression#287 | expressjs/compression#287]] > > **New Contributors** > > - [[https://github.com/imangas | @βimangas]] made their first contribution in [[expressjs/compression#272 | expressjs/compression#272]] > - [[https://github.com/sheplu | @βsheplu]] made their first contribution in [[expressjs/compression#270 | expressjs/compression#270]] > - [[https://github.com/krzysdz | @βkrzysdz]] made their first contribution in [[expressjs/compression#281 | expressjs/compression#281]] > - [[https://github.com/kilisamemarisaaa | @βkilisamemarisaaa]] made their first contribution in [[expressjs/compression#283 | expressjs/compression#283]] > - [[https://github.com/Vansh1811 | @βVansh1811]] made their first contribution in [[expressjs/compression#276 | expressjs/compression#276]] > - [[https://github.com/vaibhavmashal | @βvaibhavmashal]] made their first contribution in [[expressjs/compression#286 | expressjs/compression#286]] > > **Full Changelog**: expressjs/compression@v1.8.1...v1.8.2 == Changelog == //Sourced from [[https://github.com/expressjs/compression/blob/master/HISTORY.md | compression's changelog]].// > **1.8.2** > > - Fix [[https://www.cve.org/CVERecord?id=CVE-2026-87776 | CVE-2026-87776]] ([[GHSA-vc2v-76pw-4v95 | GHSA-vc2v-76pw-4v95]]) > - deps: add destroy@1.2.0 > - Match `Cache-Control: no-transform` directive case-insensitively == Commits == - [[expressjs/compression@0f97074 | 0f97074]] 1.8.2 ([[expressjs/compression#287 | #287]]) - [[expressjs/compression@151f63e | 151f63e]] fix: destroy compression stream on response close - [[expressjs/compression@0a76495 | 0a76495]] fix: match Cache-Control no-transform directive case-insensitively ([[expressjs/compression#286 | #286]]) - [[expressjs/compression@c17b6e5 | c17b6e5]] docs: update outdated Brotli note and fix npm install docs URL ([[expressjs/compression#276 | #276]]) - [[expressjs/compression@112911a | 112911a]] chore(ci): npm-publish via reusable workflows ([[expressjs/compression#269 | #269]]) - [[expressjs/compression@1bf5eb0 | 1bf5eb0]] build(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 ([[expressjs/compression#267 | #267]]) - [[expressjs/compression@d8fe64d | d8fe64d]] build(deps): bump actions/setup-node from 6.0.0 to 6.1.0 ([[expressjs/compression#266 | #266]]) - [[expressjs/compression@b218ff5 | b218ff5]] build(deps): bump github/codeql-action from 4.31.5 to 4.31.9 ([[expressjs/compression#265 | #265]]) - [[expressjs/compression@8a1cf8e | 8a1cf8e]] build(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 ([[expressjs/compression#268 | #268]]) - [[expressjs/compression@4a19855 | 4a19855]] build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 ([[expressjs/compression#257 | #257]]) - Additional commits viewable in [[expressjs/compression@v1.8.1...v1.8.2 | compare view]] == Maintainer changes == This version was pushed to npm by [[https://www.npmjs.com/~GitHub%20Actions | GitHub Actions]], a new releaser for compression since your current version. Pull Request resolved: #158 Reviewed By: boujeepossum Differential Revision: D124273396 Pulled By: JacksonGL fbshipit-source-id: a646d17d04a803bc8c6850b69908ea7e40549c37
penberg
added a commit
to tursodatabase/turso
that referenced
this pull request
Oct 14, 2026
β¦/react-native' from app/dependabot Bumps [compression](https://github.com/expressjs/compression) from 1.8.1 to 1.8.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/expressjs/compression/releases">compression's releases</a>.</em></p> <blockquote> <h2>v1.8.2</h2> <h2>Important</h2> <ul> <li>Fix <a href="https://www.cve.org/CVERecord?id=CVE-2026- 87776">CVE-2026-87776</a> (<a href="https://github.com/expressjs/compression/security/advisories/GHSA- vc2v-76pw-4v95">GHSA-vc2v-76pw-4v95</a>)</li> </ul> <h2>What's Changed</h2> <ul> <li>chore: add funding to package.json by <a href="https://github.com/bjohansebas"><code>@βbjohansebas</code></a> in <a href="https://redirect.github.com/expressjs/compression/pull/248">exp ressjs/compression#248</a></li> <li>build(deps): bump github/codeql- action from 3.29.2 to 3.29.5 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/249"> expressjs/compression#249</a></li> <li>build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/253"> expressjs/compression#253</a></li> <li>build(deps): bump github/codeql- action from 3.29.7 to 3.29.11 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/252"> expressjs/compression#252</a></li> <li>build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/251"> expressjs/compression#251</a></li> <li>build(deps): bump actions/setup- node from 4.4.0 to 6.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/261"> expressjs/compression#261</a></li> <li>build(deps): bump github/codeql- action from 3.29.11 to 4.31.2 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/260"> expressjs/compression#260</a></li> <li>build(deps): bump actions/upload- artifact from 4.6.2 to 5.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/259"> expressjs/compression#259</a></li> <li>build(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/258"> expressjs/compression#258</a></li> <li>build(deps): bump coverallsapp/github-action from 2.3.6 to 2.3.7 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/264"> expressjs/compression#264</a></li> <li>build(deps): bump actions/checkout from 5.0.0 to 6.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/263"> expressjs/compression#263</a></li> <li>build(deps): bump github/codeql- action from 4.31.2 to 4.31.5 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/262"> expressjs/compression#262</a></li> <li>chore: up node version to 25.x in CI by <a href="https://github.com/imangas"><code>@βimangas</code></a> in <a href="https://redirect.github.com/expressjs/compression/pull/272">exp ressjs/compression#272</a></li> <li>doc(package): remove history.md and add readme.md to published files by <a href="https://github.com/sheplu"><code>@βsheplu</code></a> in <a href="h ttps://redirect.github.com/expressjs/compression/pull/270">expressjs/com pression#270</a></li> <li>Update link to CONTRIBUTING.md by <a href="https://github.com/krzysdz"><code>@βkrzysdz</code></a> in <a href= "https://redirect.github.com/expressjs/compression/pull/281">expressjs/c ompression#281</a></li> <li>test: run CI on Windows and macOS by <a href ="https://github.com/kilisamemarisaaa"><code>@βkilisamemarisaaa</code></ a> in <a href="https://redirect.github.com/expressjs/compression/pull/28 3">expressjs/compression#283</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/257"> expressjs/compression#257</a></li> <li>build(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/268"> expressjs/compression#268</a></li> <li>build(deps): bump github/codeql- action from 4.31.5 to 4.31.9 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/265"> expressjs/compression#265</a></li> <li>build(deps): bump actions/setup- node from 6.0.0 to 6.1.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/266"> expressjs/compression#266</a></li> <li>build(deps): bump actions/upload- artifact from 5.0.0 to 6.0.0 by <a href="https://github.com/dependabot"><code>@βdependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/compression/pull/267"> expressjs/compression#267</a></li> <li>chore(ci): npm-publish via reusable workflows by <a href="https://github.com/sheplu"><code>@βsheplu</code></a> in <a href="h ttps://redirect.github.com/expressjs/compression/pull/269">expressjs/com pression#269</a></li> <li>docs: update outdated Brotli note and fix npm install docs URL by <a href="https://github.com/Vansh1811"><code>@βVansh1811</code></a> in <a h ref="https://redirect.github.com/expressjs/compression/pull/276">express js/compression#276</a></li> <li>fix: match Cache-Control no-transform directive case-insensitively by <a href="https://github.com/vaibhavmashal"><code>@βvaibhavmashal</code></a> in <a href="https://redirect.github.com/expressjs/compression/pull/286"> expressjs/compression#286</a></li> <li>1.8.2 by <a href="https://github.com/UlisesGascon"><code>@βUlisesGascon</code></a> in <a href="https://redirect.github.com/expressjs/compression/pull/287"> expressjs/compression#287</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/imangas"><code>@βimangas</code></a> made their first contribution in <a href="https://redirect.github.com/express js/compression/pull/272">expressjs/compression#272</a></li> <li><a href="https://github.com/sheplu"><code>@βsheplu</code></a> made their first contribution in <a href="https://redirect.github.com/expressjs/com pression/pull/270">expressjs/compression#270</a></li> <li><a href="https://github.com/krzysdz"><code>@βkrzysdz</code></a> made their first contribution in <a href="https://redirect.github.com/expressjs/com pression/pull/281">expressjs/compression#281</a></li> <li><a href="https ://github.com/kilisamemarisaaa"><code>@βkilisamemarisaaa</code></a> made their first contribution in <a href="https://redirect.github.com/express js/compression/pull/283">expressjs/compression#283</a></li> <li><a href="https://github.com/Vansh1811"><code>@βVansh1811</code></a> made their first contribution in <a href="https://redirect.github.com/express js/compression/pull/276">expressjs/compression#276</a></li> <li><a href="https://github.com/vaibhavmashal"><code>@βvaibhavmashal</code></a> made their first contribution in <a href="https://redirect.github.com/ex pressjs/compression/pull/286">expressjs/compression#286</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/expressj s/compression/compare/v1.8.1...v1.8.2">https://github.com/expressjs/comp ression/compare/v1.8.1...v1.8.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="http s://github.com/expressjs/compression/blob/master/HISTORY.md">compression 's changelog</a>.</em></p> <blockquote> <h1>1.8.2</h1> <ul> <li>Fix <a h ref="https://www.cve.org/CVERecord?id=CVE-2026-87776">CVE-2026-87776</a> (<a href="https://github.com/expressjs/compression/security/advisories/GHSA- vc2v-76pw-4v95">GHSA-vc2v-76pw-4v95</a>)</li> <li>deps: add destroy@1.2.0</li> <li>Match <code>Cache-Control: no-transform</code> directive case-insensitively</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.co m/expressjs/compression/commit/0f9707417bd53d41a319fce8bdb80dfa08b435c8" ><code>0f97074</code></a> 1.8.2 (<a href="https://redirect.github.com/ex pressjs/compression/issues/287">#287</a>)</li> <li><a href="https://gith ub.com/expressjs/compression/commit/151f63e91e1b64f8fb0b064e19321a4f28db 6bff"><code>151f63e</code></a> fix: destroy compression stream on response close</li> <li><a href="https://github.com/expressjs/compressio n/commit/0a764956691bede2b62c711598ee65ea643d3b1e"><code>0a76495</code>< /a> fix: match Cache-Control no-transform directive case-insensitively (<a href="https://redirect.github.com/expressjs/compression/issues/286"> #286</a>)</li> <li><a href="https://github.com/expressjs/compression/com mit/c17b6e58ac914c84d9e3a64130dcc428e0e26887"><code>c17b6e5</code></a> docs: update outdated Brotli note and fix npm install docs URL (<a href= "https://redirect.github.com/expressjs/compression/issues/276">#276</a>) </li> <li><a href="expressjs/compression@11291 1abc46e0d8fa6c9793ef5005ca1d53ccb7c"><code>112911a</code></a> chore(ci): npm-publish via reusable workflows (<a href="https://redirect.github.com /expressjs/compression/issues/269">#269</a>)</li> <li><a href="https://g ithub.com/expressjs/compression/commit/1bf5eb0b5eaf5001af9782ade18c6cca6 90ccaad"><code>1bf5eb0</code></a> build(deps): bump actions/upload- artifact from 5.0.0 to 6.0.0 (<a href="https://redirect.github.com/expre ssjs/compression/issues/267">#267</a>)</li> <li><a href="https://github. com/expressjs/compression/commit/d8fe64d50081d4a13a8ea5c25a852ca27fde0b7 b"><code>d8fe64d</code></a> build(deps): bump actions/setup-node from 6.0.0 to 6.1.0 (<a href="https://redirect.github.com/expressjs/compressi on/issues/266">#266</a>)</li> <li><a href="https://github.com/expressjs/ compression/commit/b218ff54eb8e211100d8a6697d13cdc73fdb13b3"><code>b218f f5</code></a> build(deps): bump github/codeql-action from 4.31.5 to 4.31.9 (<a href="https://redirect.github.com/expressjs/compression/issue s/265">#265</a>)</li> <li><a href="https://github.com/expressjs/compress ion/commit/8a1cf8ecf948c28ffd3d29f942c9a310bc36e5c1"><code>8a1cf8e</code ></a> build(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 (<a href="https://redirect.github.com/expressjs/compression/issues/268"> #268</a>)</li> <li><a href="https://github.com/expressjs/compression/com mit/4a19855442b7ebfcea4f95caf491968108dc15b8"><code>4a19855</code></a> build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 (<a href="ht tps://redirect.github.com/expressjs/compression/issues/257">#257</a>)</l i> <li>Additional commits viewable in <a href="https://github.com/expres sjs/compression/compare/v1.8.1...v1.8.2">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for compression since your current version.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security- vulnerabilities/about-dependabot-security-updates#about-compatibility- scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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/tursodatabase/turso/network/alerts). </details> Closes #9871
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #284
Per RFC 9111 Section 5.2, Cache-Control directives are compared case-insensitively. Previously, \compression\ checked for
o-transform\ case-sensitively, so headers like \Cache-Control: No-Transform\ or \Cache-Control: NO-TRANSFORM\ were not recognized and responses were still compressed.
Changes
o-transform\ prevent compression.