From 646785f6e6d62e874d91527543798e6937e3aea0 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:56:04 +1100 Subject: [PATCH] Revert "chore(deps): update dependency @inquirer/prompts to v7 (#2586)" This reverts commit 1e8ed37772a744e28a7da80dad01025b19030c9d. --- packages/create-router/package.json | 2 +- pnpm-lock.yaml | 210 ++++++++++++++++------------ 2 files changed, 122 insertions(+), 90 deletions(-) diff --git a/packages/create-router/package.json b/packages/create-router/package.json index 0a58436359..7a6712c1ec 100644 --- a/packages/create-router/package.json +++ b/packages/create-router/package.json @@ -33,7 +33,7 @@ "node": "^18.0.0 || >=20.0.0" }, "devDependencies": { - "@inquirer/prompts": "^7.1.0", + "@inquirer/prompts": "^5.5.0", "@types/cross-spawn": "^6.0.6", "@types/validate-npm-package-name": "^4.0.2", "@types/which": "^3.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 27f9f01283..e567750dd0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3040,8 +3040,8 @@ importers: version: 5.0.0 devDependencies: '@inquirer/prompts': - specifier: ^7.1.0 - version: 7.1.0(@types/node@22.9.0) + specifier: ^5.5.0 + version: 5.5.0 '@types/cross-spawn': specifier: ^6.0.6 version: 6.0.6 @@ -4721,11 +4721,13 @@ packages: cpu: [x64] os: [win32] - '@inquirer/checkbox@4.0.2': - resolution: {integrity: sha512-+gznPl8ip8P8HYHYecDtUtdsh1t2jvb+sWCD72GAiZ9m45RqwrLmReDaqdC0umQfamtFXVRoMVJ2/qINKGm9Tg==} + '@inquirer/checkbox@2.5.0': + resolution: {integrity: sha512-sMgdETOfi2dUHT8r7TT1BTKOwNvdDGFDXYWtQ2J69SvlYNntk9I/gJe7r5yvMwwsuKnYbuRs3pNhx4tgNck5aA==} + engines: {node: '>=18'} + + '@inquirer/confirm@3.2.0': + resolution: {integrity: sha512-oOIwPs0Dvq5220Z8lGL/6LHRTEr9TgLHmiI99Rj1PJ1p1czTys+olrgBqZk4E2qC0YTzeHprxSQmoHioVdJ7Lw==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' '@inquirer/confirm@5.0.2': resolution: {integrity: sha512-KJLUHOaKnNCYzwVbryj3TNBxyZIrr56fR5N45v6K9IPrbT6B7DcudBMfylkV1A8PUdJE15mybkEQyp2/ZUpxUA==} @@ -4737,63 +4739,57 @@ packages: resolution: {integrity: sha512-I+ETk2AL+yAVbvuKx5AJpQmoaWhpiTFOg/UJb7ZkMAK4blmtG8ATh5ct+T/8xNld0CZG/2UhtkdMwpgvld92XQ==} engines: {node: '>=18'} - '@inquirer/editor@4.1.0': - resolution: {integrity: sha512-K1gGWsxEqO23tVdp5MT3H799OZ4ER1za7Dlc8F4um0W7lwSv0KGR/YyrUEyimj0g7dXZd8XknM/5QA2/Uy+TbA==} + '@inquirer/core@9.2.1': + resolution: {integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/expand@4.0.2': - resolution: {integrity: sha512-WdgCX1cUtinz+syKyZdJomovULYlKUWZbVYZzhf+ZeeYf4htAQ3jLymoNs3koIAKfZZl3HUBb819ClCBfyznaw==} + '@inquirer/editor@2.2.0': + resolution: {integrity: sha512-9KHOpJ+dIL5SZli8lJ6xdaYLPPzB8xB9GZItg39MBybzhxA16vxmszmQFrRwbOA918WA2rvu8xhDEg/p6LXKbw==} + engines: {node: '>=18'} + + '@inquirer/expand@2.3.0': + resolution: {integrity: sha512-qnJsUcOGCSG1e5DTOErmv2BPQqrtT6uzqn1vI/aYGiPKq+FgslGZmtdnXbhuI7IlT7OByDoEEqdnhUnVR2hhLw==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' '@inquirer/figures@1.0.8': resolution: {integrity: sha512-tKd+jsmhq21AP1LhexC0pPwsCxEhGgAkg28byjJAd+xhmIs8LUX8JbUc3vBf3PhLxWiB5EvyBE5X7JSPAqMAqg==} engines: {node: '>=18'} - '@inquirer/input@4.0.2': - resolution: {integrity: sha512-yCLCraigU085EcdpIVEDgyfGv4vBiE4I+k1qRkc9C5dMjWF42ADMGy1RFU94+eZlz4YlkmFsiyHZy0W1wdhaNg==} + '@inquirer/input@2.3.0': + resolution: {integrity: sha512-XfnpCStx2xgh1LIRqPXrTNEEByqQWoxsWYzNRSEUxJ5c6EQlhMogJ3vHKu8aXuTacebtaZzMAHwEL0kAflKOBw==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/number@3.0.2': - resolution: {integrity: sha512-MKQhYofdUNk7eqJtz52KvM1dH6R93OMrqHduXCvuefKrsiMjHiMwjc3NZw5Imm2nqY7gWd9xdhYrtcHMJQZUxA==} + '@inquirer/number@1.1.0': + resolution: {integrity: sha512-ilUnia/GZUtfSZy3YEErXLJ2Sljo/mf9fiKc08n18DdwdmDbOzRcTv65H1jjDvlsAuvdFXf4Sa/aL7iw/NanVA==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/password@4.0.2': - resolution: {integrity: sha512-tQXGSu7IO07gsYlGy3VgXRVsbOWqFBMbqAUrJSc1PDTQQ5Qdm+QVwkP0OC0jnUZ62D19iPgXOMO+tnWG+HhjNQ==} + '@inquirer/password@2.2.0': + resolution: {integrity: sha512-5otqIpgsPYIshqhgtEwSspBQE40etouR8VIxzpJkv9i0dVHIpyhiivbkH9/dGiMLdyamT54YRdGJLfl8TFnLHg==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/prompts@7.1.0': - resolution: {integrity: sha512-5U/XiVRH2pp1X6gpNAjWOglMf38/Ys522ncEHIKT1voRUvSj/DQnR22OVxHnwu5S+rCFaUiPQ57JOtMFQayqYA==} + '@inquirer/prompts@5.5.0': + resolution: {integrity: sha512-BHDeL0catgHdcHbSFFUddNzvx/imzJMft+tWDPwTm3hfu8/tApk1HrooNngB2Mb4qY+KaRWF+iZqoVUPeslEog==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/rawlist@4.0.2': - resolution: {integrity: sha512-3XGcskMoVF8H0Dl1S5TSZ3rMPPBWXRcM0VeNVsS4ByWeWjSeb0lPqfnBg6N7T0608I1B2bSVnbi2cwCrmOD1Yw==} + '@inquirer/rawlist@2.3.0': + resolution: {integrity: sha512-zzfNuINhFF7OLAtGHfhwOW2TlYJyli7lOUoJUXw/uyklcwalV6WRXBXtFIicN8rTRK1XTiPWB4UY+YuW8dsnLQ==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/search@3.0.2': - resolution: {integrity: sha512-Zv4FC7w4dJ13BOJfKRQCICQfShinGjb1bCEIHxTSnjj2telu3+3RHwHubPG9HyD4aix5s+lyAMEK/wSFD75HLA==} + '@inquirer/search@1.1.0': + resolution: {integrity: sha512-h+/5LSj51dx7hp5xOn4QFnUaKeARwUCLs6mIhtkJ0JYPBLmEYjdHSYh7I6GrLg9LwpJ3xeX0FZgAG1q0QdCpVQ==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/select@4.0.2': - resolution: {integrity: sha512-uSWUzaSYAEj0hlzxa1mUB6VqrKaYx0QxGBLZzU4xWFxaSyGaXxsSE4OSOwdU24j0xl8OajgayqFXW0l2bkl2kg==} + '@inquirer/select@2.5.0': + resolution: {integrity: sha512-YmDobTItPP3WcEI86GvPo+T2sRHkxxOq/kXmsBjHS5BVXUgvgZ5AfJjkvQvZr03T81NnI3KrrRuMzeuYUQRFOA==} + engines: {node: '>=18'} + + '@inquirer/type@1.5.5': + resolution: {integrity: sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==} + engines: {node: '>=18'} + + '@inquirer/type@2.0.0': + resolution: {integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==} engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' '@inquirer/type@3.0.1': resolution: {integrity: sha512-+ksJMIy92sOAiAccGpcKZUc3bYO07cADnscIxHBknEm3uNts3movSmBofc1908BNy5edKscxYeAdaX1NXkHS6A==} @@ -6011,6 +6007,9 @@ packages: '@types/mime@1.3.5': resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} + '@types/mute-stream@0.0.4': + resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} + '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} @@ -6068,6 +6067,9 @@ packages: '@types/which@3.0.4': resolution: {integrity: sha512-liyfuo/106JdlgSchJzXEQCVArk0CvevqPote8F8HgWgJ3dRCcTHgJIsLDuee0kxk/mhbInzIZk3QWSZJ8R+2w==} + '@types/wrap-ansi@3.0.0': + resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} + '@types/ws@8.5.13': resolution: {integrity: sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==} @@ -8880,6 +8882,10 @@ packages: resolution: {integrity: sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==} hasBin: true + mute-stream@1.0.0: + resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + mute-stream@2.0.0: resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} engines: {node: ^18.17.0 || >=20.5.0} @@ -12082,15 +12088,19 @@ snapshots: '@img/sharp-win32-x64@0.33.5': optional: true - '@inquirer/checkbox@4.0.2(@types/node@22.9.0)': + '@inquirer/checkbox@2.5.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) + '@inquirer/core': 9.2.1 '@inquirer/figures': 1.0.8 - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/type': 1.5.5 ansi-escapes: 4.3.2 yoctocolors-cjs: 2.1.2 + '@inquirer/confirm@3.2.0': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 1.5.5 + '@inquirer/confirm@5.0.2(@types/node@22.9.0)': dependencies: '@inquirer/core': 10.1.0(@types/node@22.9.0) @@ -12111,79 +12121,93 @@ snapshots: transitivePeerDependencies: - '@types/node' - '@inquirer/editor@4.1.0(@types/node@22.9.0)': + '@inquirer/core@9.2.1': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) - '@inquirer/type': 3.0.1(@types/node@22.9.0) + '@inquirer/figures': 1.0.8 + '@inquirer/type': 2.0.0 + '@types/mute-stream': 0.0.4 '@types/node': 22.9.0 + '@types/wrap-ansi': 3.0.0 + ansi-escapes: 4.3.2 + cli-width: 4.1.0 + mute-stream: 1.0.0 + signal-exit: 4.1.0 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.2 + + '@inquirer/editor@2.2.0': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 1.5.5 external-editor: 3.1.0 - '@inquirer/expand@4.0.2(@types/node@22.9.0)': + '@inquirer/expand@2.3.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/core': 9.2.1 + '@inquirer/type': 1.5.5 yoctocolors-cjs: 2.1.2 '@inquirer/figures@1.0.8': {} - '@inquirer/input@4.0.2(@types/node@22.9.0)': + '@inquirer/input@2.3.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/core': 9.2.1 + '@inquirer/type': 1.5.5 - '@inquirer/number@3.0.2(@types/node@22.9.0)': + '@inquirer/number@1.1.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/core': 9.2.1 + '@inquirer/type': 1.5.5 - '@inquirer/password@4.0.2(@types/node@22.9.0)': + '@inquirer/password@2.2.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/core': 9.2.1 + '@inquirer/type': 1.5.5 ansi-escapes: 4.3.2 - '@inquirer/prompts@7.1.0(@types/node@22.9.0)': + '@inquirer/prompts@5.5.0': dependencies: - '@inquirer/checkbox': 4.0.2(@types/node@22.9.0) - '@inquirer/confirm': 5.0.2(@types/node@22.9.0) - '@inquirer/editor': 4.1.0(@types/node@22.9.0) - '@inquirer/expand': 4.0.2(@types/node@22.9.0) - '@inquirer/input': 4.0.2(@types/node@22.9.0) - '@inquirer/number': 3.0.2(@types/node@22.9.0) - '@inquirer/password': 4.0.2(@types/node@22.9.0) - '@inquirer/rawlist': 4.0.2(@types/node@22.9.0) - '@inquirer/search': 3.0.2(@types/node@22.9.0) - '@inquirer/select': 4.0.2(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/checkbox': 2.5.0 + '@inquirer/confirm': 3.2.0 + '@inquirer/editor': 2.2.0 + '@inquirer/expand': 2.3.0 + '@inquirer/input': 2.3.0 + '@inquirer/number': 1.1.0 + '@inquirer/password': 2.2.0 + '@inquirer/rawlist': 2.3.0 + '@inquirer/search': 1.1.0 + '@inquirer/select': 2.5.0 - '@inquirer/rawlist@4.0.2(@types/node@22.9.0)': + '@inquirer/rawlist@2.3.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/core': 9.2.1 + '@inquirer/type': 1.5.5 yoctocolors-cjs: 2.1.2 - '@inquirer/search@3.0.2(@types/node@22.9.0)': + '@inquirer/search@1.1.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) + '@inquirer/core': 9.2.1 '@inquirer/figures': 1.0.8 - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/type': 1.5.5 yoctocolors-cjs: 2.1.2 - '@inquirer/select@4.0.2(@types/node@22.9.0)': + '@inquirer/select@2.5.0': dependencies: - '@inquirer/core': 10.1.0(@types/node@22.9.0) + '@inquirer/core': 9.2.1 '@inquirer/figures': 1.0.8 - '@inquirer/type': 3.0.1(@types/node@22.9.0) - '@types/node': 22.9.0 + '@inquirer/type': 1.5.5 ansi-escapes: 4.3.2 yoctocolors-cjs: 2.1.2 + '@inquirer/type@1.5.5': + dependencies: + mute-stream: 1.0.0 + + '@inquirer/type@2.0.0': + dependencies: + mute-stream: 1.0.0 + '@inquirer/type@3.0.1(@types/node@22.9.0)': dependencies: '@types/node': 22.9.0 @@ -13461,6 +13485,10 @@ snapshots: '@types/mime@1.3.5': {} + '@types/mute-stream@0.0.4': + dependencies: + '@types/node': 22.9.0 + '@types/node-forge@1.3.11': dependencies: '@types/node': 22.9.0 @@ -13519,6 +13547,8 @@ snapshots: '@types/which@3.0.4': {} + '@types/wrap-ansi@3.0.0': {} + '@types/ws@8.5.13': dependencies: '@types/node': 22.9.0 @@ -16789,6 +16819,8 @@ snapshots: dns-packet: 5.6.1 thunky: 1.1.0 + mute-stream@1.0.0: {} + mute-stream@2.0.0: {} mz@2.7.0: