intuit / oauth-jsclient

Intuit's NodeJS OAuth client provides a set of methods to make it easier to work with OAuth2.0 and Open ID
https://developer.intuit.com/
Apache License 2.0
119 stars 153 forks source link

'winston' logging module is *always* required and causes errors in browser context #130

Open rmzg-ll opened 1 year ago

rmzg-ll commented 1 year ago

The winston module is always required even if logging isn't activated, which in turn has several dependencies that don't play well in the browser (such as colorizer and its various transport streams).

Solution: Move this to only be required if explicitly asked for.