msw 1.0.1
Seamless REST/GraphQL API mocking library for browser and Node.js.
msw@1.0.1 was published on 2023-02-10. Its manifest declares 19 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.
All msw versions · Permanent reference to 1.0.1 · Latest release
Package specifications
| Version | 1.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2023-02-10T01:29:46.802Z |
| Node.js requirement | >=14 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 19 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1948.75 KiB |
| Published file count | 37 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./lib/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 137 |
| Repository stars | 18307 |
| Repository forks | 642 |
Install msw 1.0.1
npm install msw@1.0.1 pnpm add msw@1.0.1 yarn add msw@1.0.1
Runtime dependencies
- chalk 4.1.1
- yargs ^17.3.1
- cookie ^0.4.2
- graphql ^15.0.0 || ^16.0.0
- chokidar ^3.4.2
- inquirer ^8.2.0
- type-fest ^2.19.0
- node-fetch ^2.6.7
- outvariant ^1.3.0
- @types/cookie ^0.4.1
- @mswjs/cookies ^0.2.2
- js-levenshtein ^1.1.6
- path-to-regexp ^6.2.0
- is-node-process ^1.0.1
- headers-polyfill ^3.1.0
- @open-draft/until ^1.0.3
- @mswjs/interceptors ^0.17.5
- strict-event-emitter ^0.4.3
- @types/js-levenshtein ^1.1.1
Peer requirements
- typescript >= 4.4.x <= 4.9.x (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @inquirer/external-editor@1.0.3 — indirect
- @mswjs/cookies@0.2.2 — direct
- @mswjs/interceptors@0.17.10 — direct
- @open-draft/until@1.0.3 — direct
- @types/cookie@0.4.1 — direct
- @types/debug@4.1.13 — indirect
- @types/js-levenshtein@1.1.3 — direct
- @types/ms@2.1.0 — indirect
- @types/node@26.6.5 — indirect
- @types/set-cookie-parser@2.4.10 — indirect
- @xmldom/xmldom@0.8.15 — indirect
- @zxing/text-encoding@0.9.0 — indirect
- ansi-escapes@4.3.2 — indirect
- ansi-regex@5.0.1 — indirect
- ansi-styles@4.3.0 — indirect
- anymatch@3.1.3 — indirect
- async-function@1.0.0 — indirect
- async-generator-function@1.0.0 — indirect
- available-typed-arrays@1.0.7 — indirect
- base64-js@1.5.1 — indirect
- binary-extensions@2.3.0 — indirect
- bl@4.1.0 — indirect
- braces@3.0.3 — indirect
- buffer@5.7.1 — indirect
- call-bind@1.0.9 — indirect
- call-bind-apply-helpers@1.0.2 — indirect
- call-bound@1.0.4 — indirect
- chalk@4.1.1 — direct
- chardet@2.2.0 — indirect
- chokidar@3.6.0 — direct
- cli-cursor@3.1.0 — indirect
- cli-spinners@2.9.2 — indirect
- cli-width@3.0.0 — indirect
- cliui@8.0.1 — indirect
- clone@1.0.4 — indirect
- color-convert@2.0.1 — indirect
- color-name@1.1.4 — indirect
- cookie@0.4.2 — direct
- debug@4.4.3 — indirect
- defaults@1.0.4 — indirect
- define-data-property@1.1.4 — indirect
- dunder-proto@1.0.1 — indirect
- emoji-regex@8.0.0 — indirect
- es-define-property@1.0.1 — indirect
- es-errors@1.3.0 — indirect
- es-object-atoms@1.1.2 — indirect
- escalade@3.2.0 — indirect
- escape-string-regexp@1.0.5 — indirect
- events@3.3.0 — indirect
- figures@3.2.0 — indirect
- fill-range@7.1.1 — indirect
- for-each@0.3.5 — indirect
- fsevents@2.3.3 — indirect
- function-bind@1.1.2 — indirect
- generator-function@2.0.1 — indirect
- get-caller-file@2.0.5 — indirect
- get-intrinsic@1.3.1 — indirect
- get-proto@1.0.1 — indirect
- glob-parent@5.1.2 — indirect
- gopd@1.2.0 — indirect
- graphql@16.14.2 — direct
- has-flag@4.0.0 — indirect
- has-property-descriptors@1.0.2 — indirect
- has-symbols@1.1.0 — indirect
- has-tostringtag@1.0.2 — indirect
- hasown@2.0.4 — indirect
- headers-polyfill@3.2.5 — indirect
- headers-polyfill@3.3.0 — direct
- iconv-lite@0.7.3 — indirect
- ieee754@1.2.1 — indirect
- inherits@2.0.4 — indirect
- inquirer@8.2.7 — direct
- is-arguments@1.2.0 — indirect
- is-binary-path@2.1.0 — indirect
- is-callable@1.2.7 — indirect
- is-extglob@2.1.1 — indirect
- is-fullwidth-code-point@3.0.0 — indirect
- is-generator-function@1.1.2 — indirect
- is-glob@4.0.3 — indirect
- is-interactive@1.0.0 — indirect
- is-node-process@1.2.0 — direct
- is-number@7.0.0 — indirect
- is-regex@1.2.1 — indirect
- is-typed-array@1.1.15 — indirect
- is-unicode-supported@0.1.0 — indirect
- js-levenshtein@1.1.6 — direct
- lodash@4.18.1 — indirect
- log-symbols@4.1.0 — indirect
- math-intrinsics@1.1.0 — indirect
- mimic-fn@2.1.0 — indirect
- ms@2.1.3 — indirect
- mute-stream@0.0.8 — indirect
- node-fetch@2.7.0 — direct
- normalize-path@3.0.0 — indirect
- onetime@5.1.2 — indirect
- ora@5.4.1 — indirect
- outvariant@1.4.3 — direct
- path-to-regexp@6.3.0 — direct
- picomatch@2.3.2 — indirect
- possible-typed-array-names@1.1.0 — indirect
- readable-stream@3.6.2 — indirect
- readdirp@3.6.0 — indirect
- require-directory@2.1.1 — indirect
- restore-cursor@3.1.0 — indirect
- run-async@2.4.1 — indirect
- rxjs@7.8.2 — indirect
- safe-buffer@5.2.1 — indirect
- safe-regex-test@1.1.0 — indirect
- safer-buffer@2.1.2 — indirect
- set-cookie-parser@2.7.3 — indirect
- set-function-length@1.2.2 — indirect
- signal-exit@3.0.7 — indirect
- strict-event-emitter@0.2.8 — indirect
- strict-event-emitter@0.4.6 — direct
- string-width@4.2.3 — indirect
- string_decoder@1.3.0 — indirect
- strip-ansi@6.0.1 — indirect
- supports-color@7.2.0 — indirect
- through@2.3.8 — indirect
- to-regex-range@5.0.1 — indirect
- tr46@0.0.3 — indirect
- tslib@2.8.1 — indirect
- type-fest@0.21.3 — indirect
- type-fest@2.19.0 — direct
- undici-types@8.9.0 — indirect
- util@0.12.5 — indirect
- util-deprecate@1.0.2 — indirect
- wcwidth@1.0.1 — indirect
- web-encoding@1.1.5 — indirect
- webidl-conversions@3.0.1 — indirect
- whatwg-url@5.0.0 — indirect
- which-typed-array@1.1.24 — indirect
- wrap-ansi@6.2.0 — indirect
- wrap-ansi@7.0.0 — indirect
- y18n@5.0.8 — indirect
- yargs@17.7.3 — direct
- yargs-parser@21.1.1 — indirect
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.
| Maintained | 10/10 — 9 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/msw/1.0.1 — retrieved 2026-10-29T19:29:29.482Z
- https://api.deps.dev/v3/projects/github.com%2Fmswjs%2Fmsw — retrieved 2026-10-29T18:51:48.563Z
- https://api.deps.dev/v3/systems/npm/packages/msw/versions/1.0.1 — retrieved 2026-10-29T19:29:30.048Z
- https://api.deps.dev/v3/systems/npm/packages/msw/versions/1.0.1:dependencies — retrieved 2026-10-29T19:29:30.084Z