msw 2.6.0

Seamless REST/GraphQL API mocking library for browser and Node.js.

msw@2.6.0 was published on 2024-10-29. Its manifest declares 18 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=18.

All msw versions · Permanent reference to 2.6.0 · Latest release

Package specifications

Version2.6.0
License declarationMIT
Published2024-10-29T11:46:28.300Z
Node.js requirement>=18
Type declarationsBundled declarations
Runtime dependency count18
Peer requirement count1
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size4319.65 KiB
Published file count535
Package typeNot declared
ES module entry./lib/core/index.mjs
Default entry./lib/core/index.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies55
Repository stars18307
Repository forks642

Install msw 2.6.0

npm install msw@2.6.0
pnpm add msw@2.6.0
yarn add msw@2.6.0

Runtime dependencies

Peer requirements

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 9 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Code-Review0/10 — Found 0/30 approved changesets -- score normalized to 0
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
Binary-Artifacts10/10 — no binaries found in the repo
Pinned-Dependencies10/10 — all dependencies are pinned
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
Security-Policy0/10 — security policy file not detected
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness