Skip to content

Bump webpack-dev-middleware to 7.4.6 in Example - #272

Merged
Beamanator merged 2 commits into
mainfrom
claude-bumpWebpackDevMiddleware
Dec 2, 2026
Merged

Beamanator merged 2 commits into
mainfrom
claude-bumpWebpackDevMiddleware

Conversation

@MelvinBot

Copy link
Copy Markdown
Contributor

Details

Bumps transitive dev dep webpack-dev-middleware 7.4.2 → 7.4.6 in Example/yarn.lock. webpack-dev-server already allows ^7.4.2, so only the lockfile changes. New deps: memfs ^4.43.1, mime-types ^3.0.1.

Usage: Only the Example app's web dev server (yarn web → webpack serve) uses it to serve bundles from memory. The published library doesn't use it.

Change Log
  • 7.4.6: Reject requests resolving outside the output directory (GHSA-g84c-rxfj-3j2c).
  • 7.4.5: Unpin memfs.
  • 7.4.4: Pin memfs.
  • 7.4.3: Don't call next middleware for 304 responses or finished/errored requests.

⚠️ I edited the lockfile by hand (yarn wasn't available) with registry versions, hashes, and integrity values. I didn't run yarn install locally, so step 1 is required.

Manual tests

  1. cd Example && yarn install --frozen-lockfile passes.
  2. yarn web starts, and the app at http://localhost:8080 renders QR codes.
  3. Edit Example/src → page hot-reloads.
  4. curl --path-as-is http://localhost:8080/../package.json → 404, not file contents.

What this fixes

Dependabot alert #311: path traversal via non-slash-terminated publicPath.

Checklist

  • I have described the bug/issue
  • I have provided reproduction in Example App
  • I have tested that solution works on Example App on all platforms:
    • Android
    • iOS
    • Web

Screenshots/Videos

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@danieldoglas
danieldoglas requested a review from a team October 30, 2026 14:45
@melvin-bot
melvin-bot Bot requested review from Beamanator and removed request for a team October 30, 2026 14:45
@danieldoglas

Copy link
Copy Markdown
Contributor

@MelvinBot merge main here please

@danieldoglas

Copy link
Copy Markdown
Contributor

I have read the CLA Document and I hereby sign the CLA

@danieldoglas

Copy link
Copy Markdown
Contributor

recheck

exfy-clabot Bot added a commit to Expensify/CLA that referenced this pull request Dec 2, 2026
@danieldoglas

Copy link
Copy Markdown
Contributor

@Beamanator please review/merge this 🙇🏾

@Beamanator

Copy link
Copy Markdown
Contributor

oops reviewing now!!

@Beamanator Beamanator left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Beamanator
Beamanator merged commit d70a1fc into main Dec 2, 2026
5 of 7 checks passed
@os-botify

os-botify Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

🚀 Published to npm in 6.3.57 🎉

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.

3 participants