winston version?_winston@2winston@3 node -v outputs:_ v8.10.0npm install winston
du -sh node_modules/winston/*
This includes a scratch folder that is quite large (17MB) for 2.x. I think it just needs to be added to .npmignore, but it wasn't obvious to me how it was being generated or what the contents are supposed to be.
winston@3 has a small scratch folder, but maybe it's just a matter of a CI system accumulating a bunch of builds in a workspace over time?
I also noticed that some of the files intest are specifically not .npmignored, I'm curious if there's a reason why? The commits don't really explain why. Obviously those files are super small and not really significant, I'm just wondering.
Thanks for pointing this out. I'm not sure about those test files (@indexzero ?) but I added scratch to .npmignore on 2.x and 3.x, so next time @indexzero pushes a release (?), hopefully this will be resolved (definitely let us know if it's still being distributed). Thanks!
winston 2.x like:

I noticed this myself the other day 鈥撀燽een afk for most of July. Yay vacations. Need to add scratch to .npmignore.
@indexzero any chance this can be backported to the 2.x.x as a patch? 馃檹

And thanks for the fix @DABH !
Yes it needs to be. Will make that happen now.
Released in 2.4.4
Thanks, @indexzero !
For those curious scratch/** is where I started keeping samples / scratch pad space when I am attempting to reproduce / investigate Github issues for winston.
It was added to .gitignore, but I neglected to add it to .npmignore which was the source of the bug.
Most helpful comment
Thanks for pointing this out. I'm not sure about those test files (@indexzero ?) but I added
scratchto.npmignoreon 2.x and 3.x, so next time @indexzero pushes a release (?), hopefully this will be resolved (definitely let us know if it's still being distributed). Thanks!