fix(deps): update dependency inquirer to v13 #1335
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
12.5.0->13.0.2Release Notes
SBoudrias/Inquirer.js (inquirer)
v13.0.2Compare Source
moduleResolutionis set tocommonjs(you probably want to fix that in your project if it's still in your tsconfig)v13.0.1Compare Source
v13.0.0Compare Source
Release Notes
🚨 Breaking Changes
This is a major release that modernizes the codebase for Node.js ≥ 20.
ESM Only - No More CommonJS Support
Impact: All packages are now ESM-only. CommonJS imports are no longer supported.
If you're on modern Node versions (≥ 20), this should be transparent and have no impact.
Node.js Version Requirement
Minimum Node.js version is now 20.x
Node.js versions below 20 are no longer supported. Please upgrade to Node.js 20 or later.
Node min versions:
>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0Deprecated APIs Removed
The following deprecated APIs have been removed after being deprecated in previous releases:
listprompt alias removed (affectsinquirerpackage only)The
listalias has been removed from theinquirerpackage. This only impacts users of the legacyinquirerpackage, not users of@inquirer/promptsor individual prompt packages.helpModetheme property removedThis affects the following prompts:
@inquirer/checkbox@inquirer/search@inquirer/selectinstructionsconfig property removedThis affects the following prompts:
@inquirer/checkbox@inquirer/search@inquirer/selectcancel()method removedThe
cancel()method on prompt return customPromisehas been removed.Color Library Change: yoctocolors → Node.js
styleTextInternal change: The project now uses Node.js built-in
util.styleText()instead of theyoctocolorspackage for terminal colors. This makes Inquirer smaller and reduces risks of vulnerabilities coming from transitive dependencies.v12.11.1Compare Source
Partial<{ ... }>type as pre-filled answers.v12.11.0Compare Source
@inquirer/input: Now support simple RegExp validation withpattern/patternError.@inquirer/editor: Fix typos/waitForUseInput/waitForUserInputv12.10.0Compare Source
theme.style.keysHelpTip.theme.keybindingsv12.9.6Compare Source
v12.9.5Compare Source
v12.9.4Compare Source
v12.9.3Compare Source
yesnot properly being processed by the confirm prompt. (yes | node confirm-script.js)v12.9.2Compare Source
@types/nodean optional peer dependency.v12.9.1Compare Source
external-editordependency with new@inquirer/external-editor. This remove the vulnerabletmptransitive dependency from the dependency tree.v12.9.0Compare Source
instructionsconfig to allow localizing the help tips.v12.8.2Compare Source
indexMode: numbertheme option didn't properly calculate the items indexes if separators where present in between choices.v12.8.1Compare Source
run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #1791v12.8.0Compare Source
v12.7.0Compare Source
-
inputprompt: Newprefilloption to control if thedefaultvalue is editable inline or only after pressingtab.v12.6.3Compare Source
select,checkboxandsearchprompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.v12.6.2Compare Source
v12.6.1Compare Source
npm. This removes non-standard version specifiers likeworkspace:*from the public npm packages.v12.6.0Compare Source
instructionsoption allowing to customize the messages in the help tips.@inquirer/selectprompt. Also added aloopoption to control the list loop behaviour when reaching the boundaries.v12.5.2Compare Source
v12.5.1Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.