fix: Upgrade inquirer to remove lodash dependency#11709
Merged
anthonyshew merged 1 commit intomainfrom Feb 7, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
github-actions Bot
added a commit
that referenced
this pull request
Feb 7, 2026
## Release v2.8.3-canary.8 Versioned docs: https://v2-8-3-canary-8.turborepo.dev ### Changes - fix: Upgrade eslint to v10 to resolve @eslint/plugin-kit ReDoS vulnerability (#11705) (`fd541f3a59`) - fix: Upgrade tsdown in create-turbo to resolve valibot ReDoS vulnerability (#11702) (`e5efb86265`) - fix: Upgrade fumadocs and shiki in docs to resolve mdast-util-to-hast vulnerability (#11704) (`c94e2c54ed`) - fix: Upgrade inquirer to remove lodash dependency (#11709) (`87970c1fa4`) - release(turborepo): 2.8.3-canary.7 (#11686) (`d189b9e9e2`) Co-authored-by: Turbobot <turbobot@vercel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces
inquirer@8.2.7with@inquirer/prompts@^7.10.1acrosscreate-turbo,@turbo/codemod,@turbo/gen, and@turbo/workspacesto eliminate thelodash@4.17.21prototype pollution vulnerability (TURBO-5236).inquirer.prompt()API to individual@inquirer/promptsfunctions (input,select,checkbox,confirm)Separatorimports to use@inquirer/promptsinstead of the oldinquirerpackageinquirer-file-tree-selection-promptfrom@turbo/codemod@types/inquirerfrom all packages (types are built into@inquirer/prompts)Why
@inquirer/prompts@7and notinquirer@12+?inquirer@12+is ESM-only. All affected packages use"type": "commonjs".@inquirer/prompts@7.xships dual CJS/ESM exports, making it a drop-in replacement without requiring a module system migration.Remaining known issues
node-plop@0.26.3→inquirer@^7→lodash@4.17.21(in@turbo/gen):node-plop@0.30+is ESM-only, so upgrading it requires converting@turbo/gento ESM. This is a separate, larger effort.mermaid→langium@3.3.1→chevrotain@11.0.3→lodash-es@4.17.21(indocs):mermaidis already at its latest version (11.12.2). The vulnerablelodash-escomes fromchevrotain@11.0.3(pinned bylangium@3.3.1via~11.0.3).chevrotain@11.1.1fixes this, butlangiumhasn't released a version that allows it. This requires an upstream fix inlangium/mermaid.Testing
check-types(tsc --noEmit)create-turbo(22),@turbo/gen(9),@turbo/codemod(217),@turbo/workspaces(909)