GoogleChromeLabs / chromeos_smart_card_connector

Smart Card Connector App for Chrome OS
https://chrome.google.com/webstore/detail/smart-card-connector/khpfeaanjngmcnplbdlpegiifgpfgdco
Apache License 2.0
133 stars 50 forks source link

Closure Library deprecation #1175

Open emaxx-google opened 3 weeks ago

emaxx-google commented 3 weeks ago

Our codebase here relies a lot on Closure Library, which got deprecated and is about to be sunset: https://github.com/google/closure-library/issues/1214

emaxx-google commented 3 weeks ago

In the short term, we don't need to do anything as we pin the Closure Library to a version that we import and store under //third_party/closure-library/. So as long as there's no serious issue discovered (which we cannot fix in our copy) or incompatibility with future browser versions, we can in theory sit indefinitely on top of it.

For the long-term perspective, if we were to start migrating off it, the whole list of functionality used by us is pretty long, but what we rely most heavily upon is:

It seems that there's no ready-to-use list of replacement libraries for specific features, so the work would require analyzing these dependencies and finding analogs or reimplementing. As it was pointed out to me, this work might also require switching to more modern technologies like TypeScript, NPM, esbuild, etc.