Enh/dx 362 upgrade inquirer to v12#2420
Conversation
…tor interactive prompts to use new inquirer syntax
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 27413674 | Triggered | Generic Password | f42ff37 | pnpm-lock.yaml | View secret |
| 27413675 | Triggered | Generic Password | f42ff37 | pnpm-lock.yaml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
…ting path validation logic
…pdating comments for clarity
…nd update region mock handling
|
@harshithad0703 , since you've updated inquirer table code, could you pls list down in whichever plugins we're using it. According to me, we're using into branches. So that QA can verify it manually. |
Only @contentstack/cli-cm-branches uses inquirer table, updated PR description |
…s types for improved type safety
Changes
1. Upgraded inquirer from v8.2.7 to v12.11.1 (5 packages)
2. Migrated contentstack-export-to-csv to @inquirer/prompts v8.2.1
3. Upgraded TypeScript from v4.9.5 to v5.0.0 (17 packages)
4. Updated @types/node from v14 to v18 (6 packages)
5. Plugins that use the inquirer table prompt
The table prompt is implemented in @contentstack/cli-utilities (inquirer-table-prompt.ts) and is used in one plugin only.
Plugin: @contentstack/cli-cm-branches (Branches)
Command: csdx cm:branches:merge
Package: packages/contentstack-branches
Usage: packages/contentstack-branches/src/utils/interactive.ts (two table prompts)