Skip to content

chore(deps): bump multer from 2.0.2 to 2.1.0#139

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/multer-2.1.0
Closed

chore(deps): bump multer from 2.0.2 to 2.1.0#139
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/multer-2.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 3, 2026

Bumps multer from 2.0.2 to 2.1.0.

Release notes

Sourced from multer's releases.

v2.1.0

Important

What's Changed

New Contributors

Full Changelog: expressjs/multer@v2.0.2...v2.1.0

Changelog

Sourced from multer's changelog.

2.1.0

Commits

Dependabot compatibility score

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 commands and options

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.

Summary by cubic

Upgrade multer to 2.1.0 to patch security issues (CVE-2026-2359, CVE-2026-3304) and improve upload handling. This impacts API file uploads and adds optional UTF-8 filename support via the new defParamCharset option.

  • Migration
    • No changes required. If you need UTF-8 filename parsing, set defParamCharset: 'utf-8' in multer config.

Written for commit 52e5180. Summary will update on new commits.

Bumps [multer](https://github.com/expressjs/multer) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](expressjs/multer@v2.0.2...v2.1.0)

---
updated-dependencies:
- dependency-name: multer
  dependency-version: 2.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 3, 2026
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Mar 3, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Mar 3, 2026

Greptile Summary

This PR is a Dependabot security bump of multer from 2.0.2 to 2.1.0 in apps/api/package.json, patching two CVEs (CVE-2026-2359 and CVE-2026-3304) that affect multipart file upload handling in the NestJS API. Both the package.json and pnpm-lock.yaml have been updated correctly.

Key observations:

  • apps/api/package.json is correctly updated alongside the lock file, satisfying the project requirement to update both files in automated dependency PRs.
  • pnpm-lock.yaml includes several incidental package changes beyond just multer (e.g. @maxim_mazurok/gapi.client.drive-v3 bumped from 0.1.202511190.1.20260220, @nx/angular peer-dep hash change, new resolutions for esquery@1.7.0, lodash@4.17.23, minimatch@9.0.9, semver@7.7.4). These appear to be normal pnpm resolution side-effects but should be confirmed by running the test suite before merging.
  • The lock file also now records a deprecation warning on next@14.2.33 noting a security vulnerability; this is pre-existing and unrelated to this PR, but worth tracking in a separate issue.

Confidence Score: 5/5

  • This PR is safe to merge — it is a targeted security patch with no API-breaking changes in the minor version bump.
  • The change is a minor semver bump (2.0.22.1.0) that fixes two known CVEs. Both package.json and the lock file are consistently updated. The incidental lock file changes are typical pnpm resolution side-effects and do not introduce risk on their own. Running the existing test suite before merging is recommended as a standard precaution.
  • No files require special attention, though the incidental lock file changes (new package resolutions, next@14.2.33 deprecation) should be noted for future follow-up.

Sequence Diagram

sequenceDiagram
    participant Client
    participant NestJS API
    participant Multer 2.1.0
    participant Storage

    Client->>NestJS API: HTTP multipart/form-data upload
    NestJS API->>Multer 2.1.0: parse request (CVE-2026-2359 & CVE-2026-3304 patched)
    Multer 2.1.0->>Multer 2.1.0: validate & sanitize file fields
    Multer 2.1.0->>Storage: write file to disk / memory
    Storage-->>Multer 2.1.0: success
    Multer 2.1.0-->>NestJS API: req.file / req.files populated
    NestJS API-->>Client: response
Loading

Last reviewed commit: 52e5180

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 3, 2026

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 5, 2026

Superseded by #140.

@dependabot dependabot Bot closed this Mar 5, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/multer-2.1.0 branch March 5, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants