• minfapper@piefed.social
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    16 hours ago

    “Look at how all these much smaller package ecosystems don’t have the problems of the largest one.”

    is the tl;dr of this article.

    • esc@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Npm having a lot of packages at least partially a problem of lacking standard library, no? And partially developer culture where every trivial thing is a package. Anyway, similar thing will happen to rust soon enough (*looks at 1 gig of dependencies for a cli program*).

  • numbermess@fedia.io
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    I made a wrapp er script named npm on my $PATH that passes input to pnpm instead because of this. I don’t think my team is ready to adopt something like that, but it seems to be working okay so far. Nobody has complained.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      Npm repos violate iso27002. So, it’s out. And we remember why iso27002 is important when we see news like this.