Commit e97e399
Bump @inquirer/prompts to 7.9.0 and version to 1.0.4 (#488)
`@inquirer/prompts@^5.3.8` transitively depends on the unmaintained
`external-editor@3.1.0`, which pulls in the vulnerable `tmp@0.0.33`
package.
## Changes
- Updated `@inquirer/prompts` from `^5.3.8` to `^7.9.0` in
`packages/cli/package.json`
- Bumped package version from `1.0.3` to `1.0.4`
- Updated `yarn.lock` with new dependency resolutions
## Impact
Version 7.x uses `@inquirer/editor@4.2.21` →
`@inquirer/external-editor@1.0.2`, which has no `tmp` dependency. The
vulnerable dependency chain is completely eliminated from the CLI
package.
The API for `input`, `select`, and `confirm` functions used by the CLI
remains unchanged.
- Fixes #486
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>Bump @inquirer/prompts to 7 to remove vulnerable
tmp@0.0.33 sub-dependency</issue_title>
> <issue_description>Hi Reflag team,
>
> A small request to update `@inquirer/prompts` in the dependencies for
the `@reflag/cli` package, since the current version
(`@inquirer/prompts@5.5.0`) has a dependency to a package that isn't
maintained anymore (`external-editor`) which includes a vulnerable
dependency (`tmp@0.0.33`).
>
> Thanks in advance 🙏 </issue_description>
>
> <agent_instructions>Update @inquirer/prompts to
7.9.0</agent_instructions>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
- Fixes #486
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/reflagcom/javascript/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Swiftwork <455178+Swiftwork@users.noreply.github.com>1 parent a0fd0af commit e97e399
2 files changed
+223
-113
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments