-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[deps] Vault: Update inquirer to v12 #15019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
New Issues (2)Checkmarx found the following issues in this Pull Request
Fixed Issues (6)Great job! The following issues were fixed in this Pull Request
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15019 +/- ##
=======================================
Coverage 41.20% 41.20%
=======================================
Files 3543 3543
Lines 101912 101912
Branches 15282 15282
=======================================
+ Hits 41988 41992 +4
+ Misses 58159 58155 -4
Partials 1765 1765 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mzieniukbw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from KM perspective, but Ctrl + C behaviour is different and now throws exception, that needs to be handled: https://www.npmjs.com/package/@inquirer/prompts#recipes
|
Internal tracking:
|
6f9030c
|
|
||
| // reattempt with new password | ||
| this.sendAccessRequest.password = await this.getUnlockedPassword(answer.password, key); | ||
| this.sendAccessRequest.password = await this.getUnlockedPassword(password, key); |
Check warning
Code scanning / Checkmarx One
Insecure Storage of Sensitive Data
6f9030c to
cb92dfc
Compare
25cc12c to
668c0cf
Compare
|
a01a19a
b6b9e50 to
a01a19a
Compare
a01a19a to
4434cdd
Compare







This PR contains the following updates:
8.2.6->12.11.1Release Notes
SBoudrias/Inquirer.js (inquirer)
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
v12.5.0Compare Source
select): Introducetheme.indexModeto control displaying an index prefix in front of each choice. (defaults to hidden)select): Improve search when number keys are pressedv12.4.3Compare Source
--frozen-intrinsicsflag.v12.4.2Compare Source
v12.4.1Compare Source
@types/nodeas an optional peer dependency across all packages.v12.4.0Compare Source
shortcutconfig to thecheckboxprompt. Allows to customize or disable shortcut keys for select all and invert selection.v12.3.3Compare Source
strip-ansiin favour of Node built-instripVTControlCharactersutil.v12.3.2Compare Source
v12.3.1Compare Source
v12.3.0Compare Source
defaultto be provided listing pre-checked checkboxes. This is a legacy interface brought back given this feature removal was an involuntary breaking change during thev12release. The preferred interface is to provide thecheckedproperty to choices{ value: 'bar', checked: true }.v12.2.0Compare Source
v12.1.0Compare Source
v12.0.1Compare Source
v12.0.0Compare Source
@types/nodeis now only apeerDependencies. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does runnpm install --dev @​types/node/yarn add --dev @​types/node.v11.1.0Compare Source
import type { Question, DistinctQuestion, Answers } from 'inquirer';You should use as follow to keep the inference working properly:
v11.0.2Compare Source
whenbehaviour changed unexpectedly when returning a falsy value.v11.0.1Compare Source
v11.0.0Compare Source
No technical breaking changes; but we changed the style of the question
prefixonce the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same?as when the prompt is idle.)This is theme-able, and so can be overwritten to with
theme.prefix.v10.2.2Compare Source
filteroption not working.signal: AbortSignaldidn't work with class based prompts (OSS plugins.) Now it should work consistently with legacy style prompts.v10.2.1Compare Source
expandprompt being broken if a Separator was in thechoicesarray.v10.2.0Compare Source
v10.1.8Compare Source
v10.1.7Compare Source
v10.1.6Compare Source
v10.1.5Compare Source
v10.1.4Compare Source
v10.1.3Compare Source
v10.1.2Compare Source
Choiceobjects withoutvalueshould default to usenameas the value. Note: Please don't rely on this weird behaviour, but we fixed it since it was an unintended breaking change.v10.1.1Compare Source
v10.1.0Compare Source
{ type: 'search' }prompt.v10.0.4Compare Source
v10.0.3Compare Source
shorton select and checkbox prompt.closemethod on prompt class instances (it wasn't required.)v10.0.2Compare Source
v10.0.1Compare Source
v10.0.0Compare Source
inquireris publishes a dual-build CJS/ESM.)@inquirer/prompt.@inquirer/core. Custom prompts built on[email protected]will keep working, but should plan a migration.inquirer.ui.BottomBaris deleted.My expectation is that this release should be a drop-in replacement for people using
inquirer.prompt()and built-ins 🤞🏻. Please open an issue on Github if you run into issues migrating; it's a large rewrite and there might be a few sharp edges to cut! Hope you'll like this new release.v9.3.8Compare Source
v9.3.7Compare Source
v9.3.6Compare Source
v9.3.5Compare Source
inquirerpackages file structure.v9.3.4Compare Source
v9.3.3Compare Source
v9.3.2Compare Source
v9.3.1Compare Source
v9.3.0Compare Source
chalkwith(in 9.3.2 went topicolorsyoctocolorsto stay with Sindre's packages and reduce amount of provenance.)No impact expected, but it's a large changes in dependencies. Let us know if you run into any issues upgrading!
v9.2.23Compare Source
v9.2.22Compare Source
editorprompt: Fixed compatibility issue betweendefaultandwaitUserInputoptions. #1405v9.2.21Compare Source
v9.2.20Compare Source
v9.2.19Compare Source
v9.2.18Compare Source
v9.2.17Compare Source
v9.2.16Compare Source
v9.2.15Compare Source
v9.2.14Compare Source
v9.2.13Compare Source
v9.2.12Compare Source
v9.2.11Compare Source
v9.2.10Compare Source
v9.2.9Compare Source
throughdependency (only affect users of the old bottom bar)v9.2.8Compare Source
v9.2.7Compare Source
v9.2.6Compare Source
v9.2.5Compare Source
v9.2.4Compare Source
v9.2.3Compare Source
v9.2.2Compare Source
v9.2.1Compare Source
v9.2.0Compare Source
v9.1.5Compare Source
v9.1.4Compare Source
Fix issue with the default value disappearing from prompt.
v9.1.3Compare Source
v9.1.2Compare Source
v9.1.1Compare Source
v9.1.0Compare Source
v9.0.2Compare Source
v9.0.1Compare Source
v9.0.0Compare Source
Inquirer is now a native Node ECMAScript module. This will require your Node runtime to support es modules, and your app to be an es module. Node documentation over here: https://nodejs.org/api/esm.html#modules-ecmascript-modules
If you cannot migrate, please remember you can keep using the v8.x release line until you're ready.
v8.2.7Compare Source
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), 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.