diff --git a/.yarn/cache/@inquirer-confirm-npm-3.1.0-d52af2819f-39f77aff5b.zip b/.yarn/cache/@inquirer-confirm-npm-3.1.0-d52af2819f-39f77aff5b.zip new file mode 100644 index 000000000..813162726 Binary files /dev/null and b/.yarn/cache/@inquirer-confirm-npm-3.1.0-d52af2819f-39f77aff5b.zip differ diff --git a/.yarn/cache/@inquirer-core-npm-7.1.0-4ac3a446f8-9b6536efc3.zip b/.yarn/cache/@inquirer-core-npm-7.1.0-4ac3a446f8-9b6536efc3.zip new file mode 100644 index 000000000..08686d187 Binary files /dev/null and b/.yarn/cache/@inquirer-core-npm-7.1.0-4ac3a446f8-9b6536efc3.zip differ diff --git a/.yarn/cache/@inquirer-type-npm-1.2.1-fd56585cc2-f7965acdd3.zip b/.yarn/cache/@inquirer-type-npm-1.2.1-fd56585cc2-f7965acdd3.zip new file mode 100644 index 000000000..d60be09aa Binary files /dev/null and b/.yarn/cache/@inquirer-type-npm-1.2.1-fd56585cc2-f7965acdd3.zip differ diff --git a/.yarn/cache/@types-mute-stream-npm-0.0.4-3e79ac07f9-af8d83ad7b.zip b/.yarn/cache/@types-mute-stream-npm-0.0.4-3e79ac07f9-af8d83ad7b.zip new file mode 100644 index 000000000..01d991711 Binary files /dev/null and b/.yarn/cache/@types-mute-stream-npm-0.0.4-3e79ac07f9-af8d83ad7b.zip differ diff --git a/.yarn/cache/@types-node-npm-20.11.30-b20dd3f11f-7597767aa3.zip b/.yarn/cache/@types-node-npm-20.11.30-b20dd3f11f-7597767aa3.zip new file mode 100644 index 000000000..70717b85f Binary files /dev/null and b/.yarn/cache/@types-node-npm-20.11.30-b20dd3f11f-7597767aa3.zip differ diff --git a/.yarn/cache/@types-wrap-ansi-npm-3.0.0-b7f3369360-492f061009.zip b/.yarn/cache/@types-wrap-ansi-npm-3.0.0-b7f3369360-492f061009.zip new file mode 100644 index 000000000..de7b15af7 Binary files /dev/null and b/.yarn/cache/@types-wrap-ansi-npm-3.0.0-b7f3369360-492f061009.zip differ diff --git a/.yarn/cache/cli-width-npm-3.0.0-387b3f68f9-4c94af3769.zip b/.yarn/cache/cli-width-npm-3.0.0-387b3f68f9-4c94af3769.zip deleted file mode 100644 index b652c4f73..000000000 Binary files a/.yarn/cache/cli-width-npm-3.0.0-387b3f68f9-4c94af3769.zip and /dev/null differ diff --git a/.yarn/cache/inquirer-npm-8.2.5-ffce7548f9-f13ee4c444.zip b/.yarn/cache/inquirer-npm-8.2.5-ffce7548f9-f13ee4c444.zip deleted file mode 100644 index 31c387a43..000000000 Binary files a/.yarn/cache/inquirer-npm-8.2.5-ffce7548f9-f13ee4c444.zip and /dev/null differ diff --git a/.yarn/cache/msw-npm-2.1.7-f691051307-5a6e35433f.zip b/.yarn/cache/msw-npm-2.1.7-f691051307-5a6e35433f.zip deleted file mode 100644 index 51ad9d2d0..000000000 Binary files a/.yarn/cache/msw-npm-2.1.7-f691051307-5a6e35433f.zip and /dev/null differ diff --git a/.yarn/cache/msw-npm-2.2.11-1bf50b2c70-b0cd5f0518.zip b/.yarn/cache/msw-npm-2.2.11-1bf50b2c70-b0cd5f0518.zip new file mode 100644 index 000000000..eb4dcb5c6 Binary files /dev/null and b/.yarn/cache/msw-npm-2.2.11-1bf50b2c70-b0cd5f0518.zip differ diff --git a/.yarn/cache/mute-stream-npm-0.0.8-489a7d6c2b-ff48d251fc.zip b/.yarn/cache/mute-stream-npm-0.0.8-489a7d6c2b-ff48d251fc.zip deleted file mode 100644 index 33156aeab..000000000 Binary files a/.yarn/cache/mute-stream-npm-0.0.8-489a7d6c2b-ff48d251fc.zip and /dev/null differ diff --git a/.yarn/cache/run-async-npm-2.4.1-a94bb90861-a2c88aa15d.zip b/.yarn/cache/run-async-npm-2.4.1-a94bb90861-a2c88aa15d.zip deleted file mode 100644 index 34c485e0b..000000000 Binary files a/.yarn/cache/run-async-npm-2.4.1-a94bb90861-a2c88aa15d.zip and /dev/null differ diff --git a/.yarn/cache/through-npm-2.3.8-df5f72a16e-a38c3e0598.zip b/.yarn/cache/through-npm-2.3.8-df5f72a16e-a38c3e0598.zip deleted file mode 100644 index 425b87ec8..000000000 Binary files a/.yarn/cache/through-npm-2.3.8-df5f72a16e-a38c3e0598.zip and /dev/null differ diff --git a/package.json b/package.json index f3f6fdf7c..523e2da70 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "jest-environment-jsdom": "^29.7.0", "jest-watch-typeahead": "^2.2.2", "lint-staged": "^15.2.2", - "msw": "^2.1.7", + "msw": "^2.2.11", "nock": "^13.4.0", "node_extra_ca_certs_mozilla_bundle": "^1.0.6", "prettier": "^3.2.5", diff --git a/yarn.lock b/yarn.lock index 6c0bcba20..53cedcb80 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2455,6 +2455,45 @@ __metadata: languageName: node linkType: hard +"@inquirer/confirm@npm:^3.0.0": + version: 3.1.0 + resolution: "@inquirer/confirm@npm:3.1.0" + dependencies: + "@inquirer/core": ^7.1.0 + "@inquirer/type": ^1.2.1 + checksum: 39f77aff5bb2d4c3c192e4d83e1bbb62828c4c603991948d3c1165c2122432107ee7afdd16997d661b835f013ffb4c8689ae77cebf38d938811277be15190b85 + languageName: node + linkType: hard + +"@inquirer/core@npm:^7.1.0": + version: 7.1.0 + resolution: "@inquirer/core@npm:7.1.0" + dependencies: + "@inquirer/type": ^1.2.1 + "@types/mute-stream": ^0.0.4 + "@types/node": ^20.11.26 + "@types/wrap-ansi": ^3.0.0 + ansi-escapes: ^4.3.2 + chalk: ^4.1.2 + cli-spinners: ^2.9.2 + cli-width: ^4.1.0 + figures: ^3.2.0 + mute-stream: ^1.0.0 + run-async: ^3.0.0 + signal-exit: ^4.1.0 + strip-ansi: ^6.0.1 + wrap-ansi: ^6.2.0 + checksum: 9b6536efc34fe178d75dcc2fbf0eb02ff7cf2158746b42fb97148573785bbad5e27185e5d8ee2be7e10bc6980b7f70c5ca9f83c2e05cfa069b70cb14f1b957ef + languageName: node + linkType: hard + +"@inquirer/type@npm:^1.2.1": + version: 1.2.1 + resolution: "@inquirer/type@npm:1.2.1" + checksum: f7965acdd3c2c244e1470ae2724cf23c40afeaf2d8a01cfcb7f187d7a500715852988516a5744211c02f25efb52b70716b8d2311b0d703238bf62db6b0adb010 + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -5838,6 +5877,15 @@ __metadata: languageName: node linkType: hard +"@types/mute-stream@npm:^0.0.4": + version: 0.0.4 + resolution: "@types/mute-stream@npm:0.0.4" + dependencies: + "@types/node": "*" + checksum: af8d83ad7b68ea05d9357985daf81b6c9b73af4feacb2f5c2693c7fd3e13e5135ef1bd083ce8d5bdc8e97acd28563b61bb32dec4e4508a8067fcd31b8a098632 + languageName: node + linkType: hard + "@types/node-fetch@npm:^2.6.4": version: 2.6.4 resolution: "@types/node-fetch@npm:2.6.4" @@ -5871,6 +5919,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^20.11.26": + version: 20.11.30 + resolution: "@types/node@npm:20.11.30" + dependencies: + undici-types: ~5.26.4 + checksum: 7597767aa3e44b0f1bf62efa522dd17741135f283c11de6a20ead8bb7016fb4999cc30adcd8f2bb29ebb216906c92894346ccd187de170927dc1e212d2c07c81 + languageName: node + linkType: hard + "@types/normalize-package-data@npm:^2.4.0": version: 2.4.1 resolution: "@types/normalize-package-data@npm:2.4.1" @@ -6058,6 +6115,13 @@ __metadata: languageName: node linkType: hard +"@types/wrap-ansi@npm:^3.0.0": + version: 3.0.0 + resolution: "@types/wrap-ansi@npm:3.0.0" + checksum: 492f0610093b5802f45ca292777679bb9b381f1f32ae939956dd9e00bf81dba7cc99979687620a2817d9a7d8b59928207698166c47a0861c6a2e5c30d4aaf1e9 + languageName: node + linkType: hard + "@types/yargs-parser@npm:*": version: 21.0.0 resolution: "@types/yargs-parser@npm:21.0.0" @@ -7987,7 +8051,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2": +"chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.0.2, chalk@npm:^4.1.0, chalk@npm:^4.1.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -8079,7 +8143,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.4.2, chokidar@npm:^3.5.3": +"chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -8237,13 +8301,6 @@ __metadata: languageName: node linkType: hard -"cli-width@npm:^3.0.0": - version: 3.0.0 - resolution: "cli-width@npm:3.0.0" - checksum: 4c94af3769367a70e11ed69aa6095f1c600c0ff510f3921ab4045af961820d57c0233acfa8b6396037391f31b4c397e1f614d234294f979ff61430a6c166c3f6 - languageName: node - linkType: hard - "cli-width@npm:^4.1.0": version: 4.1.0 resolution: "cli-width@npm:4.1.0" @@ -10609,7 +10666,7 @@ __metadata: languageName: node linkType: hard -"external-editor@npm:^3.0.3, external-editor@npm:^3.1.0": +"external-editor@npm:^3.1.0": version: 3.1.0 resolution: "external-editor@npm:3.1.0" dependencies: @@ -10716,7 +10773,7 @@ __metadata: languageName: node linkType: hard -"figures@npm:^3.0.0": +"figures@npm:^3.2.0": version: 3.2.0 resolution: "figures@npm:3.2.0" dependencies: @@ -12107,29 +12164,6 @@ __metadata: languageName: node linkType: hard -"inquirer@npm:^8.2.0": - version: 8.2.5 - resolution: "inquirer@npm:8.2.5" - dependencies: - ansi-escapes: ^4.2.1 - chalk: ^4.1.1 - cli-cursor: ^3.1.0 - cli-width: ^3.0.0 - external-editor: ^3.0.3 - figures: ^3.0.0 - lodash: ^4.17.21 - mute-stream: 0.0.8 - ora: ^5.4.1 - run-async: ^2.4.0 - rxjs: ^7.5.5 - string-width: ^4.1.0 - strip-ansi: ^6.0.0 - through: ^2.3.6 - wrap-ansi: ^7.0.0 - checksum: f13ee4c444187786fb393609dedf6b30870115a57b603f2e6424f29a99abc13446fd45ee22461c33c9c40a92a60a8df62d0d6b25d74fc6676fa4cb211de55b55 - languageName: node - linkType: hard - "inquirer@npm:^9.2.10": version: 9.2.12 resolution: "inquirer@npm:9.2.12" @@ -14614,22 +14648,21 @@ __metadata: languageName: node linkType: hard -"msw@npm:^2.1.7": - version: 2.1.7 - resolution: "msw@npm:2.1.7" +"msw@npm:^2.2.11": + version: 2.2.11 + resolution: "msw@npm:2.2.11" dependencies: "@bundled-es-modules/cookie": ^2.0.0 "@bundled-es-modules/statuses": ^1.0.1 + "@inquirer/confirm": ^3.0.0 "@mswjs/cookies": ^1.1.0 "@mswjs/interceptors": ^0.25.16 "@open-draft/until": ^2.1.0 "@types/cookie": ^0.6.0 "@types/statuses": ^2.0.4 chalk: ^4.1.2 - chokidar: ^3.4.2 graphql: ^16.8.1 headers-polyfill: ^4.0.2 - inquirer: ^8.2.0 is-node-process: ^1.2.0 outvariant: ^1.4.2 path-to-regexp: ^6.2.0 @@ -14637,24 +14670,17 @@ __metadata: type-fest: ^4.9.0 yargs: ^17.7.2 peerDependencies: - typescript: ">= 4.7.x <= 5.3.x" + typescript: ">= 4.7.x" peerDependenciesMeta: typescript: optional: true bin: msw: cli/index.js - checksum: 5a6e35433fb734f6e14c9e2446ea966c24777eae36adc6533af9a2f11837bbbd476401e9cbddad3cfec46c7712b89653549d62dc86c47df6aea163021a013314 - languageName: node - linkType: hard - -"mute-stream@npm:0.0.8": - version: 0.0.8 - resolution: "mute-stream@npm:0.0.8" - checksum: ff48d251fc3f827e5b1206cda0ffdaec885e56057ee86a3155e1951bc940fd5f33531774b1cc8414d7668c10a8907f863f6561875ee6e8768931a62121a531a1 + checksum: b0cd5f051867380bd815fc67e99df67d4379932ae40935542d7dbf8b4b2ecb3bdae640f41257be2f3b871656360095692314fa79bd660cdf0e93051a2d51378f languageName: node linkType: hard -"mute-stream@npm:1.0.0": +"mute-stream@npm:1.0.0, mute-stream@npm:^1.0.0": version: 1.0.0 resolution: "mute-stream@npm:1.0.0" checksum: 36fc968b0e9c9c63029d4f9dc63911950a3bdf55c9a87f58d3a266289b67180201cade911e7699f8b2fa596b34c9db43dad37649e3f7fdd13c3bb9edb0017ee7 @@ -14768,7 +14794,7 @@ __metadata: lint-staged: ^15.2.2 lodash: ^4.17.21 mq-polyfill: ^1.1.8 - msw: ^2.1.7 + msw: ^2.2.11 next: ^13.5.6 next-drupal: ^1.6.0 next-drupal-query: ^0.4.0 @@ -17504,13 +17530,6 @@ __metadata: languageName: node linkType: hard -"run-async@npm:^2.4.0": - version: 2.4.1 - resolution: "run-async@npm:2.4.1" - checksum: a2c88aa15df176f091a2878eb840e68d0bdee319d8d97bbb89112223259cebecb94bc0defd735662b83c2f7a30bed8cddb7d1674eb48ae7322dc602b22d03797 - languageName: node - linkType: hard - "run-async@npm:^3.0.0": version: 3.0.0 resolution: "run-async@npm:3.0.0" @@ -17527,7 +17546,7 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.2.0, rxjs@npm:^7.5.5, rxjs@npm:^7.8.1": +"rxjs@npm:^7.2.0, rxjs@npm:^7.8.1": version: 7.8.1 resolution: "rxjs@npm:7.8.1" dependencies: @@ -18789,13 +18808,6 @@ __metadata: languageName: node linkType: hard -"through@npm:^2.3.6": - version: 2.3.8 - resolution: "through@npm:2.3.8" - checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd - languageName: node - linkType: hard - "timers-browserify@npm:^2.0.12": version: 2.0.12 resolution: "timers-browserify@npm:2.0.12"