{"bin":{"msw":"cli/index.js"},"bugs":{"url":"https://github.com/mswjs/msw/issues"},"dist":{"shasum":"5a51a7eebd334957fefb375b9d985e3893071ad3","tarball":"https://registry.npmjs.org/msw/-/msw-2.11.3.tgz","fileCount":556,"integrity":"sha512-878imp8jxIpfzuzxYfX0qqTq1IFQz/1/RBHs/PyirSjzi+xKM/RRfIpIqHSCWjH0GxidrjhgiiXC+DWXNDvT9w==","signatures":[{"sig":"MEQCIAjQ2dRJlUxHHpZYLIQ7rek19HhDc1EtR9pR/neHhIAFAiA+APTsPNjjzSO1CBDo65X0W6SLdMNlyMz3v9owzPIvvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/msw@2.11.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4558755},"main":"./lib/core/index.js","name":"msw","type":"commonjs","_from":"file:msw-2.11.3.tgz","types":"./lib/core/index.d.ts","author":{"url":"https://github.com/kettanaito","name":"Artem Zakharchenko"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"module":"./lib/core/index.mjs","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./lib/core/index.d.mts","default":"./lib/core/index.mjs"},"module":{"types":"./lib/core/index.d.mts","default":"./lib/core/index.mjs"},"default":{"types":"./lib/core/index.d.ts","default":"./lib/core/index.js"},"module-sync":{"types":"./lib/core/index.d.mts","default":"./lib/core/index.mjs"},"react-native":{"import":{"types":"./lib/core/index.d.mts","default":"./lib/core/index.mjs"},"default":{"types":"./lib/core/index.d.ts","default":"./lib/core/index.js"}}},"./node":{"node":{"import":"./lib/node/index.mjs","require":"./lib/node/index.js"},"import":{"types":"./lib/node/index.d.mts","default":"./lib/node/index.mjs"},"module":{"types":"./lib/node/index.d.mts","default":"./lib/node/index.mjs"},"browser":null,"default":{"types":"./lib/node/index.d.ts","default":"./lib/node/index.js"},"module-sync":{"types":"./lib/node/index.d.mts","default":"./lib/node/index.mjs"},"react-native":null},"./native":{"import":{"types":"./lib/native/index.d.mts","default":"./lib/native/index.mjs"},"browser":null,"default":{"types":"./lib/native/index.d.ts","default":"./lib/native/index.js"},"react-native":{"import":{"types":"./lib/native/index.d.mts","default":"./lib/native/index.mjs"},"default":{"types":"./lib/native/index.d.ts","default":"./lib/native/index.js"}}},"./browser":{"node":null,"import":{"types":"./lib/browser/index.d.mts","default":"./lib/browser/index.mjs"},"module":{"types":"./lib/browser/index.d.mts","default":"./lib/browser/index.mjs"},"browser":{"types":"./lib/browser/index.d.mts","default":"./lib/browser/index.mjs"},"default":{"types":"./lib/browser/index.d.ts","default":"./lib/browser/index.js"},"module-sync":{"types":"./lib/browser/index.d.mts","default":"./lib/browser/index.mjs"},"react-native":null},"./core/ws":{"import":{"types":"./lib/core/ws.d.mts","default":"./lib/core/ws.mjs"},"module":{"types":"./lib/core/ws.d.mts","default":"./lib/core/ws.mjs"},"default":{"types":"./lib/core/ws.d.ts","default":"./lib/core/ws.js"},"module-sync":{"types":"./lib/core/ws.d.mts","default":"./lib/core/ws.mjs"}},"./core/http":{"import":{"types":"./lib/core/http.d.mts","default":"./lib/core/http.mjs"},"module":{"types":"./lib/core/http.d.mts","default":"./lib/core/http.mjs"},"default":{"types":"./lib/core/http.d.ts","default":"./lib/core/http.js"},"module-sync":{"types":"./lib/core/http.d.mts","default":"./lib/core/http.mjs"}},"./core/graphql":{"import":{"types":"./lib/core/graphql.d.mts","default":"./lib/core/graphql.mjs"},"module":{"types":"./lib/core/graphql.d.mts","default":"./lib/core/graphql.mjs"},"default":{"types":"./lib/core/graphql.d.ts","default":"./lib/core/graphql.js"},"module-sync":{"types":"./lib/core/graphql.d.mts","default":"./lib/core/graphql.mjs"}},"./package.json":"./package.json","./mockServiceWorker.js":"./lib/mockServiceWorker.js"},"funding":"https://github.com/sponsors/mswjs","license":"MIT","scripts":{"knip":"knip","lint":"eslint \"{cli,src,test}/**/*.ts\"","test":"pnpm test:unit && pnpm test:node && pnpm test:browser && pnpm test:native","build":"pnpm clean && cross-env NODE_ENV=production tsup && pnpm patch:dts","clean":"rimraf ./lib","start":"tsup --watch","publint":"publint","release":"release publish","test:ts":"vitest --config=./test/typings/vitest.config.ts","test:e2e":"vitest run --config=./test/e2e/vitest.config.ts","patch:dts":"node \"./config/scripts/patch-ts.js\"","test:node":"vitest --config=./test/node/vitest.config.ts","test:unit":"vitest","postinstall":"node -e \"import('./config/scripts/postinstall.js').catch(() => void 0)\"","test:native":"vitest --config=./test/native/vitest.config.ts","test:browser":"playwright test -c ./test/browser/playwright.config.ts","test:modules:node":"vitest run --config=./test/modules/node/vitest.config.ts","test:modules:browser":"playwright test -c ./test/modules/browser/playwright.config.ts"},"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"homepage":"https://mswjs.io","keywords":["api","mock","mocking","worker","prototype","server","service","handler","testing","front-end","back-end"],"_resolved":"/private/var/folders/q0/wmf37v850txck86cpnvwm_zw0000gn/T/8f5bf46bbf0cc48e5ca4df7bacc5a314/msw-2.11.3.tgz","_integrity":"sha512-878imp8jxIpfzuzxYfX0qqTq1IFQz/1/RBHs/PyirSjzi+xKM/RRfIpIqHSCWjH0GxidrjhgiiXC+DWXNDvT9w==","repository":{"url":"git+https://github.com/mswjs/msw.git","type":"git"},"_npmVersion":"10.8.2","description":"Seamless REST/GraphQL API mocking library for browser and Node.js.","directories":{},"lint-staged":{"**/*.ts":["eslint --fix"],"**/*.{ts,json}":["prettier --write"]},"maintainers":[{"name":"kettanaito","email":"kettanaito@gmail.com"}],"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"yargs":"^17.7.2","graphql":"^16.8.1","rettime":"^0.7.0","type-fest":"^4.26.1","outvariant":"^1.4.3","picocolors":"^1.1.1","until-async":"^3.0.2","tough-cookie":"^6.0.0","@types/cookie":"^0.6.0","path-to-regexp":"^6.3.0","@types/statuses":"^2.0.4","is-node-process":"^1.2.0","headers-polyfill":"^4.0.2","@inquirer/confirm":"^5.0.0","@mswjs/interceptors":"^0.39.1","strict-event-emitter":"^0.5.1","@bundled-es-modules/cookie":"^2.0.1","@bundled-es-modules/statuses":"^1.0.1","@open-draft/deferred-promise":"^2.2.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.11.3","glob":"^11.0.0","knip":"^5.51.1","tsup":"^8.4.0","axios":"^1.6.5","jsdom":"^25.0.1","eslint":"^9.34.0","rimraf":"^6.0.1","undici":"^6.20.0","vitest":"^3.2.4","esbuild":"^0.25.3","express":"^5.0.0","fastify":"^4.26.0","publint":"^0.3.12","webpack":"^5.95.0","fs-extra":"^11.2.0","prettier":"^3.6.2","@swc/core":"^1.13.5","cross-env":"^7.0.3","page-with":"^0.6.1","@eslint/js":"^9.34.0","commitizen":"^4.3.1","typescript":"^5.9.2","url-loader":"^4.1.1","@types/node":"18.x","cross-fetch":"^4.0.0","fs-teardown":"^0.3.0","json-bigint":"^1.0.0","lint-staged":"^15.2.10","babel-minify":"^0.5.1","@ossjs/release":"^0.8.1","@types/express":"^4.17.21","esbuild-loader":"^4.2.2","@commitlint/cli":"^18.4.4","@web/dev-server":"^0.1.38","@eslint/eslintrc":"^3.3.1","@playwright/test":"^1.48.0","simple-git-hooks":"^2.9.0","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.42.0","@fastify/websocket":"^8.3.1","@types/json-bigint":"^1.0.4","regenerator-runtime":"^0.14.1","webpack-http-server":"^0.5.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@open-draft/test-server":"^0.4.2","@typescript-eslint/parser":"^8.42.0","cz-conventional-changelog":"3.3.0","vitest-environment-miniflare":"^2.14.4","@commitlint/config-conventional":"^18.4.4","@typescript-eslint/eslint-plugin":"^8.42.0","@graphql-typed-document-node/core":"^3.2.0"},"peerDependencies":{"typescript":">= 4.8.x"},"simple-git-hooks":{"commit-msg":"pnpm commitlint --edit $1","pre-commit":"pnpm lint-staged","prepare-commit-msg":"grep -qE '^[^#]' .git/COMMIT_EDITMSG || (exec < /dev/tty && pnpm cz --hook || true)"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/msw_2.11.3_1758371313004_0.5489833491304059","host":"s3://npm-registry-packages-npm-production"},"_id":"msw@2.11.3","version":"2.11.3"}