Gajus Kuizinas
Gajus Kuizinas
Another example. I am using this invented syntax to describe https://github.com/gajus/react-youtube-player component. ``` js /** * @typedef {String} YoutubePlayer~playbackState * @value 'unstarted' Stops and cancels loading of the current video....
> I think roarr is a bit heavyweight to include in Got, [..] I have refactored Roarr into two packages: * https://github.com/gajus/roarr * https://github.com/gajus/roarr-cli Now Roarr logger package is 304K....
> Environment variable? Not if you go with the custom event approach. Environment variables can only toggle logging, not configure the hooks. debug (module) and `util.debuglog()` already provide this functionality...
> We should use a Symbol so it's only accessible by a Got instance. If you use a Symbol, then you are back to square one – Symbols are not...
> I think it's important that the software directly consuming got must explicitly enable logging and that all other instances of got be unaffected by that. I argue for the...
> With an allowance for redaction of sensitive information, I agree. The issue is the "if I enable" part. I'm saying settings made in or for a descendant or sibling...
> I might agree, but that's making a lot of assumptions about the stack. How many users of got or its dependents do you think have a dedicated sysops team?...
> @gajus You can achieve what you want using custom instances. I'd use got.create and attach some listeners + logging and done. Thats what we are doing already. The point...
From https://github.com/stylelint/stylelint/pull/2106#issuecomment-262563719 > > I create issue, let's wait what says contributors > > The only breaking change is how you import table. > > See https://github.com/gajus/table/issues/25#issuecomment-262209270 > > In...
I can see the use case for this.