zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 85 forks source link

V3: Update deps behind latest major release #2120

Closed adam-wolfe closed 2 months ago

adam-wolfe commented 2 months ago

Is your feature or enhancement request related to a problem or limitation? Please describe With the on-going community discussion around top-level dependency currency, the CLI squad should plan to review and either update out-of-date dependencies or provide a justification for keeping the version that is currently in use.

This would likely only apply to V3.

Describe your enhancement idea We should review the following top-level dependencies that are behind the latest major version and update those that can be updated without introducing breaking changes for extenders.

### Top-level dependencies that are behind the latest major release
- [ ] chalk
- [ ] find-up
- [ ] jest-diff
- [ ] stack-trace
- [ ] string-width
- [ ] strip-ansi
- [ ] wrap-ansi

Describe alternatives you've considered

Provide any additional context

github-actions[bot] commented 2 months ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.

awharn commented 2 months ago

All of these are using ESM in newer versions, which are incompatible with CommonJS. We may be able to do imports, but we would need to make some functions asynchronous, which is breaking.

adam-wolfe commented 2 months ago

Ah, OK. We can use that info for a TSC exception if necessary.