Skip to content

Commit 32ec285

Browse files
Bump @inquirer/prompts from 7.10.1 to 8.1.0 (#578)
Bumps [@inquirer/prompts](https://github.com/SBoudrias/Inquirer.js) from 7.10.1 to 8.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/SBoudrias/Inquirer.js/releases"><code>@​inquirer/prompts</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​inquirer/prompts</code><a href="https://github.com/8"><code>@​8</code></a>.1.0</h2> <ul> <li>Feat: <code>rawlist</code> now supports <code>default</code> option.</li> <li>Fix: <code>select</code> now infer return type properly when passing a <code>choices</code> array of string literals.</li> </ul> <h2><code>@​inquirer/prompts</code><a href="https://github.com/8"><code>@​8</code></a>.0.2</h2> <ul> <li>Fix Typescript not discovering types when <code>moduleResolution</code> is set to <code>commonjs</code> (you probably want to fix that in your project if it's still in your tsconfig)</li> </ul> <h2><code>@​inquirer/prompts</code><a href="https://github.com/8"><code>@​8</code></a>.0.0</h2> <h1>Release Notes</h1> <h2>🚨 Breaking Changes</h2> <p>This is a major release that modernizes the codebase for Node.js ≥ 20.</p> <h3>ESM Only - No More CommonJS Support</h3> <p><strong>Impact:</strong> All packages are now ESM-only. CommonJS imports are no longer supported.</p> <p>If you're on modern Node versions (≥ 20), this should be transparent and have no impact.</p> <h3>Node.js Version Requirement</h3> <p><strong>Minimum Node.js version is now 20.x</strong></p> <p>Node.js versions below 20 are no longer supported. Please upgrade to Node.js 20 or later.</p> <p>Node min versions: <code>&gt;=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0</code></p> <h3>Deprecated APIs Removed</h3> <p>The following deprecated APIs have been removed after being deprecated in previous releases:</p> <h4><code>list</code> prompt alias removed (affects <code>inquirer</code> package only)</h4> <p>The <code>list</code> alias has been removed from the <code>inquirer</code> package. This only impacts users of the legacy <code>inquirer</code> package, not users of <code>@inquirer/prompts</code> or individual prompt packages.</p> <pre lang="js"><code>// ❌ No longer available (inquirer package only) import inquirer from 'inquirer'; const answer = await inquirer.prompt([ { type: 'list', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] } ]); <p>// ✅ Use 'select' instead import inquirer from 'inquirer'; const answer = await inquirer.prompt([ { type: 'select', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] } ]); </code></pre></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/7eedd8e1de71764d0d30e762c97992ceb9f68ed3"><code>7eedd8e</code></a> chore: Publish new release</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/23201baac5fcf7b6a505b8abffb1dbf48ae0958f"><code>23201ba</code></a> feat(<code>@​inquirer/rawlist</code>) Add support for default</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/8713b8987081df723bc5681d8388ac89b3183ac3"><code>8713b89</code></a> fix(<code>@​inquirer/select</code>) Review default typing to no infer valid value</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/d05ce3537d546b55188868f012a8473e2fea6668"><code>d05ce35</code></a> fix(<code>@​inquirer/testing</code>): preserve Value type inference in render()</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/cfef911e3fd45bd423e10d09d15ee985425b1b12"><code>cfef911</code></a> fix(<code>@​inquirer/select</code>): infer Value type from string[] choices</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/6dda7b6b16837040a2b6ed5289b1b71aee8d5af0"><code>6dda7b6</code></a> feat(<code>@​inquirer/core</code>): Add shift to KeypressEvent</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/24ec7ee1ad5b31bf9600253b39d4397a7eae2cc8"><code>24ec7ee</code></a> Chore(deps): Bump type-fest from 5.3.0 to 5.3.1 in the types group</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/3759e853bdbf6644fed1902b6492c5f4bdb11eb7"><code>3759e85</code></a> Chore(deps-dev): Bump turbo from 2.6.1 to 2.6.3 in the build group</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/9c724296daad3d740b09173f9aae035dc62cb106"><code>9c72429</code></a> chore: Publish new release</li> <li><a href="https://github.com/SBoudrias/Inquirer.js/commit/e874a2196a138602f3279d7ddba26c7fd78c87aa"><code>e874a21</code></a> fix: Refresh yarn setup. Fixes <a href="https://redirect.github.com/SBoudrias/Inquirer.js/issues/1902">#1902</a></li> <li>Additional commits viewable in <a href="https://github.com/SBoudrias/Inquirer.js/compare/@inquirer/[email protected]...@inquirer/[email protected]">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@inquirer/prompts&package-manager=npm_and_yarn&previous-version=7.10.1&new-version=8.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent cb07416 commit 32ec285

File tree

2 files changed

+199
-140
lines changed

2 files changed

+199
-140
lines changed

0 commit comments

Comments
 (0)