Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 21, 2026

Bumps inquirer from 13.2.0 to 13.2.1.

Release notes

Sourced from inquirer's releases.

inquirer@13.2.1

  • Regression: previous answers weren't provided to the validate functions as the second arguments.
Commits
  • cb47974 chore: Publish new release
  • 52b2936 fix(inquirer): pass previous answers to validate function (#1969)
  • 5239f13 chore(deps-dev): Bump the linting group across 1 directory with 5 updates (#1...
  • 9a80682 chore(deps-dev): Bump oxfmt in the formatting group (#1965)
  • 0d0dbf8 chore(deps-dev): Bump the testing group with 3 updates (#1963)
  • 10da0c0 chore(deps-dev): Bump the build group with 3 updates (#1966)
  • 406729c chore(deps): Bump the types group with 2 updates (#1967)
  • 2301c14 chore(deps-dev): Bump @​types/node in the types group (#1962)
  • 601aaac chore(deps-dev): Bump the build group with 3 updates (#1961)
  • 51fb3b5 chore(deps-dev): Bump oxfmt in the formatting group (#1960)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Upgrade inquirer to 13.2.1 to fix a regression where validate() didn’t receive previous answers. Restores correct cross-question validation in CLI prompts.

Written for commit ea4ff70. Summary will update on new commits.

Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.0...inquirer@13.2.1)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-version: 13.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 21, 2026
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant User
    participant App as CLI App
    participant Inquirer as Inquirer Lib
    participant Val as Validate Fn

    Note over App,Inquirer: Upgrade to 13.2.1 fixes validation context

    App->>Inquirer: prompt([Q1, Q2...])
    
    rect rgb(30, 41, 59)
        Note right of User: Question 1 (Context Builder)
        Inquirer->>User: Display Question 1
        User-->>Inquirer: Input: "Value A"
        Inquirer->>Inquirer: Store answers = { q1: "Value A" }
    end

    rect rgb(23, 37, 84)
        Note right of User: Question 2 (Dependent Validation)
        Inquirer->>User: Display Question 2
        User-->>Inquirer: Input: "Value B"
        
        Note over Inquirer,Val: FIXED REGRESSION
        Inquirer->>Val: validate("Value B", answers)
        Note right of Val: NEW: 2nd argument (answers)<br/>is successfully passed again
        
        alt Valid based on "Value A"
            Val-->>Inquirer: true
        else Invalid
            Val-->>Inquirer: false / error message
            Inquirer->>User: Retry Prompt
        end
    end

    Inquirer-->>App: Returns final answers object
Loading

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

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant