jdf2e / nutui-react

京东风格的移动端 React 组件库 、支持多端小程序(A React UI Toolkit for Mobile Web)
https://nutui.jd.com/react/
919 stars 263 forks source link

chore(deps): update dependency inquirer to v11 - autoclosed #2600

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
inquirer (source) ^10.1.4 -> ^11.1.0 age adoption passing confidence

Release Notes

SBoudrias/Inquirer.js (inquirer) ### [`v11.1.0`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4011.1.0) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.2...inquirer@11.1.0) - Now exports base utility Typescript types: `import type { Question, DistinctQuestion, Answers } from 'inquirer';` You should use as follow to keep the inference working properly: ```ts const questions = [ { ... } ] as const satisfies Question[]; // If you're not using inquirer plugins, `Question` could alternatively be replaced by `DistinctQuestion` for stricter checks. ``` ### [`v11.0.2`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4011.0.2) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.1...inquirer@11.0.2) - Fix [#​1555](https://redirect.github.com/SBoudrias/Inquirer.js/issues/1555): `when` behaviour changed unexpectedly when returning a falsy value. ### [`v11.0.1`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.0...inquirer@11.0.1) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.0...inquirer@11.0.1) ### [`v11.0.0`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4011.0.0) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@10.2.2...inquirer@11.0.0) No technical breaking changes; but we changed the style of the question `prefix` once 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.2`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.2.2) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@10.2.1...inquirer@10.2.2) - Fix the `filter` option not working. - The `signal: AbortSignal` didn't work with class based prompts (OSS plugins.) Now it should work consistently with legacy style prompts. ### [`v10.2.1`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.2.1) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@10.2.0...inquirer@10.2.1) - Fix `expand` prompt being broken if a Separator was in the `choices` array. ### [`v10.2.0`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.2.0) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.8...inquirer@10.2.0) - Includes various fixes & new features to the different built-in prompts - Fix: Major rework of the Typescript types. Hoping to reduce the amount of finicky type errors (or wrong types) you might've ran into.

Configuration

📅 Schedule: Branch creation - "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.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.96%. Comparing base (e5a70f3) to head (e4c4b2e). Report is 1 commits behind head on next.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #2600 +/- ## ======================================= Coverage 82.96% 82.96% ======================================= Files 219 219 Lines 17912 17912 Branches 2547 2547 ======================================= Hits 14860 14860 Misses 3047 3047 Partials 5 5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.