‹ BackHN Continuity

Thread

Jev-Leftpad

234 points · 87 comments · fka

  1. fumblebee · · focus · HN ↗
    Can someone ELI5?
    1. sklivvz1971 · · focus · HN ↗
      Uses JEV to do something that's one line of code. Also, "leftpad" was a useless package from years ago that many important packages used instead of writing the code themselves. Its outage at some point broke a lot of packages.
      1. grokkedit · · focus · HN ↗
        why useless? it did one thing that js didn't natively do
        1. jagged-chisel · · focus · HN ↗
          It did one thing that you could write in one line of code. But it wasted space as a packaged dependency instead.
          1. Sohcahtoa82 · · focus · HN ↗
            It also ended up inadvertently highlighting a massive problem with the JavaScript ecosystem.

            And yet we learned nothing from it and all the same problems keep popping up, only this time in the form of supply chain attacks.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.