I Peeked Into My Node_Modules Directory And You Won’t Believe What Happened Next
Jordan Scales
5.3K542

Jordan Scales I enjoyed the post, great writing style.
I’ll be taking away something new from this indeed; auditing deps to this level never seemed like a priority, my normal concern is only checking the current semver against my locked dep versions…So thank you for opening my eyes.

Anyway, allow me to do the same for you; Your comment that using an es2015 transpiler allows others to avoid writing JavaScript - is grossly misleading and plain wrong.

I can only assume that you refer to the ‘class’ implementation in es2015 right? You realise that ‘class’ makes up a very small portion of what es2015 is. Other than ‘class’ there is nothing new that is foreign to JavaScript or prototypal at all. You might have further misconceptions though so i cant be sure. Perhaps you think Map and Set are “not JavaScript”, even though they (class, Set, Map) implement as object prototypes inherently which is no different to you typing out ‘.prototype’ or ‘Object.create’ yourself.

Simply es2015 is JavaScript, it’s running in your browsers today; Safari has 100% coverage and you love Apple, of course you do you’re on Medium and play Pokemon GO with one hand and comb your hair with the other.

Ahem, off track

Basically; dont go saying things like using es2015 transpilers is avoiding writing javascript because in 2017 when other browsers catch up to Webkit you’ll be wishing you didnt avoid learning/using JavaScript (es2015) when it has become the standard back in 2016.