@vitest/expect
npm17.3k GitHub starsv5.0.5 · Oct 2026 · MIT (top-level declared license)
npm install @vitest/expect- No known CVEs
- 466.7M downloads/mo
- 213 versions
Description
Next generation testing framework powered by Vite.
Licenses
Declared license
MIT (top-level declared license of @vitest/expect)
Transitive dependency licenses
@vitest/expect pulls in 10 transitive dependencies, all under the permissive MIT license.
| License | Category | Dependencies |
|---|---|---|
| MIT | Permissive | 10 of 10 |
This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.
License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.
Need @vitest/expect approved? Get the full license and vulnerability report for your codebase. Scan free.
Scan freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 4.1.12 | Oct 2026 | |
| 5.0.5 | Oct 2026 | MIT |
| 5.0.4 | Oct 2026 | |
| 5.0.3 | Sep 2026 | |
| 5.0.2 | Sep 2026 | |
| 5.0.1 | Sep 2026 | |
| 5.0.0 | Sep 2026 | |
| 4.1.11 | Aug 2026 | |
| 4.1.10 | Jul 2026 | |
| 3.2.7 | Jul 2026 | |
| 4.1.9 | Jun 2026 | |
| 3.2.6 | Jun 2026 | |
| 3.2.5 | Jun 2026 | |
| 4.1.8 | Jun 2026 | |
| 4.1.7 | May 2026 | |
| 4.1.6 | May 2026 | |
| 4.1.5 | Apr 2026 | |
| 4.1.4 | Apr 2026 | |
| 4.1.3 | Apr 2026 | |
| 4.1.2 | Mar 2026 | |
| 4.1.1 | Mar 2026 | |
| 4.1.0 | Mar 2026 | |
| 4.0.18 | Jan 2026 | |
| 4.0.17 | Jan 2026 | |
| 4.0.16 | Dec 2025 |
25 older releases
| Version | Published | License |
|---|---|---|
| 4.0.15 | Dec 2025 | |
| 4.0.14 | Nov 2025 | |
| 4.0.13 | Nov 2025 | |
| 4.0.12 | Nov 2025 | |
| 4.0.11 | Nov 2025 | |
| 4.0.10 | Nov 2025 | |
| 4.0.9 | Nov 2025 | |
| 4.0.8 | Nov 2025 | |
| 4.0.7 | Nov 2025 | |
| 4.0.6 | Oct 2025 | |
| 4.0.5 | Oct 2025 | |
| 4.0.4 | Oct 2025 | |
| 4.0.3 | Oct 2025 | |
| 4.0.2 | Oct 2025 | |
| 4.0.1 | Oct 2025 | |
| 4.0.0 | Oct 2025 | |
| 3.2.4 | Jun 2025 | |
| 3.2.3 | Jun 2025 | |
| 3.2.2 | Jun 2025 | |
| 3.2.1 | Jun 2025 | |
| 3.2.0 | Jun 2025 | |
| 3.1.4 | May 2025 | |
| 3.1.3 | May 2025 | |
| 3.1.2 | Apr 2025 | |
| 3.1.1 | Mar 2025 |
Latest pre-release: 5.1.0-beta.1 (Oct 2026). Pre-releases (canary, beta, release candidate and similar) are not listed.
npm install @vitest/expect resolves to the 5.x line today. Older major lines may still receive fixes.
Dependencies
Direct dependencies
6 direct dependencies, 10 in total including transitive. Licenses across the full tree are summarized under Licenses.
| Package | Version range | License |
|---|---|---|
| @standard-schema/spec | ^1.1.0 | MIT |
| @types/chai | ^5.2.2 | MIT |
| @vitest/spy | 5.0.5 | MIT |
| @vitest/utils | 5.0.5 | MIT |
| chai | ^6.3.0 | MIT |
| tinyrainbow | ^3.2.0 | MIT |
Dependents
- vitest
Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.
Popularity
- Downloads last month
- 466.7M
- Known dependents in this corpus
- 27
- GitHub stars
- 17.3k
FAQ
- What is the latest version of @vitest/expect?
- The latest version of @vitest/expect is 5.0.5, published October 2026.
- What license is @vitest/expect under?
- @vitest/expect declares MIT as its top-level declared license. Its dependency tree spans 1 distinct licenses.
- Does @vitest/expect have known vulnerabilities?
- No known CVEs are recorded against published versions of @vitest/expect.
- How do I install @vitest/expect?
- Install @vitest/expect with npm install @vitest/expect.
- How do I generate an SBOM that includes @vitest/expect?
- FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes @vitest/expect. Generate an SPDX or CycloneDX SBOM free.