Skip to content

fix(compression): bump compression to 1.8.2 - #868

Closed
verheyenkoen wants to merge 1 commit into
vercel:mainfrom
verheyenkoen:main
Closed

verheyenkoen wants to merge 1 commit into
vercel:mainfrom
verheyenkoen:main

Conversation

@verheyenkoen

Copy link
Copy Markdown
Contributor

Fixes #867

@vercel

vercel Bot commented Oct 15, 2026

Copy link
Copy Markdown

@verheyenkoen is attempting to deploy a commit to the Internal Playground Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security

Copy link
Copy Markdown

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​compression@​1.8.1 ⏵ 1.8.299100 +16100 +186100

View full report

@verheyenkoen

Copy link
Copy Markdown
Contributor Author

@styfle Can you review please?

wormeyman added a commit to FactoryGameFan/factorio-blueprint-editor that referenced this pull request Oct 21, 2026
serve 14.2.6, the latest release, pins compression to exactly 1.8.1, which
leaks memory when a client aborts a compressed response
(GHSA-vc2v-76pw-4v95). An exact pin can't move with a lockfile update, so
this adds a scoped override, overrides.serve.compression = "1.8.2". 1.8.2
only fixes the leak and adds one dependency, destroy 1.2.0.

The upstream fix is vercel/serve#868. A Renovate note on serve PRs says
when to remove the override, and CLAUDE.md lists it as the one exception
to "an exact pin is not actionable".


Claude-Session: https://claude.ai/code/session_01EdUbVVSnMbzGbAUT94sk5k

Co-authored-by: Claude Opus 5.5 <[email protected]>
daedalist added a commit to daedalist/ghostbook that referenced this pull request Oct 26, 2026
Dependabot alert #161 (CVE-2026-87776, high) is a zlib memory leak in
compression < 1.8.2. The only path to it was serve, which pins
compression to exactly 1.8.1, so Dependabot cannot bump it and the
upstream fix (vercel/serve#868) has no release date.

The test-deployment job only needs to serve two static files to curl.
http-server is already a pinned devDependency used by the npm scripts,
so switch the job to it and drop serve entirely. The alert closes with
the dependency instead of waiting on upstream.

Verified locally: built the site, started http-server on 8080 with the
workflow's command, and both / and /index.html returned 200.

Co-authored-by: Dave <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
rickbeerendonk added a commit to rickbeerendonk/solidjs-examples that referenced this pull request Oct 27, 2026
opensource-fork-sync Bot pushed a commit to cla7aye15I4nd/opensource-ionic-team__ionic-framework that referenced this pull request Oct 31, 2026
…#31616)

Issue number: resolves internal

---------

## What is the current behavior?

Dependabot and `npm audit` report high and critical alerts against the
lock files in `core` and `packages/*`. None of them reach users: lock
files are not published, and our declared ranges already resolve to the
patched versions on a fresh install. The alerts are noise that can bury
a real one.

## What is the new behavior?

- Updated the vulnerable packages, and the parents that pin them, within
the existing ranges.
- Added an override in `core` for `compression` under `serve`, since the
latest `serve` pins the vulnerable version. Remove it once a `serve`
release includes vercel/serve#868.
- `migrate` moves to `vite` 7.3.7 rather than the latest 8.x, which
would swap its test bundler for Rolldown.
- Angular dev dependencies move from 22.0 to 22.2. Angular 22.2 dropped
the private `contexts` field from the `ChildrenOutletContexts` typings,
so `ion-router-outlet` now casts to a local type when it saves and
restores tab state. The field still exists at runtime, so behavior is
unchanged.
- `@angular/cli` 22.2 no longer bundles its MCP server, which accounts
for most of the removals in the Angular lock file.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

## Other information

Test app and root lock files are updated in ionic-team#31617. The `postcss` 7
alerts in `core` remain: they come from `stylelint` 13 and need a
`stylelint` upgrade, as noted in ionic-team#31436.

---------

Co-authored-by: Brandy Smith <[email protected]>
@pmdarrow

Copy link
Copy Markdown

Any chance this could be merged? We've have a Dependabot alert open for this for 38d 😞

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

High severity vulnerability in compression<1.8.2 CVE-2026-87776

2 participants