Whatwg-encoding@3.1.1 deprecation warning in Forge CLI

Over the new year break the open source package whatwg-encoding was marked deprecated on NPM. Forge CLI depends on this package as a transitive dependency from cheerio due to which you will see following warning when installing Forge CLI:

npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation

Our team is working on upgrading to the recommended and more performant package. We have couple of PRs in the dependency packages:

We are tracking and contributing to these changes so that they get shipped before next Forge CLI release. Please let me know in the thread if there are any question about this warning.

Thanks,

Ajay N Mathur

2 Likes