You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dependency request is a very heavy node-only dependency that prevents this package from being used in a web client. It can be easily replaced by node-fetch or some other fetch-like polyfill for the 2 calls that is it used for and would eliminate a great number of dependencies from the package.
The text was updated successfully, but these errors were encountered:
Justin and I talked this afternoon. The key takeaways is that request makes the package Node specific, that request is only used in one http request and that request is a very heavy dependency. There may be other Node specific dependencies inside of the library, but request could be swapped out for a more lightweight way of conducting http requests in a pollyfilled manner, which would allow the library to be used in the browser.
The dependency
request
is a very heavy node-only dependency that prevents this package from being used in a web client. It can be easily replaced bynode-fetch
or some otherfetch
-like polyfill for the 2 calls that is it used for and would eliminate a great number of dependencies from the package.The text was updated successfully, but these errors were encountered: