diff --git a/package.json b/package.json index 077b2d7cde..43b1a94f4f 100644 --- a/package.json +++ b/package.json @@ -169,7 +169,7 @@ "happy-dom": "^14.2.0", "highlight.js": "^11.9.0", "husky": "^9.0.11", - "inquirer": "^9.2.15", + "inquirer": "^10.1.4", "jscodeshift": "^0.15.1", "linguist-languages": "^7.27.0", "lint-staged": "^15.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2b95cc1c0d..13424a249b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -233,8 +233,8 @@ importers: specifier: ^9.0.11 version: 9.0.11 inquirer: - specifier: ^9.2.15 - version: 9.2.23 + specifier: ^10.1.4 + version: 10.1.4 jscodeshift: specifier: ^0.15.1 version: 0.15.2(@babel/preset-env@7.24.7(@babel/core@7.24.7)) @@ -1735,10 +1735,66 @@ packages: peerDependencies: react: '*' + '@inquirer/checkbox@2.4.3': + resolution: {integrity: sha512-H/axC1lJAwFNQedx5z2boJi6ow73anqxJiS1Lld/I1LQ/Zvn0jldCjtR5yzl5KAzjYf0sHNRfJCELey5brk6cA==} + engines: {node: '>=18'} + + '@inquirer/confirm@3.1.18': + resolution: {integrity: sha512-axDSeAtgRfMAOnI2NXJAcBliknRiPHBPBh8VpofFW2vSt5nxU/IoNcWfNBIs1LFwICyLzbvGjF3fd+rYLSU11w==} + engines: {node: '>=18'} + + '@inquirer/core@9.0.6': + resolution: {integrity: sha512-pmwIJJrtOBmP29JLPkdq5ORGGaSzOwZbashYyME20sD5AITiy2j3LFsnTXXuiqPIkq4XjQYOHzaExAmqjyU1Cg==} + engines: {node: '>=18'} + + '@inquirer/editor@2.1.18': + resolution: {integrity: sha512-DwDgYZziNSw2icITM80LRpALeFFpV6flBOUkb0EYFOTb9TnH5xp15lcExVIIr8bzjnzcQ+tAXZXJ6S8ib1iv9A==} + engines: {node: '>=18'} + + '@inquirer/expand@2.1.18': + resolution: {integrity: sha512-sI2jq0ZeU7p6+4pOAHiaknj2M1DaMdRH3I+bH34pWirqgDXRwt1WRZrj9Ni3rjK6lgevsKybxESW2ESPt4ElEw==} + engines: {node: '>=18'} + '@inquirer/figures@1.0.3': resolution: {integrity: sha512-ErXXzENMH5pJt5/ssXV0DfWUZqly8nGzf0UcBV9xTnP+KyffE2mqyxIMBrZ8ijQck2nU0TQm40EQB53YreyWHw==} engines: {node: '>=18'} + '@inquirer/figures@1.0.5': + resolution: {integrity: sha512-79hP/VWdZ2UVc9bFGJnoQ/lQMpL74mGgzSYX1xUqCVk7/v73vJCMw1VuyWN1jGkZ9B3z7THAbySqGbCNefcjfA==} + engines: {node: '>=18'} + + '@inquirer/input@2.2.5': + resolution: {integrity: sha512-FGzf1xbxbshbKB75j6mSVu8XIsSoBNCWFQEeBNUYKsMPnQJi+VcxntmfkgdhW9LVAmSNQZKrgm3itbaQdAuwBA==} + engines: {node: '>=18'} + + '@inquirer/number@1.0.6': + resolution: {integrity: sha512-e0qI1hFGRT4HGhzvd/lUvio7knGoUsj7sN+vVLFUJNyIUCo21Z+avcwoyCdSWzt5OxA0hLdTBSLzlZi6lHOsEA==} + engines: {node: '>=18'} + + '@inquirer/password@2.1.18': + resolution: {integrity: sha512-cHa3BgT88aJLOUrdzU7KZYT3PsuH0vrCmULQAHP6SHIhui50qwHISQCT0QilonUxmOCRGUFhKgXa6/qSu6IAhA==} + engines: {node: '>=18'} + + '@inquirer/prompts@5.3.4': + resolution: {integrity: sha512-rZQewXIV6yZXuZtZ65/WIhcND0RCOQZtu0uPEST7wZStLQwuZCD3rZrD1fuxygqzqA5rGq7pgSuLmhGCuSnkkA==} + engines: {node: '>=18'} + + '@inquirer/rawlist@2.2.0': + resolution: {integrity: sha512-Lhsm7myhiV9WJzpmEoTHP4mIXXAWxcEeu19S6RVghC1WpkQE5pvsE3W1KBr+ouuFSW7dylZLMRe8vQdizDplTA==} + engines: {node: '>=18'} + + '@inquirer/search@1.0.3': + resolution: {integrity: sha512-3R0gWkaahzu2vkYWlr8E2IZTwj1QpanMrrK6ANsrPlXFwMl5C8v8gdKws4buBEmVBW0gpVC15xE20dlsWNhTvA==} + engines: {node: '>=18'} + + '@inquirer/select@2.4.3': + resolution: {integrity: sha512-JKKZKFtN+E6aY8p9eHHDilTqAJ/taQeSzDUE08T3AddwZVj3bgQgQ5CR4Yi2/XfVv1xfZH/ENNQop7eZ8sEqfQ==} + engines: {node: '>=18'} + + '@inquirer/type@1.5.1': + resolution: {integrity: sha512-m3YgGQlKNS0BM+8AFiJkCsTqHEFCWn6s/Rqye3mYwvqY6LdfUv12eSwbsgNzrYyrLXiy7IrrjDLPysaSBwEfhw==} + engines: {node: '>=18'} + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -2785,9 +2841,15 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} + '@types/mute-stream@0.0.4': + resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} + '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} + '@types/node@20.14.13': + resolution: {integrity: sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==} + '@types/node@20.14.2': resolution: {integrity: sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==} @@ -2871,6 +2933,9 @@ packages: '@types/webpack-env@1.18.5': resolution: {integrity: sha512-wz7kjjRRj8/Lty4B+Kr0LN6Ypc/3SymeCCGSbaXp2leH0ZVg/PriNiOwNj4bD4uphI7A8NXS4b6Gl373sfO5mA==} + '@types/wrap-ansi@3.0.0': + resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} + '@types/ws@8.5.10': resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} @@ -6012,6 +6077,10 @@ packages: inline-style-parser@0.2.3: resolution: {integrity: sha512-qlD8YNDqyTKTyuITrDOffsl6Tdhv+UC4hcdAVuQsK4IMQ99nSgd1MIA/Q+jQYoh9r3hVUXhYh7urSRmXPkW04g==} + inquirer@10.1.4: + resolution: {integrity: sha512-4EOIuSov4bfQjbT+lQKGIPWxTfZO0hFIo2/vS/J92NsCp1XPm9VjeXQ0f2GEeP0XTKpm1ts0Iyk1LDQHmzdDuA==} + engines: {node: '>=18'} + inquirer@7.3.3: resolution: {integrity: sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==} engines: {node: '>=8.0.0'} @@ -6024,10 +6093,6 @@ packages: resolution: {integrity: sha512-SqLLa/Oe5rZUagTR9z+Zd6izyatHglbmbvVofo1KzuVB54YHleWzeHNLoR7FOICGOeQSqeLh1cordb3MzhGcEw==} engines: {node: '>=18'} - inquirer@9.2.23: - resolution: {integrity: sha512-kod5s+FBPIDM2xiy9fu+6wdU/SkK5le5GS9lh4FEBjBHqiMgD9lLFbCbuqFNAjNL2ZOy9Wd9F694IOzN9pZHBA==} - engines: {node: '>=18'} - internal-slot@1.0.7: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} @@ -10284,6 +10349,10 @@ packages: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'} + yoctocolors-cjs@2.1.2: + resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==} + engines: {node: '>=18'} + yup@1.4.0: resolution: {integrity: sha512-wPbgkJRCqIf+OHyiTBQoJiP5PFuAXaWiJK6AmYkzQAh5/c2K9hzSApBZG5wV9KoKSePF7sAxmNSvh/13YHkFDg==} @@ -11616,8 +11685,105 @@ snapshots: dependencies: react: 18.3.1 + '@inquirer/checkbox@2.4.3': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/figures': 1.0.5 + '@inquirer/type': 1.5.1 + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + + '@inquirer/confirm@3.1.18': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/type': 1.5.1 + + '@inquirer/core@9.0.6': + dependencies: + '@inquirer/figures': 1.0.5 + '@inquirer/type': 1.5.1 + '@types/mute-stream': 0.0.4 + '@types/node': 20.14.13 + '@types/wrap-ansi': 3.0.0 + ansi-escapes: 4.3.2 + cli-spinners: 2.9.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.1.18': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/type': 1.5.1 + external-editor: 3.1.0 + + '@inquirer/expand@2.1.18': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/type': 1.5.1 + yoctocolors-cjs: 2.1.2 + '@inquirer/figures@1.0.3': {} + '@inquirer/figures@1.0.5': {} + + '@inquirer/input@2.2.5': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/type': 1.5.1 + + '@inquirer/number@1.0.6': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/type': 1.5.1 + + '@inquirer/password@2.1.18': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/type': 1.5.1 + ansi-escapes: 4.3.2 + + '@inquirer/prompts@5.3.4': + dependencies: + '@inquirer/checkbox': 2.4.3 + '@inquirer/confirm': 3.1.18 + '@inquirer/editor': 2.1.18 + '@inquirer/expand': 2.1.18 + '@inquirer/input': 2.2.5 + '@inquirer/number': 1.0.6 + '@inquirer/password': 2.1.18 + '@inquirer/rawlist': 2.2.0 + '@inquirer/search': 1.0.3 + '@inquirer/select': 2.4.3 + + '@inquirer/rawlist@2.2.0': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/type': 1.5.1 + yoctocolors-cjs: 2.1.2 + + '@inquirer/search@1.0.3': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/figures': 1.0.5 + '@inquirer/type': 1.5.1 + yoctocolors-cjs: 2.1.2 + + '@inquirer/select@2.4.3': + dependencies: + '@inquirer/core': 9.0.6 + '@inquirer/figures': 1.0.5 + '@inquirer/type': 1.5.1 + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + + '@inquirer/type@1.5.1': + dependencies: + mute-stream: 1.0.0 + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -13203,10 +13369,18 @@ snapshots: '@types/ms@0.7.34': {} + '@types/mute-stream@0.0.4': + dependencies: + '@types/node': 20.14.2 + '@types/node-forge@1.3.11': dependencies: '@types/node': 20.14.2 + '@types/node@20.14.13': + dependencies: + undici-types: 5.26.5 + '@types/node@20.14.2': dependencies: undici-types: 5.26.5 @@ -13306,6 +13480,8 @@ snapshots: '@types/webpack-env@1.18.5': {} + '@types/wrap-ansi@3.0.0': {} + '@types/ws@8.5.10': dependencies: '@types/node': 20.14.2 @@ -17004,6 +17180,16 @@ snapshots: inline-style-parser@0.2.3: {} + inquirer@10.1.4: + dependencies: + '@inquirer/prompts': 5.3.4 + '@inquirer/type': 1.5.1 + '@types/mute-stream': 0.0.4 + ansi-escapes: 4.3.2 + mute-stream: 1.0.0 + run-async: 3.0.0 + rxjs: 7.8.1 + inquirer@7.3.3: dependencies: ansi-escapes: 4.3.2 @@ -17056,24 +17242,6 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 6.2.0 - inquirer@9.2.23: - dependencies: - '@inquirer/figures': 1.0.3 - '@ljharb/through': 2.3.13 - ansi-escapes: 4.3.2 - chalk: 5.3.0 - cli-cursor: 3.1.0 - cli-width: 4.1.0 - external-editor: 3.1.0 - lodash: 4.17.21 - mute-stream: 1.0.0 - ora: 5.4.1 - run-async: 3.0.0 - rxjs: 7.8.1 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 6.2.0 - internal-slot@1.0.7: dependencies: es-errors: 1.3.0 @@ -22238,6 +22406,8 @@ snapshots: yocto-queue@1.0.0: {} + yoctocolors-cjs@2.1.2: {} + yup@1.4.0: dependencies: property-expr: 2.0.6