eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

che-dashboard frontend typescript target version issue #21913

Closed top1436 closed 1 year ago

top1436 commented 1 year ago

Summary

dashboard-frontend typescript target is "ES2018". but I found the "Obejct.fromEntries" function in codes even if it was released ES2019 edition (https://262.ecma-international.org/10.0/)

Is any reason to use target as "ES2018?

https://github.com/eclipse-che/che-dashboard/blob/d1d141b91ffbfd08a54d0482d56cff3463210120/packages/dashboard-frontend/src/containers/Loader/Factory/Steps/Apply/Devfile/index.tsx#L250

Relevant information

No response

top1436 commented 1 year ago

"Promise.allSettled" function was also released "ES2020"

https://github.com/eclipse-che/che-dashboard/blob/d1d141b91ffbfd08a54d0482d56cff3463210120/packages/dashboard-frontend/src/pages/WorkspacesList/index.tsx#L288

che-bot commented 1 year ago

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.