Skip to content

chore: Bump vitest from 3.1.1 to 4.1.11 - #4118

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.11
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.11

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Bumps vitest from 3.1.1 to 4.1.11.

Release notes

Sourced from vitest's releases.

v4.1.11

   🐞 Bug Fixes

    View changes on GitHub

v4.1.10

   🐞 Bug Fixes

    View changes on GitHub

v4.1.9

🐞 Bug Fixes

View changes on GitHub

v4.1.8

   🐞 Bug Fixes

    View changes on GitHub

v4.1.7

   🐞 Bug Fixes

    View changes on GitHub

... (truncated)

Commits
  • 9bd8d46 chore: release v4.1.11 (#10995)
  • 9851dbc fix(browser): trigger playwright/chromium gc on lower disk availability [back...
  • db616d2 chore: release v4.1.10 (#10718)
  • bae52b5 fix(vm): fix external module resolve error with deps optimizer query for enco...
  • a7a61e7 chore: release v4.1.9 (#10598)
  • 934b0f5 fix(pool): prevent test run hang on worker crash (#10543) [backport to v4] (#...
  • 7fb2965 fix(browser): wait for orchestrator readiness before resolving browser sessio...
  • a518019 fix: fix importOriginal with optimizer and query import [backport to v4] (#...
  • e61f2dd chore: release v4.1.8
  • e4067b3 fix(browser): disable client cdp API when allowWrite/allowExec: false [ba...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 10, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 10, 2026 08:14
@dependabot
dependabot Bot deployed to default-branch September 10, 2026 08:15 Active
@socket-security

socket-security Bot commented Sep 10, 2026 •

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
Updatedvitest@​3.1.1 ⏵ 4.1.1198 +12100 +757999 +1100
Updatednanoid@​3.3.18 ⏵ 3.3.2010010081 +194100

View full report

@socket-security

socket-security Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Warning

MetaMask internal reviewing guidelines:

  • Do not ignore-all
  • Each alert has instructions on how to review if you don't know what it means. If lost, ask your Security Liaison or the supply-chain group
  • Copy-paste ignore lines for specific packages or a group of one kind with a note on what research you did to deem it safe.
    @SocketSecurity ignore npm/PACKAGE@VERSION
Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Potential code anomaly (AI signal): npm @vitest/snapshot is 74.0% likely to have a medium risk anomaly

Notes: Not obviously malware, but this snapshot module contains a high-impact dynamic code execution primitive: it evaluates snapshot file contents using new Function('exports', snapshotContents). If snapshot contents can be influenced by an attacker, it becomes a direct arbitrary code execution vector during test execution. It also writes/deletes snapshot and test files via the provided snapshot environment; otherwise it performs typical snapshot comparison/serialization logic with no network exfiltration indicators.

Confidence: 0.74

Severity: 0.63

From: packages/snaps-controllers/package.json → npm/vitest@4.1.11 → npm/@vitest/snapshot@4.1.11

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@vitest/snapshot@4.1.11. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Potential code anomaly (AI signal): npm es-module-lexer is 74.0% likely to have a medium risk anomaly

Notes: A WebAssembly-backed parser wrapper (package/dist/lexer.js) executes substrings extracted from untrusted input using (0, eval) during parsing, enabling arbitrary JavaScript execution if attacker-controlled data reaches the eval path. The threat also includes potential sensitive data leakage through error messages. Disable parse() on untrusted input or sandbox/replace builds to mitigate this risk.

Confidence: 0.74

Severity: 0.78

From: packages/snaps-controllers/package.json → npm/vitest@4.1.11 → npm/es-module-lexer@2.3.2

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/es-module-lexer@2.3.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Potential code anomaly (AI signal): npm es-module-lexer is 70.0% likely to have a medium risk anomaly

Notes: A WASM-backed parser wrapper copies caller input into WASM memory and conditionally executes eval() on substrings that resemble quoted literals, creating a potential code-execution risk in the calling process. Error messages may include slices of input, increasing the chance of sensitive data exposure; the embedded WASM payload is opaque and could contain additional, unseen behaviors.

Confidence: 0.70

Severity: 0.70

From: packages/snaps-controllers/package.json → npm/vitest@4.1.11 → npm/es-module-lexer@2.3.2

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/es-module-lexer@2.3.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Environment variable access: npm obug reads DEBUG

Env Vars: DEBUG

Location: Package overview

From: packages/snaps-controllers/package.json → npm/vitest@4.1.11 → npm/obug@2.2.1

ℹ Read more on: This package | This alert | What is environment variable access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/obug@2.2.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Environment variable access: npm obug

Location: Package overview

From: packages/snaps-controllers/package.json → npm/vitest@4.1.11 → npm/obug@2.2.1

ℹ Read more on: This package | This alert | What is environment variable access?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/obug@2.2.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

@dependabot
dependabot Bot deployed to default-branch September 10, 2026 08:16 Active
@dependabot
dependabot Bot deployed to default-branch September 10, 2026 08:17 Active
@dependabot
dependabot Bot deployed to default-branch September 10, 2026 08:19 Active
@dependabot
dependabot Bot deployed to default-branch September 10, 2026 08:19 Active
@dependabot
dependabot Bot deployed to default-branch September 10, 2026 08:22 Active
@metamask-ci
metamask-ci Bot deployed to default-branch September 10, 2026 08:23 Active
@metamask-ci
metamask-ci Bot deployed to default-branch September 10, 2026 08:24 Active
@metamask-ci
metamask-ci Bot deployed to default-branch September 10, 2026 08:25 Active
@metamask-ci
metamask-ci Bot deployed to default-branch September 10, 2026 08:27 Active
@metamask-ci
metamask-ci Bot deployed to default-branch September 10, 2026 08:27 Active
@metamask-ci
metamask-ci Bot deployed to default-branch September 10, 2026 08:31 Active
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.11 branch from 8ae1b2a to 1a354f8 Compare October 8, 2026 09:21
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 09:22 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 09:23 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 09:24 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 09:26 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 09:26 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 09:30 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 09:31 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 09:32 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 09:33 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 09:34 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 09:34 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 09:38 Active
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.1 to 4.1.11.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.11/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 4.1.11
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.11 branch from 423be65 to 07ddc12 Compare October 8, 2026 10:38
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 10:38 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 10:40 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 10:40 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 10:43 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 10:43 Active
@dependabot
dependabot Bot deployed to default-branch October 8, 2026 10:46 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 10:47 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 10:48 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 10:49 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 10:50 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 10:50 Active
@metamask-ci
metamask-ci Bot deployed to default-branch October 8, 2026 10:52 Active

This branch was successfully deployed

1 active deployment
default-branch — 19920512 Deployed Oct 8, 2026 by metamask-ci[bot] via Update pull request / Commit result #10263
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.

1 participant