Commit 3e3d92f
chore(deps): update dependency inquirer to v12 (#677)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[inquirer](https://redirect.github.com/SBoudrias/Inquirer.js/blob/main/packages/inquirer/README.md)
([source](https://redirect.github.com/SBoudrias/Inquirer.js)) |
[`~9.3.0` ->
`~12.1.0`](https://renovatebot.com/diffs/npm/inquirer/9.3.7/12.1.0) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>SBoudrias/Inquirer.js (inquirer)</summary>
###
[`v12.1.0`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.1.0)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.1.0)
###
[`v12.0.1`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.0.1)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.0.1)
###
[`v12.0.0`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.0.0)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.0.0)
- `@types/node` is now only a `peerDependencies`. 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
run `npm install --dev @​types/node`/`yarn add --dev
@​types/node`.
###
[`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/[email protected]@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/[email protected]@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/[email protected]@11.0.1)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@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/[email protected]@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/[email protected]@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/[email protected]@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/[email protected]@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.
###
[`v10.1.8`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.8)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.8)
###
[`v10.1.7`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.7)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.7)
###
[`v10.1.6`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.6)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.6)
###
[`v10.1.5`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.5)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.5)
###
[`v10.1.4`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.4)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.4)
###
[`v10.1.3`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.3)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.3)
###
[`v10.1.2`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.2)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.2)
###
[`v10.1.1`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.1)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.1)
###
[`v10.1.0`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.1.0)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.1.0)
- Adds the new `{ type: 'search' }` prompt.
###
[`v10.0.4`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected])
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.4)
###
[`v10.0.3`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.3)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.3)
###
[`v10.0.2`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.2)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.2)
###
[`v10.0.1`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.1)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.1)
###
[`v10.0.0`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.0.0)
[Compare
Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/[email protected]@10.0.0)
- Re-implemented with Typescript.
- Adding CJS support (now `inquirer` is publishes a dual-build CJS/ESM.)
- All core prompts are now coming from
[`@inquirer/prompt`](https://redirect.github.com/SBoudrias/Inquirer.js).
- Custom prompts now should be [implemented with
`@inquirer/core`](https://redirect.github.com/SBoudrias/Inquirer.js/tree/main/packages/core).
Custom prompts built on `[email protected]` will keep working, but should
plan a migration.
- `inquirer.ui.BottomBar` is 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.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekday" (UTC), Automerge - At
any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apify/apify-cli).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzkuOS41IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vlad Frangu <[email protected]>1 parent 42c6ef8 commit 3e3d92f
File tree
6 files changed
+52
-185
lines changed- src
- commands
- lib
- commands
- projects/scrapy
6 files changed
+52
-185
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
| 168 | + | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
182 | | - | |
| 181 | + | |
183 | 182 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments