{"_id":"cypress-msw-interceptor","_rev":"11-976964d8ba451cb59ffb00c3dd24a545","name":"cypress-msw-interceptor","dist-tags":{"latest":"2.2.0"},"versions":{"0.0.0-alpha.0":{"name":"cypress-msw-interceptor","version":"0.0.0-alpha.0","description":"A networking layer for Cypress using MSW","main":"index.js","bin":{"cypress-msw-interceptor":"cli/index.js"},"scripts":{"start":"snowpack dev","postinstall":"./cli/index.js init public","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.0","cypress-wait-until":"^1.7.1","lodash":"^4.17.20","msw":"^0.21.2","react":"^16.13.1","react-dom":"^16.13.1","yargs":"^16.0.3"},"peerDependencies":{"cypress":"3 || 4"},"devDependencies":{"@snowpack/app-scripts-react":"^1.10.0","@testing-library/cypress":"^7.0.0","babel-eslint":"^10.1.0","cypress":"^5.1.0","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-cypress":"^2.11.1","eslint-plugin-import":"^2.20.2","eslint-plugin-react":"^7.19.0","is-ci-cli":"^2.0.0","npm-run-all":"^4.1.5","prettier":"^2.1.1","snowpack":"^2.11.1","start-server-and-test":"^1.11.3"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","gitHead":"f782a4cd877205357393c1e767eb232b4bd87e9b","_id":"cypress-msw-interceptor@0.0.0-alpha.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-v3cgTljGsw6pJyj0czf9A+emmL8OJ3dwCUfe+MBmu4HsmxPL5GSh9PYHF2syyQ1mZMdyTQXGOtHdajk/+VwQRg==","shasum":"ba272ba23852520c80d1b1179f5b624312561351","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-0.0.0-alpha.0.tgz","fileCount":24,"unpackedSize":36161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfX2moCRA9TVsSAnZWagAAqz4P/3r7f2jrhj7t5ksSlVhX\nAaXsv8qYR7mQWz4BtuSe/g3fb6eFWH2YbnSDw4ROZ1Av3QclDIGZluX9fBYG\nppfif/GNXRuUWw4RR2A/D+SOysDYfwhfOv5/niIEyt2kbr620zwjSSM7ituQ\nH7o/YDocoi5SzolIOi9YS3eXGIujrdIyC+l1MOnDP37lg2kJ/Il49q4BQ0Pm\nYz0u/qml38Uqk/P9Gn2s9D3NKUl18jfBUUqN79eZcWYKTyUqmMhnK1KbgL+I\nj7DPFSjuFG1UYnKeS818M556mlH/edOT+msDBz6D1XTwQL2Jv0yOKxcEG7Y7\n/wAI0e58hC80ZWdDy4fq3557xbEE4wMNFmkrTpC06IbYtnDUrMikdy0sNUEq\ntG+ZMh15mfigMC4IQCr5jHi35hpvfPrr5vOCZ/CeZ85L8sB6MKlR4rtMU6qc\nXUsGKgPr6+egHTAmCVniCmLIqMTZiMY/HiuDMDtfSnC342sGo5SzWJZpxfwl\nrQrdqANNyUioEaDPSR2ZZT8MnWw0ST6ATaRlbPYH976kHcg501j8yQOQ24vi\nVcYkvVdfGdYzP7N5Xew3kcDvwOZxO8BOlVeMVgQ6vcXBUYBLqKVXWXt4AB5J\nDa8ppYTcBAyYjhr08naZD6jSxfP33/+oAwEGC9AFCLpmvtmqTVCJHoq0gpJe\nnwS3\r\n=45in\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOLjVPT2YuxOPuk2s5nr6H3yJ0N6K5Sc0at8dby+trTgIhAOZGcNqWtxK6EJkl7sra7r3fYY/NxCzIZq9BSqky5oUn"}]},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_0.0.0-alpha.0_1600088488068_0.4208093326356437"},"_hasShrinkwrap":false},"0.0.0-alpha.1":{"name":"cypress-msw-interceptor","version":"0.0.0-alpha.1","description":"A networking layer for Cypress using MSW","main":"index.js","bin":{"cypress-msw-interceptor":"cli/index.js"},"scripts":{"start":"snowpack dev","postinstall":"./cli/index.js init public","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.0","cypress-wait-until":"^1.7.1","lodash":"^4.17.20","msw":"^0.21.2","react":"^16.13.1","react-dom":"^16.13.1","yargs":"^16.0.3"},"peerDependencies":{"cypress":"3 || 4"},"devDependencies":{"@snowpack/app-scripts-react":"^1.10.0","@testing-library/cypress":"^7.0.0","babel-eslint":"^10.1.0","cypress":"^5.1.0","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-cypress":"^2.11.1","eslint-plugin-import":"^2.20.2","eslint-plugin-react":"^7.19.0","is-ci-cli":"^2.0.0","npm-run-all":"^4.1.5","prettier":"^2.1.1","snowpack":"^2.11.1","start-server-and-test":"^1.11.3"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","gitHead":"20bcbd153333570e1aefed9622502d8b85bfa6e6","_id":"cypress-msw-interceptor@0.0.0-alpha.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-F1OqF1gorZEDDKHEFbpyxbDxyQLLvbAYFw6IEKqfPpteK7O+x0oxeiznOfdZV2TSuDxqUYURQiKhsNXloN+k6w==","shasum":"60634cd380d31afe23d6ee3c50490e7def2e508d","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-0.0.0-alpha.1.tgz","fileCount":25,"unpackedSize":44159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYKyaCRA9TVsSAnZWagAAzUMP/jeha7FklNRhFCmQ2LUc\n6i6BMe8LkILvnO3QoLy/FxOB4ZbDQOYkm3hYK9rN+k5wpR4FTvP3L6iTBb7j\n4FTZgYbM5thyUm53WKV+yGc+tlds0MsyBuFBuAsw1zWK5NPmrUkE8nB6Up9b\n+JQdVjiRQMkUzRmxxtIRJDUzQDyXnusazY29vfYTEVBh+O8K3TEt+BaYdBz/\nWeb8rfx5raUh18Nys5szNRkfVbH1NBptFx1Nuqn67bgDf7KIyWvHkGnRzgsI\n9ZzidG4mOEL2LdhFamm+3GwUURf1M0kczNeasUAJ/XEXPrPeCTr7q8uvkpI9\nZkW1ibIfYzjB2c/huLWwb6re0fGK9APZ6LSzthbfnO8KZ3hmW3pJwFcnuScR\nZaIv3Fl7tOz90+5swSqON6fs472XOggywkSgWwZFkWbPODaAfAQBRdp4Qfmw\n2JmmsBXARaSN8vudqkZ3AKqwp+B0N4526yYGHLttN/Tynvf+D3OEVqt8oRnG\nOx8rPAEJp5CEf96XORvF2RqP2CIEgFtp1nWaoxsXtCnbSo5E2i8fjBrI+9US\n6tY7p2VcFiphmhKpS01DHWiVsvay1ndeyoMS9+J9j9C3xAzEtw8vO1qoWaZm\naVtFOC0nD73YJ5Wl0yMvtVUjmLFi0RusQ6fQgz4T+eKnjpyZOZkV4aFVQADw\njkQc\r\n=EC2Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8hgdusx+i8z6rImVT8cR4Sp58KsoIk+AIGR0uFXHyjAiEA+gE1zQSSGeI8vNY0ICaxWqPJj/uf974wQc2khod1xQs="}]},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_0.0.0-alpha.1_1600171161460_0.9757518818103745"},"_hasShrinkwrap":false},"0.0.0-alpha.2":{"name":"cypress-msw-interceptor","version":"0.0.0-alpha.2","description":"A networking layer for Cypress using MSW","main":"index.js","bin":{"cypress-msw-interceptor":"cli/index.js"},"scripts":{"start":"snowpack dev","postinstall":"./cli/index.js init public","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.0","cypress-wait-until":"^1.7.1","lodash":"^4.17.20","msw":"^0.21.2","node-match-path":"^0.5.0","react":"^16.13.1","react-dom":"^16.13.1","yargs":"^16.0.3"},"peerDependencies":{"cypress":"3 || 4"},"devDependencies":{"@snowpack/app-scripts-react":"^1.10.0","@testing-library/cypress":"^7.0.0","babel-eslint":"^10.1.0","cypress":"^5.1.0","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-cypress":"^2.11.1","eslint-plugin-import":"^2.20.2","eslint-plugin-react":"^7.19.0","is-ci-cli":"^2.0.0","npm-run-all":"^4.1.5","prettier":"^2.1.1","snowpack":"^2.11.1","start-server-and-test":"^1.11.3"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","gitHead":"c4aa78881acc3ff342ad58255f642fe26b8b3ac5","_id":"cypress-msw-interceptor@0.0.0-alpha.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-vFj7HW0JiGlNT1MMVx5djjkS9vOE/DBrxrHeuxUr0whNLssBJ5nANPAiFCH9LxJwesanjfoTV8Szxckbeiq/qA==","shasum":"2e16bc15234739e2f448da91b1f6a1a6b1dcf176","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-0.0.0-alpha.2.tgz","fileCount":25,"unpackedSize":46032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfY2KECRA9TVsSAnZWagAADI4P/1jFKDUhpSMANRoBN1CW\n1MObLKm7haOjNspJcwHpxzp4TymCv00I9pk80k5KDvbo3CdAxtJsZz6hVYwI\nZrNI1avBE7uA+8LhTmpAJJ/tmAQJnT/1UZZSAc8AEIj+Snxstvi7ZnGs4wk4\nE33D6fb6rsKPvV5Luj8Q0xXJtewudDVoP33HySGNMT97J8j1CLZnDktyKKE3\n0WMBYXl5R+ioTqgdKVxbjRVU/z3f2A3ROzNaU96ojbp3tnM0TNbd2E7VHVCQ\njBqRoEfX4+PIwKSADUn09Ymp22/UZNzxbtpwjxlwTFUgn8ccwWvjJSmr5ttL\nqaml/9JYg2pDCCGu/KfhtJTxsccJ4/sY8sL+oM+29NV3Ab59Rx71qxF7cYll\nTmD7MKUlUxKe8Zd8bdaLuZYWfv7hfY5Aiyg8uM5Slz2nZsKZuth5hpk4x2L6\nUyyWauxC/K0TORimcCn6j+XGcA7NCtYTB+uDii34BZKQHyRaDJKh3vrHk56X\nHky2/wWr4EO/W3E0Md+HaEKdEi9T47WgJ5fUuVTviOwwRw/DUrvl6D7+CbSn\nEko1s1J1E4qFDGPgcr/Hb1W8UfM78P1hEECq2+J2IknkRfP2BB7zZGYi65oe\nyGfVRNDWnUEH3UohDUkMbDZAIyqb8pzv8wFQ5a2OGChQDLv8jtlMUrGSIox7\nKLpU\r\n=DoQE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpqzRvSGqcULFIAzr8yLKRo1qaQ90W6DXz9I+CmSKWDAiBA8Ks6sRvsXE2CcW+N+a3QcNMa+2fwB0cj+x/rva1cFA=="}]},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_0.0.0-alpha.2_1600348803875_0.94293249046513"},"_hasShrinkwrap":false},"1.0.0":{"name":"cypress-msw-interceptor","version":"1.0.0","description":"A networking layer for Cypress using MSW","main":"index.js","bin":{"cypress-msw-interceptor":"cli/index.js"},"scripts":{"start":"snowpack dev","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.0","cypress-wait-until":"^1.7.1","lodash":"^4.17.21","msw":"0.27.1","node-match-path":"^0.6.1","react":"^17.0.1","react-dom":"^17.0.1","yargs":"^16.2.0"},"peerDependencies":{"cypress":"3 || 4"},"devDependencies":{"@snowpack/app-scripts-react":"^2.0.0","@testing-library/cypress":"^7.0.4","babel-eslint":"^10.1.0","cypress":"^6.6.0","eslint":"^7.22.0","eslint-config-prettier":"^8.1.0","eslint-plugin-cypress":"^2.11.2","eslint-plugin-import":"^2.22.1","eslint-plugin-react":"^7.22.0","is-ci-cli":"^2.2.0","npm-run-all":"^4.1.5","prettier":"^2.2.1","snowpack":"^3.0.13","start-server-and-test":"^1.12.0"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","msw":{"workerDirectory":"public"},"gitHead":"65411e7bac77ec42ffbb66395b6b49e63b40c1c2","_id":"cypress-msw-interceptor@1.0.0","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-RXr1jhCBioasHSG+Go2gm8Q6ttQV3y9HZdi+S2wujFeEQc/0BCzK5KMsdwYeTq8LIZnXOXifpR3lrsACRIRXmQ==","shasum":"79223526133250f90a6babec05be2ec9c1b4df36","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-1.0.0.tgz","fileCount":23,"unpackedSize":45748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg64V4CRA9TVsSAnZWagAA8RgP/3UhATZtK6k8ibQZ+ZCP\nkIUMZPQQNx4Bty+aQIW0xz5fyY8/ZsQA7ORGr3uoT8JEBqW9KoYP1HqpPptZ\n5xUfu1prXUDaDaWh9q9EuargS9vg1jnPxg/fWkgwyODqZ6CbhSrTRqB9h+x4\nPkA9OBeVqKQ/neJbXatKe/lYDqmcjM9VQaDJD3w7+7fWc+C+ZudmEb0+K8ar\niF6PRyvRKteMpXC/qX2itIBKFUg6Pkw+HrsCegbNxl32uj1KXrYDAUzFdF7y\nQzAipWLOWbKhrkHo46KUkFltvm2sZkk726sGEfPmhx73RwdeW+L4JM+Xsc/g\nDhDtFjkwjo16CMSuHau/ABEKQAtc6F/xlc2knM/4TRo2Q0J5RBw6pwdnoxcw\ngL0CW8Ke0rr6Kz0pHMtc2KKSOqFrHfJvX8oqdRvZCuLNQoHliavVQo2Znux9\nerq6U/x/4Zq7BFLMXyfanlq1bm3yP4wc0q+VCS/XaSu6JGp69pBBENMCTGsE\nRdbDrZX2AMMOwVN14uXgwfaGmDd5TC6Bi2M2yZOLEMjkb3U4SnhYxnLK2/he\ntcw0L7UMfK5LH9zxRGF3ECP8Q9tKG2oehZ6qak3u1Q+ZZ/hwCR5qEpPmP4ed\ntyIobgi0OyWXObEtgaVuelkZT4goDAiQbGOk3kI1DX283/zgWNc9a68sAda0\nYzqZ\r\n=Efdx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRtwViZunYYu/bZgwnP0HlEGLYeGHD+0/O9F2gGx3iEAiEA2UFFUwCz85uadf3i7SLoVe43XoyiBh70ow/PyPQE5y0="}]},"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_1.0.0_1626047864320_0.778779870568922"},"_hasShrinkwrap":false},"2.0.0":{"name":"cypress-msw-interceptor","version":"2.0.0","description":"A networking layer for Cypress using MSW","main":"index.js","scripts":{"start:dev":"snowpack dev","start:graphql":"nodemon graphql-server.js","start":"run-p start:*","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.2","cypress-wait-until":"^1.7.1","lodash":"^4.17.21","node-match-path":"^0.6.3","prop-types":"^15.7.2"},"peerDependencies":{"cypress":">= 3","msw":">= 0.35.0"},"devDependencies":{"@changesets/cli":"^2.17.0","@snowpack/plugin-dotenv":"^2.1.0","@snowpack/plugin-react-refresh":"^2.5.0","@testing-library/cypress":"^8.0.1","babel-eslint":"^10.1.0","cors":"^2.8.5","cypress":"^8.3.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-cypress":"^2.11.3","eslint-plugin-import":"^2.24.2","eslint-plugin-react":"^7.25.1","express":"^4.17.1","express-graphql":"^0.12.0","graphql":"^15.5.3","is-ci-cli":"^2.2.0","msw":"^0.35.0","nodemon":"^2.0.12","npm-run-all":"^4.1.5","prettier":"^2.4.0","react":"^17.0.2","react-dom":"^17.0.2","snowpack":"^3.8.8","start-server-and-test":"^1.14.0","urql":"^2.0.4"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","msw":{"workerDirectory":"public"},"licenseText":"MIT License\n\nCopyright (c) 2020 Deshi Rahim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"cypress-msw-interceptor@2.0.0","dist":{"shasum":"19cf5cb35ed62106338ce82e90789949216b2cf5","integrity":"sha512-jHbxJCLl/AnQAdnvc7VONUV8ANjvjU8LYnwDGexBKxFN0A4TRR13bKo9zzMSEAMcm1YzTL28hf4kTyBHO4PcLA==","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-2.0.0.tgz","fileCount":9,"unpackedSize":22732,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAqmzPi6jUbN1e66+mUE+KvrWCy5eXSXEt9A/p45tn/AiByYJtDGt5b8EzM9MUN9zV/wnUgzBQa6yv+7rgU4jVt4w=="}]},"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_2.0.0_1633212557915_0.7497331249055075"},"_hasShrinkwrap":false},"2.0.1":{"name":"cypress-msw-interceptor","version":"2.0.1","description":"A networking layer for Cypress using MSW","main":"index.js","scripts":{"start:dev":"snowpack dev","start:graphql":"nodemon graphql-server.js","start":"run-p start:*","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.2","cypress-wait-until":"^1.7.1","lodash":"^4.17.21","node-match-path":"^0.6.3","prop-types":"^15.7.2"},"peerDependencies":{"cypress":">= 3","msw":">= 0.35.0"},"devDependencies":{"@changesets/cli":"^2.17.0","@snowpack/plugin-dotenv":"^2.1.0","@snowpack/plugin-react-refresh":"^2.5.0","@testing-library/cypress":"^8.0.1","babel-eslint":"^10.1.0","cors":"^2.8.5","cypress":"^8.3.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-cypress":"^2.11.3","eslint-plugin-import":"^2.24.2","eslint-plugin-react":"^7.25.1","express":"^4.17.1","express-graphql":"^0.12.0","graphql":"^15.5.3","is-ci-cli":"^2.2.0","msw":"^0.35.0","nodemon":"^2.0.12","npm-run-all":"^4.1.5","prettier":"^2.4.0","react":"^17.0.2","react-dom":"^17.0.2","snowpack":"^3.8.8","start-server-and-test":"^1.14.0","urql":"^2.0.4"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","msw":{"workerDirectory":"public"},"licenseText":"MIT License\n\nCopyright (c) 2020 Deshi Rahim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"cypress-msw-interceptor@2.0.1","dist":{"shasum":"d4c1e9e515e26383e83c0f2137af426a44446c2a","integrity":"sha512-JKllrNcUvj6QS9CRgGeujEd5cWWVth3KV7mDbLG2Vky4pQYAWTVtHDTqcTHIjk2Mw6YfQmMj1kaN02/EJu6XqA==","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-2.0.1.tgz","fileCount":9,"unpackedSize":22917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9k6b8D4WC98N1Euto2S91YIm25rsGJ1HHtjbDJWyUoAiEA6l7LijTF0WrRfR/EvqOFmrfmBcLrrajE/v4h0UNYiB4="}]},"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_2.0.1_1634401306781_0.28697009378879845"},"_hasShrinkwrap":false},"2.0.2":{"name":"cypress-msw-interceptor","version":"2.0.2","description":"A networking layer for Cypress using MSW","main":"index.js","scripts":{"start:dev":"snowpack dev","start:graphql":"nodemon graphql-server.js","start":"run-p start:*","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.2","cypress-wait-until":"^1.7.1","lodash":"^4.17.21","node-match-path":"^0.6.3","prop-types":"^15.7.2"},"peerDependencies":{"cypress":">= 3","msw":">= 0.35.0"},"devDependencies":{"@changesets/cli":"^2.17.0","@snowpack/plugin-dotenv":"^2.1.0","@snowpack/plugin-react-refresh":"^2.5.0","@testing-library/cypress":"^8.0.1","babel-eslint":"^10.1.0","cors":"^2.8.5","cypress":"^8.3.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-cypress":"^2.11.3","eslint-plugin-import":"^2.24.2","eslint-plugin-react":"^7.25.1","express":"^4.17.1","express-graphql":"^0.12.0","graphql":"^15.5.3","is-ci-cli":"^2.2.0","msw":"^0.35.0","nodemon":"^2.0.12","npm-run-all":"^4.1.5","prettier":"^2.4.0","react":"^17.0.2","react-dom":"^17.0.2","snowpack":"^3.8.8","start-server-and-test":"^1.14.0","urql":"^2.0.4"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","msw":{"workerDirectory":"public"},"licenseText":"MIT License\n\nCopyright (c) 2020 Deshi Rahim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"cypress-msw-interceptor@2.0.2","dist":{"shasum":"ceba856fa130179975c47ec5c72ac3e0edaba0a4","integrity":"sha512-rqvFZGhoyN6e5aas3myB0h6p6CGpZd4h3ah+OhYLtoSPPVQISQsve/OMdeGrXVto/n650WqmTcpPVKZnFYBLMg==","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-2.0.2.tgz","fileCount":9,"unpackedSize":23236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2niVCRA9TVsSAnZWagAAktAP/2WU/X1p3FOECc1CT6tb\nVykjEZlDC1zmG7EC7D7qjm0HyUgeZaMFsdbPMrc+L1t7jmGal7R8ao+s7zND\nJgiRk/XzqmDyoiTMASYGj4K96bph6G4bpfk5rGAnxIpDNUMplocpnio76C21\nQ89C6zMNSzaWg5InT4SRNzCNkf9kSIuWDYUQCUejhsJg3c1dFR0WPIf75MN2\nNYGlpXWl57aiWqyYqKVFiFKaEldDvTgJkXzo4QQPrSvXLZtk5uKmxNXfiuWn\nROBd++dNwq5qy1ujeB1z4LnvVDqFR33v53SUmeZHhGkIfeOsP0iD46O/+5bn\nnrXoOFVskUw2lF77Nget98eOPwyMrnHJvXeDJLfeMusRlHlKUaF91vWrs4Hw\n1balP22lHe8Vkx3Oyrt/J1mRmyUZVnPMvttpYYqEmYn3dFBXG3ZJxa3CeIjC\nSLlnnIVaL3n8UTahWqdiNj1vHKmvAtiteKo+qHzh+7vTnaJhTheRywWW3kN3\nckUDtqBzeNEVVH5Z8kctBCeHXm4f58IxEZgzTjzsLKI1bwYaWOkjzca0MoEB\ncPRpx5Ll0fbpDVLzvyXrB1OTat0vGixGgEMsLv6aAaFSqWCyKNGu/lsx6pkG\nz7tQnOVOR8kXzuF+45o4HRSBb3Qv9bbf0JJpYPB/IsrtoR48eIs8lET03B/N\nxsgz\r\n=0yln\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe7yc3KTFpAwp0I3dG/GQw4mrlH5ei56v8HGKpUlXDJwIhAKblzwiEZN0L8aLs/L32Ucb/II9wQSPcDL0W5Aa3wHur"}]},"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_2.0.2_1636921600459_0.9427379421141495"},"_hasShrinkwrap":false},"2.0.3":{"name":"cypress-msw-interceptor","version":"2.0.3","description":"A networking layer for Cypress using MSW","main":"index.js","scripts":{"start:dev":"snowpack dev","start:graphql":"nodemon graphql-server.js","start":"run-p start:*","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.2","cypress-wait-until":"^1.7.1","lodash":"^4.17.21","node-match-path":"^0.6.3","prop-types":"^15.7.2"},"peerDependencies":{"cypress":">= 3","msw":">= 0.35.0"},"devDependencies":{"@changesets/cli":"^2.17.0","@snowpack/plugin-dotenv":"^2.1.0","@snowpack/plugin-react-refresh":"^2.5.0","@testing-library/cypress":"^8.0.1","babel-eslint":"^10.1.0","cors":"^2.8.5","cypress":"^8.3.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-cypress":"^2.11.3","eslint-plugin-import":"^2.24.2","eslint-plugin-react":"^7.25.1","express":"^4.17.1","express-graphql":"^0.12.0","graphql":"^15.5.3","is-ci-cli":"^2.2.0","msw":"^0.35.0","nodemon":"^2.0.12","npm-run-all":"^4.1.5","prettier":"^2.4.0","react":"^17.0.2","react-dom":"^17.0.2","snowpack":"^3.8.8","start-server-and-test":"^1.14.0","urql":"^2.0.4"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","msw":{"workerDirectory":"public"},"licenseText":"MIT License\n\nCopyright (c) 2020 Deshi Rahim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"cypress-msw-interceptor@2.0.3","dist":{"shasum":"15755a029f8e4e24dbfbbf126f4b7ac786692a22","integrity":"sha512-SOQZEhmeW6BGO78lHypXhXq63DMjN3vB3NIz7wKbcMYBGVQZI7TNbXetnLueCOdQLkGLCVXxnW6B++VW5dDHqg==","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-2.0.3.tgz","fileCount":9,"unpackedSize":23292,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBwOXqax0v+L3dO6VxYr3Bf0uCVdpcF22hIm3s05/B0AiBFzfrmFDoxYCJUxUIidi6BUzHvruxJBY2t+Ddn3hqQ0g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTbk9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptFQ/8DXCgfU3El+S45Wqv6nnGS6vjDYy6fEx0MygRuEx9WQKSQlw5\r\nVdkOpMVY0lEJbFUPK/nbPsAg5Kbqrh0byQ9vPjoHSx2lqW15UcEGNTECEOSW\r\nabzSz6lJotfMi3XdPkwRIeU1yj8eHKcsqahSxWGOgjbBwbva+sFHD63d3v4P\r\nQ6hwJkyfdRGi4xWTDvIUAgDTMJFPpenGIUY1j8yxLndDFBScdJfbcZ8qmyPV\r\npyAfSlqP13pN8wtuZDH8JxrzvsRIY5fyuFWP5GOr2sURVgaPIAZqkmv1VNc2\r\nKvU95MFV/tQhDQW5nD92mjV7y5h/Yykw5b3swlOGhxQsLuje/K8g7TFm+0GD\r\nPBlfTpSQ95l5sgnrDcdWWwxuE78ziG/HuN8gmDkbS5i+GyQFn4AxaRxIQJqq\r\ne38k3MK6A3Yr1jZEyG1haTClXDIA3Sv/S68SwzDXXgYo3GczIjmgYRkRfUNO\r\no4Z9r/KHASIm5Nvcrog+28b+RnzqLs48d6xyR1cPKUisusnodLQyN7UhLiGb\r\nY7sDNXkRDfkyrAmEhkqQV/sTnT2LKTT/s9XrKyfGSWWYxijdTYEEAJgl5qlS\r\n6xxxSE38EwMJJ8XJkrZdwZ1mWBO/iTdOpW35omxANUxw9sn37vSuSzA0La0A\r\nqe8L4kB7j/Ox+W5raGH5b4w7CsAHkJEKV8c=\r\n=N56U\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_2.0.3_1649260861015_0.8400604342949507"},"_hasShrinkwrap":false},"2.1.0":{"name":"cypress-msw-interceptor","version":"2.1.0","description":"A networking layer for Cypress using MSW","main":"index.js","scripts":{"start:dev":"snowpack dev","start:graphql":"nodemon graphql-server.js","start":"run-p start:*","cypress:open":"cypress open","cypress:run":"cypress run","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^4.1.2","cypress-wait-until":"^1.7.1","lodash":"^4.17.21","node-match-path":"^0.6.3","prop-types":"^15.7.2"},"peerDependencies":{"cypress":">= 3","msw":">= 0.35.0"},"devDependencies":{"@changesets/cli":"^2.17.0","@snowpack/plugin-dotenv":"^2.1.0","@snowpack/plugin-react-refresh":"^2.5.0","@testing-library/cypress":"^8.0.1","babel-eslint":"^10.1.0","cors":"^2.8.5","cypress":"^8.3.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-cypress":"^2.11.3","eslint-plugin-import":"^2.24.2","eslint-plugin-react":"^7.25.1","express":"^4.17.1","express-graphql":"^0.12.0","graphql":"^15.5.3","is-ci-cli":"^2.2.0","msw":"^0.35.0","nodemon":"^2.0.12","npm-run-all":"^4.1.5","prettier":"^2.4.0","react":"^17.0.2","react-dom":"^17.0.2","snowpack":"^3.8.8","start-server-and-test":"^1.14.0","urql":"^2.0.4"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","msw":{"workerDirectory":"public"},"licenseText":"MIT License\n\nCopyright (c) 2020 Deshi Rahim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"cypress-msw-interceptor@2.1.0","dist":{"shasum":"70a1046b3369d4022ceabe3fda26f525467ba746","integrity":"sha512-T1LNOkYzBb0kMMGjQ2J6NnzGeE0YFLj4t0r8bFcYxLT+qUb9UqQUNvoDcThbYxzFUobLKfK5HiL4+Ig4ye9Pug==","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-2.1.0.tgz","fileCount":9,"unpackedSize":23406,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdo8wkeYZJ6TU2KUeh0B6tRfgncaJrs9Wewh5HQETozQIgIdwb7cplCmbdBmv4ItH8xjpt2S3sQjqQqm6o50UOJoI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY2drACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxIA//RdbgnS9oLaQvFiqMJwC9cD//hb05x8SkdvkksNo8oJYL+rcc\r\n3vxtOe6estvFaMgV2RmdYrowK1I9Hs2Mez7zlxJEIlj8wQM24t88xCw5a/pi\r\nFKQsMLKZWs33N7I21nH5oSjX+/Nv662V0lDNEmHddJF/KhYrYMwHu72lFfWl\r\nohdtjzbMS5SEjoyT8c58APMmvyfNIQOozVquq6Qf8KtZxS8MnXu0s1Jt109y\r\nua998+0gk7TKGwc3vvJ/cduNJIdy2z+gQ/1JkYP+6VeGNYXbyrd2FxySHC9g\r\nv4pIUyh5ZfuDb3NELbr03lawPjB6Rt2pSse9V1U2vw/oOXAWzVMGlGYfb2Yg\r\nWDSqStZn59OPRpip8KXRH2RSMvoGtDS68E1Ycnehv6HCzQrRmSvqmDXgvcnl\r\ny2ckdRMg4kPQNAJ4WPcP9Ubg0L1oWQVqADzDK8cM5FsWfgizt1ICMvpqk8HF\r\nSyniJF4fos3E+PwW+bxwGzFbU1VYZ18rcb1M0KA/wD+NolCrgwy8J6j6Zf/l\r\ntp2UtCPahhIPV7mpSMzlzBFF3Gu1JDjIVN4djRf1xHu3mo6LEtQHknDig4Qv\r\njFoymA5E47XQUm/D+Z1N0zzNvTa3JD7GEHZqph7QNriup6YBj3/qzEhqku/B\r\nH7f36ujnnM5LxaOdprY5hSUvH97ApgnQKXM=\r\n=2+pH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"deshiknaves","email":"nawal.rahim@gmail.com"},"directories":{},"maintainers":[{"name":"deshiknaves","email":"nawal.rahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_2.1.0_1667458923548_0.26969076484437426"},"_hasShrinkwrap":false},"2.2.0":{"name":"cypress-msw-interceptor","version":"2.2.0","description":"A networking layer for Cypress using MSW","main":"index.js","scripts":{"cypress:open":"cypress open","cypress:run":"cypress run","package-version":"tsx ./scripts/version.ts","start:dev":"snowpack dev","start:graphql":"nodemon graphql-server.js","start":"run-p start:*","test":"start-server-and-test 'yarn start' http://localhost:8080 'yarn cypress:run'"},"dependencies":{"chalk":"^5.1.2","cypress-wait-until":"^1.7.2","lodash":"^4.17.21","node-match-path":"^0.6.3","prop-types":"^15.8.1"},"peerDependencies":{"cypress":">= 3","msw":">= 0.35.0"},"devDependencies":{"@changesets/cli":"^2.25.2","@snowpack/plugin-dotenv":"^2.1.0","@snowpack/plugin-react-refresh":"^2.5.0","@testing-library/cypress":"^8.0.7","@babel/eslint-parser":"^7.19.1","cors":"^2.8.5","cypress":"^11.1.0","eslint":"^8.28.0","eslint-config-prettier":"^8.5.0","eslint-plugin-cypress":"^2.12.1","eslint-plugin-import":"^2.26.0","eslint-plugin-react":"^7.31.11","express":"^4.18.2","express-graphql":"^0.12.0","graphql":"^16.6.0","is-ci-cli":"^2.2.0","msw":"^0.49.0","nodemon":"^2.0.20","npm-run-all":"^4.1.5","prettier":"^2.7.1","react":"^18.2.0","react-dom":"^18.2.0","snowpack":"^3.8.8","start-server-and-test":"^1.14.0","tsx":"^3.12.2","urql":"^3.0.3","zx":"^7.1.1"},"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"author":{"name":"Deshiknaves"},"license":"MIT","bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","msw":{"workerDirectory":"public"},"licenseText":"MIT License\n\nCopyright (c) 2020 Deshi Rahim\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"cypress-msw-interceptor@2.2.0","dist":{"shasum":"ac6778f79b77169d204a0e498bd69bff56556c30","integrity":"sha512-x7mqCvJ4PJ8a4lcWRyFWGdXSehOBiGYxWjPaIduAjP6c2U36IrqVcAHRvECWdAz+H9CSmCh8hd2knGJq7+F3HQ==","tarball":"https://registry.npmjs.org/cypress-msw-interceptor/-/cypress-msw-interceptor-2.2.0.tgz","fileCount":9,"unpackedSize":24434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCjpGFlt4st1buuVJRwUBbaU32Ea123cSWllRFV5AUfAiEA2KOfECOPkmREaDgoNp1VC8QAeRTNd3unP9z8JflozSw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1ZyPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7SQ/9FpyojjOd35UouPqWuLEnWauUJ2QgM+E2tY/1BeXhhJ9dB0Dt\r\nJHksgjwW6qzrk/032K0XdLm8vLMM3bEvi31O+QeXRhRz8AIl26Cu8iP+e0rv\r\ny1WSTVge3eu6CoF3MhlxFLkINq/oWSVLAk2qtVr5cY4NFTvJnYSyUxvG85UW\r\n/oi3cNbeEc3+OnyCJcs+B/YGyWq6j8ebzUqb2fBwGFqbrLQ2Rw8zR0yy+Lk/\r\nUZdhXur+6PsXjq76D6RAoJrhK0y4RRGSnBf4EqNIA8d3UcgHW3gemA9++tMF\r\n1HD7ZNqrxaaYhhSGZO3+bdmjdAEeUFu7pG8455YaqFrW8T59vaKWNe6QPnpv\r\nB38QRCFZ0gh6SueMmIoaGmNA+26vZVwL/t2riY4QIZ2l64RL0ij8U5oaZxI4\r\nsx8zQKfo1pxxmjUAJuQljGhRMQfs46yxLTTmqUsveX5ux7ZzQorfqo1F6NTT\r\n3lfPr97xXBukymvMHY14NkDyClwhwGbFz57Jk1ea0lAEk0ZHyvbypwZiBp91\r\nK3KQfvRuuF8101M9YRYyWPAOI6uJSaMcZGAOw1ENRoHmv5/DX+YRPY+Dm13a\r\nQJiBQYa3rHBSzcQwvEbuZmVRuaJWoD97poCCaD4/EwzHQSL3eXBye95pEN8x\r\niGqWeDhZ4oOmcsgWk7dkwPGM68y9lg4TdlE=\r\n=zvdP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"deshiknaves","email":"nawalsrahim@gmail.com"},"directories":{},"maintainers":[{"name":"deshiknaves","email":"nawalsrahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-msw-interceptor_2.2.0_1674943631005_0.013954816524821334"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-14T13:01:28.067Z","0.0.0-alpha.0":"2020-09-14T13:01:28.201Z","modified":"2023-01-28T22:07:11.278Z","0.0.0-alpha.1":"2020-09-15T11:59:21.562Z","0.0.0-alpha.2":"2020-09-17T13:20:04.022Z","1.0.0":"2021-07-11T23:57:44.472Z","2.0.0":"2021-10-02T22:09:18.079Z","2.0.1":"2021-10-16T16:21:46.941Z","2.0.2":"2021-11-14T20:26:40.629Z","2.0.3":"2022-04-06T16:01:01.149Z","2.1.0":"2022-11-03T07:02:03.752Z","2.2.0":"2023-01-28T22:07:11.197Z"},"maintainers":[{"name":"deshiknaves","email":"nawalsrahim@gmail.com"}],"description":"A networking layer for Cypress using MSW","homepage":"https://github.com/deshiknaves/cypress-msw-interceptor#readme","keywords":["MSW","Serviceworker","Cypress","testing","mock","interceptor","integration","fetch"],"repository":{"type":"git","url":"git+https://github.com/deshiknaves/cypress-msw-interceptor.git"},"author":{"name":"Deshiknaves"},"bugs":{"url":"https://github.com/deshiknaves/cypress-msw-interceptor/issues"},"license":"MIT","readme":"# cypress-msw-interceptor\n\nA networking layer for Cypress using MSW.\n\nBoth Cypress and MSW are amazing technologies, this plugin takes the features of\nMSW and adapts its API to work with Cypress in a way that `cy.route` works.\n\nThis plugin will start a MSW worker as part of the Cypress runner and intercept\n`fetch` requests made from the application being tested. MSW does not need to be\ninstalled as part of application. This allows requests to be mocked using the\nfantastic mocking ability of MSW and/or wait for requests to be completed before\ncontinuing in a test.\n\n## Installation\n\nTo install the package run:\n\n```shell\n$ npm install cypress-msw-interceptor msw --save-dev\n# or\n$ yarn add cypress-msw-interceptor msw --dev\n```\n\nThen in `cypress/support/index.js` add:\n\n```javascript\nimport 'cypress-msw-interceptor'\n```\n\nIf you need to customize the\n[MSW Worker start options](https://mswjs.io/docs/api/setup-worker/start). You\ncan do so like:\n\n```javascript\nimport { setMswWorkerOptions }, 'cypress-msw-interceptor'\n\nsetMswWorkerOptions({ quiet: true, onUnhandledRequest: 'bypass' })\n```\n\nNext we need initialize msw. Follow the guide form\n[MSW website](https://mswjs.io/docs/getting-started/integrate/browser).\n\nYou don't need to configure the worker or create handlers unless you want to use\nit in your application too. The integration for `cypress-msw-interceptor` will\nhappen automatically by importing `cypress-msw-interceptor`.\n\nLastly, we need to set the `baseUrl` for Cypress so that Cypress starts at the\nsame address as the application so that the service worker can be registered\ncorrectly.\n\n## Usage\n\nAll examples use\n[@testing-library/cypress](https://github.com/testing-library/cypress-testing-library).\nIf you don't know it, check it out, it's the best way to write tests in Cypress\nin my opinion.\n\n### Basic Example\n\nTo intercept a request use the `cy.interceptRequest` command:\n\n```javascript\nit('should be able to mock a request with msw', () => {\n  cy.interceptRequest(\n    'GET',\n    'https://jsonplaceholder.typicode.com/todos/1',\n    (req, res, ctx) => {\n      return res(\n        ctx.json({\n          userId: 1,\n          id: 1,\n          title: 'Lord of the rings',\n          completed: false,\n        }),\n      )\n    },\n  )\n\n  cy.visit('/')\n  cy.findByText(/lord of the rings/i).should('be.visible')\n})\n```\n\nThis test will intercept a `GET` (method) request to\n`https://jsonplaceholder.typicode.com/todos/1` (route) and respond with the\nmocked payload returned from the response resolver.\n\nThis is very similar to `cy.route` except it uses MSW to mock the response. To\nlearn more about the features of the response resolver, check out the\n[MSW documentation](https://mswjs.io/docs/basics/response-resolver).\n\n### Wait for a request\n\nIn Cypress to wait for a request to complete you would have to alias a request\nand then use `cy.wait('@alias)`\n([Cypress Route Documentation](https://docs.cypress.io/api/commands/route.html)).\n\n`cypress-msw-interceptor` provides a similar API to achieve this:\n\n```javascript\nit('should be able to wait for a request to happen before it checks for the text', () => {\n  cy.interceptRequest(\n    'GET',\n    'https://jsonplaceholder.typicode.com/todos/1',\n    (req, res, ctx) => {\n      return res(\n        ctx.delay(1000),\n        ctx.json({\n          userId: 1,\n          id: 1,\n          title: 'Lord of the rings',\n          completed: false,\n        }),\n      )\n    },\n    'todos',\n  )\n\n  cy.visit('/')\n  cy.waitForRequest('@todos')\n  cy.findByText(/lord of the rings/i).should('be.visible')\n})\n```\n\nA request can be aliased using the third or forth (depending if a mock is\nprovided) argument to `cy.interceptRequest`. The use `cy.waitForRequest` with\nthe `alias` with a preceding `@` to wait for that request to complete before\nfinding the text on the page. To learn more about Cypress aliases check out the\n[Cypress Aliases Documentation](https://docs.cypress.io/guides/core-concepts/variables-and-aliases.html).\n\n`cy.interceptRequest` will also work with the native `.as('alias')` chainable\nfrom Cypress, but that will not show the pretty badge in the test runner if you\ndo. It's recommended that you use the third or forth argument so you get the\nbest debugging experience.\n\nThis can also be done with a request that isn't mocked. This is particularly\nuseful for end to end test:\n\n```javascript\nit(\"should be able to wait for a request to happen that isn't mocked before it checks for the text\", () => {\n  cy.interceptRequest(\n    'GET',\n    'https://jsonplaceholder.typicode.com/todos/1',\n    'todos',\n  )\n  cy.visit('/')\n\n  cy.waitForRequest('@todos')\n  cy.findByText(/some known text value/i).should('be.visible')\n})\n```\n\nBy not providing a response resolver, the request executed as it normally but\nwill allow `cypress-msw-interceptor` to track the request and wait for the\nalias.\n\nYou could conditionally include the response resolver so the test sometimes runs\nas an integration test and sometimes as an end to end test:\n\n```javascript\nfunction shouldMockResponse(fn) {\n  return process.env.CYPRESS_E2E === 'true' ? fn : undefined\n}\n\ncy.interceptRequest(\n  'GET',\n  'https://jsonplaceholder.typicode.com/todos/1',\n  shouldMockResponse((req, res, ctx) => {\n    return res(\n      ctx.delay(1000),\n      ctx.json({\n        userId: 1,\n        id: 1,\n        title: 'Lord of the rings',\n        completed: false,\n      }),\n    )\n  }),\n  'todos',\n)\n```\n\nThis way, you could choose to run some tests end to end in some environments and\nnot others.\n\n### Getting the response\n\nIn order to be able to run a test both as integration and end to end, it's\nimportant to be able to add assertions in your tests that are derived from the\n`response`:\n\n```javascript\nit('should be able to get the response and check that the correct text is displayed', () => {\n  cy.visit('/')\n  cy.interceptRequest(\n    'GET',\n    'https://jsonplaceholder.typicode.com/todos/1',\n    (req, res, ctx) => {\n      return res(\n        ctx.delay(1000),\n        ctx.json({\n          userId: 1,\n          id: 1,\n          title: 'Lord of the rings',\n          completed: false,\n        }),\n      )\n    },\n    'todos',\n  )\n\n  cy.waitForRequest('@todos').then(({ request, response }) => {\n    cy.findByText(new RegExp(response.body.title, 'i')).should('be.visible')\n  })\n})\n```\n\nIn the example above, `cy.waitForRequest` will wait for the request to complete\nand then return the `request` and the `response` which can be used in the\nassertion.\n\n### Asserting the number of requests\n\nSometimes it's important to know how many times a request was made. This can be\nchecked by using the `cy.getRequestCalls`:\n\n```javascript\ncy.visit('/')\ncy.interceptRequest(\n  'GET',\n  'https://jsonplaceholder.typicode.com/todos/1',\n  'todos',\n)\n\ncy.waitForRequest('@todos').then(({ request, response }) => {\n  cy.getRequestCalls('@todos').then(calls => {\n    expect(calls).to.have.length(1)\n  })\n})\n```\n\n### Updating a mock\n\nSometimes the same request should respond with different values.\n`cypress-msw-interceptor` allows you to update a request by redefining an\ninterceptor definition:\n\n```javascript\nit('should be able to update the mock', () => {\n  cy.visit('/')\n  cy.interceptRequest(\n    'GET',\n    'https://jsonplaceholder.typicode.com/todos/1',\n    (req, res, ctx) => {\n      return res(\n        ctx.json({\n          userId: 1,\n          id: 1,\n          title: 'Lord of the rings',\n          completed: false,\n        }),\n      )\n    },\n    'todos',\n  )\n\n  cy.waitForRequest('@todos')\n  cy.getRequestCalls('@todos').then(calls => {\n    expect(calls).to.have.length(1)\n  })\n  cy.findByText(/lord of the rings/i).should('be.visible')\n\n  cy.interceptRequest(\n    'GET',\n    'https://jsonplaceholder.typicode.com/todos/1',\n    (req, res, ctx) => {\n      return res(\n        ctx.json({\n          userId: 1,\n          id: 1,\n          title: 'The outsider',\n          completed: false,\n        }),\n      )\n    },\n    'todos',\n  )\n  cy.findByRole('button', { name: /refetch/i }).click()\n  cy.waitForRequest('@todos')\n  cy.getRequestCalls('@todos').then(calls => {\n    expect(calls).to.have.length(2)\n  })\n  cy.findByText(/the outsider/i).should('be.visible')\n})\n```\n\n### GraphQL Query\n\nMSW provides an easy way to mock GraphQL queries. To make the same API available\n`cypress-msw-interceptor` has custom Cypress extensions to work with that API.\n\nTo mock a query with the name of `CoursesQuery`:\n\n```javascript\ncy.interceptQuery(\n  'CoursesQuery',\n  (req, res, ctx) => {\n    return res(\n      ctx.delay(1000),\n      ctx.data({\n        courses: [\n          {\n            userId: 1,\n            id: 1,\n            title: 'GET me some data',\n            completed: false,\n          },\n        ],\n      }),\n    )\n  },\n  'courses',\n)\ncy.visit('/')\n\ncy.findByRole('button', { name: /get graphql/i }).click()\ncy.waitForQuery('@courses').then(({ response }) => {\n  cy.getQueryCalls('@courses').then(calls => {\n    expect(calls).to.have.length(1)\n  })\n  cy.findByText(new RegExp(response.body.data.courses[0].title, 'i')).should(\n    'be.visible',\n  )\n})\n```\n\nThis can also be done for a query that hasn't been mocked:\n\n```javascript\ncy.interceptQuery('CoursesQuery', 'courses')\ncy.visit('/')\n\ncy.findByRole('button', { name: /get graphql/i }).click()\ncy.waitForQuery('@courses').then(({ response }) => {\n  cy.getQueryCalls('@courses').then(calls => {\n    expect(calls).to.have.length(1)\n  })\n  cy.findByText(new RegExp(response.body.data.courses[0].title, 'i')).should(\n    'be.visible',\n  )\n})\n```\n\n### GraphQL Mutation\n\nIn a similar way to queries, there is an extension for GraphQL Mutations:\n\n```javascript\ncy.interceptMutation(\n  'UpdateCourse',\n  (req, res, ctx) => {\n    return res(\n      ctx.delay(1000),\n      ctx.data({\n        courses: [\n          {\n            userId: 1,\n            id: 1,\n            title: 'GET me some data',\n            completed: false,\n          },\n        ],\n      }),\n    )\n  },\n  'updateCourse',\n)\ncy.visit('/')\n\ncy.findByRole('button', { name: /mutate graphql/i }).click()\ncy.waitForMutation('@updateCourse').then(({ response }) => {\n  cy.getMutationCalls('@updateCourse').then(calls => {\n    expect(calls).to.have.length(1)\n  })\n  cy.findByText(new RegExp(response.body.data.courses[0].title, 'i')).should(\n    'be.visible',\n  )\n})\n```\n\nIn a similar way, we can wait for requests that weren't mocked:\n\n```javascript\ncy.interceptMutation('UpdateCourse', 'updateCourse')\ncy.visit('/')\n\ncy.findByRole('button', { name: /mutate graphql/i }).click()\ncy.waitForMutation('@updateCourse').then(({ response }) => {\n  cy.getMutationCalls('@updateCourse').then(calls => {\n    expect(calls).to.have.length(1)\n  })\n  cy.findByText(new RegExp(response.body.data.courses[0].title, 'i')).should(\n    'be.visible',\n  )\n})\n```\n\n## Things I wish the Cypress plugin API would allow me to do\n\n- Would be great if Cypress could host the service worker or serve static files.\n  It would be nice not to have to put it in the `public` folder of the\n  application.\n\n## Contributing\n\nTo start the development environment run:\n\n```shell\nyarn install\nyarn start\n```\n\nTo run the Cypress tests run while the application is running in another\nterminal:\n\n```shell\nyarn run cypress:open\n```\n","readmeFilename":"README.md"}