Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 21, 2025

This PR contains the following updates:

Package Change Age Confidence
@inquirer/prompts (source) 7.5.1 -> 7.10.1 age confidence

Release Notes

SBoudrias/Inquirer.js (@​inquirer/prompts)

v7.10.1

Compare Source

  • [Node 18 compat] Downgraded to mute-stream@​2 to maintain Node 18 compatibility.

v7.10.0

Compare Source

  • feat @inquirer/input: Now support simple RegExp validation with pattern/patternError.
  • fix @inquirer/editor: Fix typo s/waitForUseInput/waitForUserInput
  • Bump dependencies

v7.9.0

Compare Source

  • New design for the keys help tip. Themable/localizable with theme.style.keysHelpTip.
  • Re-introduce option to match up/down actions with vim or emacs keybindings. Enable with theme.keybindings

v7.8.6

Compare Source

  • Reduce number of transitive dependencies

v7.8.5

Compare Source

  • Fix #​1834: (rawlist) Allows specifying numbers as explicit keys of option within the list.

v7.8.4

Compare Source

  • fix: Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature.

v7.8.3

Compare Source

  • Fix Unix yes not properly being processed by the confirm prompt. (yes | node confirm-script.js)

v7.8.2

Compare Source

  • Make @types/node an optional peer dependency.

v7.8.1

Compare Source

  • Replace external-editor dependency with new @inquirer/external-editor. This remove the vulnerable tmp transitive dependency from the dependency tree.

v7.8.0

Compare Source

  • Search prompt: New instructions config to allow localizing the help tips.

v7.7.1

Compare Source

  • Fix #​1786 select prompt with indexMode: number theme option didn't properly calculate the items indexes if separators where present in between choices.

v7.7.0

Compare Source

  • Select prompt: When pressing a number key, we'll ignore separators in counting the index of the item to jump to.
  • Checkbox prompt: When pressing a number key, we'll ignore separators in counting the index of the item to select.

v7.6.0

Compare Source

-input prompt: New prefill option to control if the default value is editable inline or only after pressing tab.

v7.5.3

Compare Source

  • Fix #​1743: pagination logic of the select, checkbox and search prompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.

v7.5.2

Compare Source

  • Chore: dependencies bump

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate bot and others added 30 commits May 20, 2025 20:02
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@trpc/server](https://trpc.io)
([source](https://redirect.github.com/trpc/trpc/tree/HEAD/packages/server))
| [`11.1.2` ->
`11.2.0`](https://renovatebot.com/diffs/npm/@trpc%2fserver/11.1.2/11.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@trpc%2fserver/11.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@trpc%2fserver/11.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@trpc%2fserver/11.1.2/11.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@trpc%2fserver/11.1.2/11.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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/mmkal/trpc-cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xNi4wIiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6ImRlcHMiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [zod](https://zod.dev)
([source](https://redirect.github.com/colinhacks/zod)) | [`3.25.28` ->
`3.25.49`](https://renovatebot.com/diffs/npm/zod/3.25.28/3.25.49) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/3.25.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zod/3.25.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zod/3.25.28/3.25.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/3.25.28/3.25.49?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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/mmkal/trpc-cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xNi4wIiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6ImRlcHMiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot changed the title Update dependency @inquirer/prompts to v7.9.0 chore(deps): update dependency @inquirer/prompts to v7.9.0 Oct 27, 2025
@renovate renovate bot force-pushed the renovate/inquirer-prompts-7.x branch from 348d177 to 6b69a4b Compare October 27, 2025 11:40
@renovate renovate bot force-pushed the renovate/inquirer-prompts-7.x branch from 6b69a4b to 5560268 Compare October 27, 2025 13:06
@renovate renovate bot changed the title chore(deps): update dependency @inquirer/prompts to v7.9.0 Update dependency @inquirer/prompts to v7.9.0 Oct 27, 2025
@renovate renovate bot changed the title Update dependency @inquirer/prompts to v7.9.0 Update dependency @inquirer/prompts to v7.10.0 Nov 8, 2025
@renovate renovate bot force-pushed the renovate/inquirer-prompts-7.x branch from 5560268 to f8d7c8a Compare November 8, 2025 20:25
@renovate renovate bot changed the title Update dependency @inquirer/prompts to v7.10.0 chore(deps): update dependency @inquirer/prompts to v7.10.0 Nov 11, 2025
@renovate renovate bot changed the title chore(deps): update dependency @inquirer/prompts to v7.10.0 Update dependency @inquirer/prompts to v7.10.0 Nov 11, 2025
@renovate renovate bot changed the title Update dependency @inquirer/prompts to v7.10.0 Update dependency @inquirer/prompts to v7.10.1 Nov 13, 2025
@renovate renovate bot force-pushed the renovate/inquirer-prompts-7.x branch from f8d7c8a to e8fba84 Compare November 13, 2025 00:08
@renovate renovate bot changed the title Update dependency @inquirer/prompts to v7.10.1 chore(deps): update dependency @inquirer/prompts to v7.10.1 Nov 15, 2025
@renovate renovate bot force-pushed the renovate/inquirer-prompts-7.x branch from e8fba84 to 6f0987a Compare November 15, 2025 23:26
@renovate renovate bot force-pushed the renovate/inquirer-prompts-7.x branch from 6f0987a to bd8f5a6 Compare November 15, 2025 23:39
@renovate renovate bot changed the title chore(deps): update dependency @inquirer/prompts to v7.10.1 Update dependency @inquirer/prompts to v7.10.1 Nov 16, 2025
@renovate renovate bot changed the title Update dependency @inquirer/prompts to v7.10.1 chore(deps): update dependency @inquirer/prompts to v7.10.1 Nov 18, 2025
@renovate renovate bot changed the title chore(deps): update dependency @inquirer/prompts to v7.10.1 Update dependency @inquirer/prompts to v7.10.1 Nov 19, 2025
renovate bot and others added 2 commits December 1, 2025 09:31
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [valibot](https://valibot.dev)
([source](https://redirect.github.com/open-circle/valibot)) | [`1.1.0`
-> `1.2.0`](https://renovatebot.com/diffs/npm/valibot/1.1.0/1.2.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/valibot/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/valibot/1.1.0/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-66020](https://redirect.github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9)

### Summary

The `EMOJI_REGEX` used in the `emoji` action is vulnerable to a Regular
Expression Denial of Service (ReDoS) attack. A short, maliciously
crafted string (e.g., <100 characters) can cause the regex engine to
consume excessive CPU time (minutes), leading to a Denial of Service
(DoS) for the application.

### Details

The ReDoS vulnerability stems from "catastrophic backtracking" in the
`EMOJI_REGEX`. This is caused by ambiguity in the regex pattern due to
overlapping character classes.

Specifically, the class `\p{Emoji_Presentation}` overlaps with more
specific classes used in the same alternation, such as
`[\u{1F1E6}-\u{1F1FF}]` (regional indicator symbols used for flags) and
`\p{Emoji_Modifier_Base}`.

When the regex engine attempts to match a string that almost matches but
ultimately fails (like the one in the PoC), this ambiguity forces it to
explore an exponential number of possible paths. The matching time
increases exponentially with the length of the crafted input, rather
than linearly.

### PoC

The following code demonstrates the vulnerability.

```javascript
import * as v from 'valibot';

const schema = v.object({
  x: v.pipe(v.string(), v.emoji()),
});

const attackString = '\u{1F1E6}'.repeat(49) + '0';

console.log(`Input length: ${attackString.length}`);
console.log('Starting parse... (This will take a long time)');

// On my machine, a length of 99 takes approximately 2 minutes.
console.time();
try {
  v.parse(schema, {x: attackString });
} catch (e) {}
console.timeEnd();
```

### Impact

Any project using Valibot's `emoji` validation on user-controllable
input is vulnerable to a Denial of Service attack.

An attacker can block server resources (e.g., a web server's event loop)
by submitting a short string to any endpoint that uses this validation.
This is particularly dangerous because the attack string is short enough
to bypass typical input length restrictions (e.g., maxLength(100)).

### Recommended Fix

The root cause is the overlapping character classes. This can be
resolved by making the alternatives mutually exclusive, typically by
using negative lookaheads (`(?!...)`) to subtract the specific classes
from the more general one.

The following modified `EMOJI_REGEX` applies this principle:

```javascript
export const EMOJI_REGEX: RegExp =
  // eslint-disable-next-line redos-detector/no-unsafe-regex, regexp/no-dupe-disjunctions -- false positives
  /^(?:[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}|(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|(?![\p{Emoji_Modifier_Base}\u{1F1E6}-\u{1F1FF}])\p{Emoji_Presentation})(?:\u200D(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|(?![\p{Emoji_Modifier_Base}\u{1F1E6}-\u{1F1FF}])\p{Emoji_Presentation}))*)+$/u;
```

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **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/mmkal/trpc-cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS45IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuOSIsInRhcmdldEJyYW5jaCI6ImRlcHMiLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Misha Kaletsky <[email protected]>
@renovate renovate bot changed the title Update dependency @inquirer/prompts to v7.10.1 chore(deps): update dependency @inquirer/prompts to v7.10.1 Dec 1, 2025
@renovate renovate bot force-pushed the renovate/inquirer-prompts-7.x branch from bd8f5a6 to ea76fad Compare December 1, 2025 09:32
@mmkal mmkal closed this Dec 1, 2025
@renovate renovate bot changed the title chore(deps): update dependency @inquirer/prompts to v7.10.1 Update dependency @inquirer/prompts to v7.10.1 Dec 1, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 1, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (7.10.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants