• 𝘋𝘪𝘳𝘬
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    11 months ago

    People using this deserve that their code breaks. Absolutely ridiculous.

    Neither this, nor the leftpad thing, nor this is-even “package” are things I would even think about for a second before just writing it on my own. I wouldn’t even consider those features (let alone packages to depend my code on!) but basic programming.

    • Ephera
      link
      fedilink
      English
      arrow-up
      8
      ·
      11 months ago

      Problem is when you accidentally pull it in as a transitive dependency…

      • 𝘋𝘪𝘳𝘬
        link
        fedilink
        English
        arrow-up
        7
        ·
        11 months ago

        Yeah :( This also is why such nonsense “breaks the Internet” …

    • xor@infosec.pub
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      11 months ago

      i just don’t see how npm is letting this happen…
      im going to write an npm module called “true” that just returns true…