diff --git a/package.json b/package.json index 9e09a37..0cabd71 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "jest-playwright-preset": "^1.7.0", "lint-staged": "^11.2.6", "mini-css-extract-plugin": "^1.6.2", - "msw": "^0.35.0", + "msw": "^0.42.1", "playwright": "^1.17.2", "postcss": "^8.4.5", "postcss-loader": "^6.2.1", diff --git a/yarn.lock b/yarn.lock index 028570e..a0b0f37 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3353,27 +3353,27 @@ __metadata: languageName: node linkType: hard -"@mswjs/cookies@npm:^0.1.6": - version: 0.1.6 - resolution: "@mswjs/cookies@npm:0.1.6" +"@mswjs/cookies@npm:^0.2.0": + version: 0.2.1 + resolution: "@mswjs/cookies@npm:0.2.1" dependencies: "@types/set-cookie-parser": ^2.4.0 set-cookie-parser: ^2.4.6 - checksum: a08edee5c3bae24ed193ea48e30537fa34a8d1e11e49abf440dd48444682e3505abcdc9acb03ebab012779034629da1ed9c65e5c0b751286a80bf8281de3faa6 + checksum: c8226a41b2bfb35b0e27b936998246e4401bf47aab2be416491ab8932c3c96c56b34453a36ac72e070fba2f4a6c114935ab78db476c49a762ee83a26e6380cf7 languageName: node linkType: hard -"@mswjs/interceptors@npm:^0.12.6": - version: 0.12.7 - resolution: "@mswjs/interceptors@npm:0.12.7" +"@mswjs/interceptors@npm:^0.16.3": + version: 0.16.6 + resolution: "@mswjs/interceptors@npm:0.16.6" dependencies: "@open-draft/until": ^1.0.3 - "@xmldom/xmldom": ^0.7.2 - debug: ^4.3.2 - headers-utils: ^3.0.2 - outvariant: ^1.2.0 - strict-event-emitter: ^0.2.0 - checksum: 426e9a27f13f0bd1f5b8dbf5f3605c65709f0aa73cee5a4a8278bc43859968a11d72aef42266a9c07030f1949f539ac1865a1da7edecc31b1ba40406211918f5 + "@xmldom/xmldom": ^0.7.5 + debug: ^4.3.3 + headers-polyfill: ^3.0.4 + outvariant: ^1.2.1 + strict-event-emitter: ^0.2.4 + checksum: ab9c1fd0142b18875b1fe5134260fcf10b3b7249324cc62f2656d888bafc0db472cd7b4dea4649dfd0f061375b55342e2de557dd075e9f9c8afb3eaf266d987e languageName: node linkType: hard @@ -3868,16 +3868,6 @@ __metadata: languageName: node linkType: hard -"@types/inquirer@npm:^7.3.3": - version: 7.3.3 - resolution: "@types/inquirer@npm:7.3.3" - dependencies: - "@types/through": "*" - rxjs: ^6.4.0 - checksum: 49b21d883ab533dbb84b400fa1aeab2638c37b87978d16f15636316c8d9f70d93a185479cf32081d9013fe2b362db05a83bdc3725771cc93d8bdab9182a96ab9 - languageName: node - linkType: hard - "@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.0, @types/istanbul-lib-coverage@npm:^2.0.1": version: 2.0.3 resolution: "@types/istanbul-lib-coverage@npm:2.0.3" @@ -3923,10 +3913,10 @@ __metadata: languageName: node linkType: hard -"@types/js-levenshtein@npm:^1.1.0": - version: 1.1.0 - resolution: "@types/js-levenshtein@npm:1.1.0" - checksum: 607aef621ca862726f03f64b50030933eabe0bd08977c81100946c7ff861278c966d03e9f625370d0333153120f9d86b80ec81bf9cdec03d561127ab26eb1a1e +"@types/js-levenshtein@npm:^1.1.1": + version: 1.1.1 + resolution: "@types/js-levenshtein@npm:1.1.1" + checksum: 1d1ff1ee2ad551909e47f3ce19fcf85b64dc5146d3b531c8d26fc775492d36e380b32cf5ef68ff301e812c3b00282f37aac579ebb44498b94baff0ace7509769 languageName: node linkType: hard @@ -4079,15 +4069,6 @@ __metadata: languageName: node linkType: hard -"@types/through@npm:*": - version: 0.0.30 - resolution: "@types/through@npm:0.0.30" - dependencies: - "@types/node": "*" - checksum: 9578470db0b527c26e246a1220ae9bffc6bf47f20f89c54aac467c083ab1f7e16c00d9a7b4bb6cb4e2dfae465027270827e5908a6236063f6214625e50585d78 - languageName: node - linkType: hard - "@types/trusted-types@npm:^2.0.2": version: 2.0.2 resolution: "@types/trusted-types@npm:2.0.2" @@ -4561,7 +4542,7 @@ __metadata: languageName: node linkType: hard -"@xmldom/xmldom@npm:^0.7.2": +"@xmldom/xmldom@npm:^0.7.5": version: 0.7.5 resolution: "@xmldom/xmldom@npm:0.7.5" checksum: 8d7ec35c1ef6183b4f621df08e01d7e61f244fb964a4719025e65fe6ac06fac418919be64fb40fe5908e69158ef728f2d936daa082db326fe04603012b5f2a84 @@ -4636,7 +4617,7 @@ __metadata: lazysizes: ^5.3.2 lint-staged: ^11.2.6 mini-css-extract-plugin: ^1.6.2 - msw: ^0.35.0 + msw: ^0.42.1 navigo: ^8.11.1 playwright: ^1.17.2 postcss: ^8.4.5 @@ -5954,6 +5935,16 @@ __metadata: languageName: node linkType: hard +"chalk@npm:4.1.1, chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1": + version: 4.1.1 + resolution: "chalk@npm:4.1.1" + dependencies: + ansi-styles: ^4.1.0 + supports-color: ^7.1.0 + checksum: 036e973e665ba1a32c975e291d5f3d549bceeb7b1b983320d4598fb75d70fe20c5db5d62971ec0fe76cdbce83985a00ee42372416abfc3a5584465005a7855ed + languageName: node + linkType: hard + "chalk@npm:^1.1.3": version: 1.1.3 resolution: "chalk@npm:1.1.3" @@ -5988,16 +5979,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1": - version: 4.1.1 - resolution: "chalk@npm:4.1.1" - dependencies: - ansi-styles: ^4.1.0 - supports-color: ^7.1.0 - checksum: 036e973e665ba1a32c975e291d5f3d549bceeb7b1b983320d4598fb75d70fe20c5db5d62971ec0fe76cdbce83985a00ee42372416abfc3a5584465005a7855ed - languageName: node - linkType: hard - "char-regex@npm:^1.0.2": version: 1.0.2 resolution: "char-regex@npm:1.0.2" @@ -6582,10 +6563,10 @@ __metadata: languageName: node linkType: hard -"cookie@npm:^0.4.1": - version: 0.4.1 - resolution: "cookie@npm:0.4.1" - checksum: bd7c47f5d94ab70ccdfe8210cde7d725880d2fcda06d8e375afbdd82de0c8d3b73541996e9ce57d35f67f672c4ee6d60208adec06b3c5fc94cebb85196084cf8 +"cookie@npm:^0.4.2": + version: 0.4.2 + resolution: "cookie@npm:0.4.2" + checksum: a00833c998bedf8e787b4c342defe5fa419abd96b32f4464f718b91022586b8f1bafbddd499288e75c037642493c83083da426c6a9080d309e3bd90fd11baa9b languageName: node linkType: hard @@ -7222,6 +7203,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:^4.3.3": + version: 4.3.4 + resolution: "debug@npm:4.3.4" + dependencies: + ms: 2.1.2 + peerDependenciesMeta: + supports-color: + optional: true + checksum: 3dbad3f94ea64f34431a9cbf0bafb61853eda57bff2880036153438f50fb5a84f27683ba0d8e5426bf41a8c6ff03879488120cf5b3a761e77953169c0600a708 + languageName: node + linkType: hard + "decamelize@npm:^1.2.0": version: 1.2.0 resolution: "decamelize@npm:1.2.0" @@ -9467,10 +9460,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"graphql@npm:^15.5.1": - version: 15.6.0 - resolution: "graphql@npm:15.6.0" - checksum: 439959514665bc03ba86d6e55d8fb81d4c1e8ba3fc7f5114878b0ba794147e7ef57f368e40dadbb3f94d7c5f6685d15599bebb3a124cee2a1a8871a797d5ae81 +"graphql@npm:^16.3.0": + version: 16.5.0 + resolution: "graphql@npm:16.5.0" + checksum: a82a926d085818934d04fdf303a269af170e79de943678bd2726370a96194f9454ade9d6d76c2de69afbd7b9f0b4f8061619baecbbddbe82125860e675ac219e languageName: node linkType: hard @@ -9641,10 +9634,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"headers-utils@npm:^3.0.2": - version: 3.0.2 - resolution: "headers-utils@npm:3.0.2" - checksum: 210fe65756d6de8a96afe68617463fb6faf675a24d864e849b17bddf051c4a24d621a510a1bb80fd9d4763b932eb44b5d8fd6fc4f14fa62fb211603456a57b4f +"headers-polyfill@npm:^3.0.4": + version: 3.0.7 + resolution: "headers-polyfill@npm:3.0.7" + checksum: ee392c1acdd2be797090837a085b14c8dc79f221e2501508afc1474667fba0627d583e06f9ab5cad57cf9dd570942d3166f791c75b92522a17c69c1e6bfcfbc4 languageName: node linkType: hard @@ -10144,9 +10137,9 @@ fsevents@^1.2.7: languageName: node linkType: hard -"inquirer@npm:^8.1.1": - version: 8.1.5 - resolution: "inquirer@npm:8.1.5" +"inquirer@npm:^8.2.0": + version: 8.2.4 + resolution: "inquirer@npm:8.2.4" dependencies: ansi-escapes: ^4.2.1 chalk: ^4.1.1 @@ -10158,11 +10151,12 @@ fsevents@^1.2.7: mute-stream: 0.0.8 ora: ^5.4.1 run-async: ^2.4.0 - rxjs: ^7.2.0 + rxjs: ^7.5.5 string-width: ^4.1.0 strip-ansi: ^6.0.0 through: ^2.3.6 - checksum: f3fa97a9abc20206effc7ca4e4d664d783becb58dbb6eca5b49ad7b02ef102c6c09d5c93aa7d64112417e70300267fe80c164e098adb126b6059327681d76e68 + wrap-ansi: ^7.0.0 + checksum: dfcb6529d3af443dfea2241cb471508091b51f5121a088fdb8728b23ec9b349ef0a5e13a0ef2c8e19457b0bed22f7cbbcd561f7a4529d084c562a58c605e2655 languageName: node linkType: hard @@ -12507,33 +12501,38 @@ fsevents@^1.2.7: languageName: node linkType: hard -"msw@npm:^0.35.0": - version: 0.35.0 - resolution: "msw@npm:0.35.0" +"msw@npm:^0.42.1": + version: 0.42.1 + resolution: "msw@npm:0.42.1" dependencies: - "@mswjs/cookies": ^0.1.6 - "@mswjs/interceptors": ^0.12.6 + "@mswjs/cookies": ^0.2.0 + "@mswjs/interceptors": ^0.16.3 "@open-draft/until": ^1.0.3 "@types/cookie": ^0.4.1 - "@types/inquirer": ^7.3.3 - "@types/js-levenshtein": ^1.1.0 - chalk: ^4.1.1 + "@types/js-levenshtein": ^1.1.1 + chalk: 4.1.1 chokidar: ^3.4.2 - cookie: ^0.4.1 - graphql: ^15.5.1 - headers-utils: ^3.0.2 - inquirer: ^8.1.1 + cookie: ^0.4.2 + graphql: ^16.3.0 + headers-polyfill: ^3.0.4 + inquirer: ^8.2.0 is-node-process: ^1.0.1 js-levenshtein: ^1.1.6 - node-fetch: ^2.6.1 - node-match-path: ^0.6.3 + node-fetch: ^2.6.7 + outvariant: ^1.3.0 + path-to-regexp: ^6.2.0 statuses: ^2.0.0 strict-event-emitter: ^0.2.0 type-fest: ^1.2.2 - yargs: ^17.0.1 + yargs: ^17.3.1 + peerDependencies: + typescript: ">= 4.2.x <= 4.7.x" + peerDependenciesMeta: + typescript: + optional: true bin: msw: cli/index.js - checksum: cc5e85573e85779a95b1d5bfc306d4d0bcb4de660ac08c640e316c00fe4a0ea24dfe1decf6a46d10538550dfc7f7559836e1fda3d6e1f60ee7e99916bb3db3ff + checksum: 8b3078978303ebc4e4dfc29092bf47b82982694f4d90fbcad62e626a969198e393f66c954f71603c942d1f20c6147de60b77765b233a88c00f3e0eb7bbaf2ce2 languageName: node linkType: hard @@ -12697,10 +12696,17 @@ fsevents@^1.2.7: languageName: node linkType: hard -"node-fetch@npm:^2.6.1": - version: 2.6.1 - resolution: "node-fetch@npm:2.6.1" - checksum: 91075bedd57879117e310fbcc36983ad5d699e522edb1ebcdc4ee5294c982843982652925c3532729fdc86b2d64a8a827797a745f332040d91823c8752ee4d7c +"node-fetch@npm:^2.6.7": + version: 2.6.7 + resolution: "node-fetch@npm:2.6.7" + dependencies: + whatwg-url: ^5.0.0 + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + checksum: 8d816ffd1ee22cab8301c7756ef04f3437f18dace86a1dae22cf81db8ef29c0bf6655f3215cb0cdb22b420b6fe141e64b26905e7f33f9377a7fa59135ea3e10b languageName: node linkType: hard @@ -12738,13 +12744,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"node-match-path@npm:^0.6.3": - version: 0.6.3 - resolution: "node-match-path@npm:0.6.3" - checksum: d515bc069f293688109c058ee02567528fdaa856290d362b80a2254734975014e4eefcdcc5164a8adfd5560aa870e277c97fe8be648074d5088056cf61553c7c - languageName: node - linkType: hard - "node-modules-regexp@npm:^1.0.0": version: 1.0.0 resolution: "node-modules-regexp@npm:1.0.0" @@ -13173,10 +13172,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"outvariant@npm:^1.2.0": - version: 1.2.1 - resolution: "outvariant@npm:1.2.1" - checksum: 1686113d01b6acbd23b9444ecad680f3f8b163817cde76e4c2f818631cfb6a898718b9c8a01f967b23473ed2715e0e46396ba7400cd12ade478f7532687957cd +"outvariant@npm:^1.2.1, outvariant@npm:^1.3.0": + version: 1.3.0 + resolution: "outvariant@npm:1.3.0" + checksum: ac76ca375c1c642989e1c74f0e9ebac84c05bc9fdc8f28be949c16fae1658e9f1f2fb1133fe3cc1e98afabef78fe4298fe9360b5734baf8e6ad440c182680848 languageName: node linkType: hard @@ -13499,6 +13498,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"path-to-regexp@npm:^6.2.0": + version: 6.2.1 + resolution: "path-to-regexp@npm:6.2.1" + checksum: f0227af8284ea13300f4293ba111e3635142f976d4197f14d5ad1f124aebd9118783dd2e5f1fe16f7273743cc3dbeddfb7493f237bb27c10fdae07020cc9b698 + languageName: node + linkType: hard + "path-type@npm:^3.0.0": version: 3.0.0 resolution: "path-type@npm:3.0.0" @@ -15661,7 +15667,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"rxjs@npm:^6.4.0, rxjs@npm:^6.6.3, rxjs@npm:^6.6.7": +"rxjs@npm:^6.6.3, rxjs@npm:^6.6.7": version: 6.6.7 resolution: "rxjs@npm:6.6.7" dependencies: @@ -15670,12 +15676,12 @@ fsevents@^1.2.7: languageName: node linkType: hard -"rxjs@npm:^7.2.0": - version: 7.3.0 - resolution: "rxjs@npm:7.3.0" +"rxjs@npm:^7.5.5": + version: 7.5.5 + resolution: "rxjs@npm:7.5.5" dependencies: - tslib: ~2.1.0 - checksum: e63adb8808ea6c299a020d56d2af92bcf71efe641adf838499932e29b8f5fd5ff00873653ad48ba3ecf6c9fc11c3c595acf995e8d456f9d8cb85c7d37a1fd72e + tslib: ^2.1.0 + checksum: e034f60805210cce756dd2f49664a8108780b117cf5d0e2281506e9e6387f7b4f1532d974a8c8b09314fa7a16dd2f6cff3462072a5789672b5dcb45c4173f3c6 languageName: node linkType: hard @@ -16585,6 +16591,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"strict-event-emitter@npm:^0.2.4": + version: 0.2.4 + resolution: "strict-event-emitter@npm:0.2.4" + dependencies: + events: ^3.3.0 + checksum: fe6af7baf4002910ffd04d16f37c994e7b9f56b4c01c8846a3b394efcea6689a9eba3ebcd5283774476c3a7632aae6b47ef89061b0fbf7f2256b8e07a5cab32d + languageName: node + linkType: hard + "string-argv@npm:0.3.1": version: 0.3.1 resolution: "string-argv@npm:0.3.1" @@ -16645,6 +16660,17 @@ fsevents@^1.2.7: languageName: node linkType: hard +"string-width@npm:^4.2.3": + version: 4.2.3 + resolution: "string-width@npm:4.2.3" + dependencies: + emoji-regex: ^8.0.0 + is-fullwidth-code-point: ^3.0.0 + strip-ansi: ^6.0.1 + checksum: e52c10dc3fbfcd6c3a15f159f54a90024241d0f149cf8aed2982a2d801d2e64df0bf1dc351cf8e95c3319323f9f220c16e740b06faecd53e2462df1d2b5443fb + languageName: node + linkType: hard + "string.prototype.matchall@npm:^4.0.6": version: 4.0.6 resolution: "string.prototype.matchall@npm:4.0.6" @@ -17286,6 +17312,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"tr46@npm:~0.0.3": + version: 0.0.3 + resolution: "tr46@npm:0.0.3" + checksum: 726321c5eaf41b5002e17ffbd1fb7245999a073e8979085dacd47c4b4e8068ff5777142fc6726d6ca1fd2ff16921b48788b87225cbc57c72636f6efa8efbffe3 + languageName: node + linkType: hard + "tree-kill@npm:^1.2.2": version: 1.2.2 resolution: "tree-kill@npm:1.2.2" @@ -17399,10 +17432,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"tslib@npm:~2.1.0": - version: 2.1.0 - resolution: "tslib@npm:2.1.0" - checksum: aa189c8179de0427b0906da30926fd53c59d96ec239dff87d6e6bc831f608df0cbd6f77c61dabc074408bd0aa0b9ae4ec35cb2c15f729e32f37274db5730cb78 +"tslib@npm:^2.1.0": + version: 2.4.0 + resolution: "tslib@npm:2.4.0" + checksum: 8c4aa6a3c5a754bf76aefc38026134180c053b7bd2f81338cb5e5ebf96fefa0f417bff221592bf801077f5bf990562f6264fecbc42cd3309b33872cb6fc3b113 languageName: node linkType: hard @@ -17981,6 +18014,13 @@ typescript@^4.4.4: languageName: node linkType: hard +"webidl-conversions@npm:^3.0.0": + version: 3.0.1 + resolution: "webidl-conversions@npm:3.0.1" + checksum: c92a0a6ab95314bde9c32e1d0a6dfac83b578f8fa5f21e675bc2706ed6981bc26b7eb7e6a1fab158e5ce4adf9caa4a0aee49a52505d4d13c7be545f15021b17c + languageName: node + linkType: hard + "webidl-conversions@npm:^4.0.2": version: 4.0.2 resolution: "webidl-conversions@npm:4.0.2" @@ -18237,6 +18277,16 @@ typescript@^4.4.4: languageName: node linkType: hard +"whatwg-url@npm:^5.0.0": + version: 5.0.0 + resolution: "whatwg-url@npm:5.0.0" + dependencies: + tr46: ~0.0.3 + webidl-conversions: ^3.0.0 + checksum: b8daed4ad3356cc4899048a15b2c143a9aed0dfae1f611ebd55073310c7b910f522ad75d727346ad64203d7e6c79ef25eafd465f4d12775ca44b90fa82ed9e2c + languageName: node + linkType: hard + "whatwg-url@npm:^7.0.0": version: 7.1.0 resolution: "whatwg-url@npm:7.1.0" @@ -18730,6 +18780,13 @@ typescript@^4.4.4: languageName: node linkType: hard +"yargs-parser@npm:^21.0.0": + version: 21.0.1 + resolution: "yargs-parser@npm:21.0.1" + checksum: c3ea2ed12cad0377ce3096b3f138df8267edf7b1aa7d710cd502fe16af417bafe4443dd71b28158c22fcd1be5dfd0e86319597e47badf42ff83815485887323a + languageName: node + linkType: hard + "yargs@npm:^13.3.2": version: 13.3.2 resolution: "yargs@npm:13.3.2" @@ -18782,18 +18839,18 @@ typescript@^4.4.4: languageName: node linkType: hard -"yargs@npm:^17.0.1": - version: 17.0.1 - resolution: "yargs@npm:17.0.1" +"yargs@npm:^17.3.1": + version: 17.5.1 + resolution: "yargs@npm:17.5.1" dependencies: cliui: ^7.0.2 escalade: ^3.1.1 get-caller-file: ^2.0.5 require-directory: ^2.1.1 - string-width: ^4.2.0 + string-width: ^4.2.3 y18n: ^5.0.5 - yargs-parser: ^20.2.2 - checksum: 4ffffa5a82647e5d07840b64bed88c365b901d3d4a4c51745dddb10d177902d85014026d7224aae18c42df9ca3f75a41c5aff556e5342e2f8ffc5177d149cd17 + yargs-parser: ^21.0.0 + checksum: 00d58a2c052937fa044834313f07910fd0a115dec5ee35919e857eeee3736b21a4eafa8264535800ba8bac312991ce785ecb8a51f4d2cc8c4676d865af1cfbde languageName: node linkType: hard