Spyke
fedia.io

Installed 4239 packages 8000 severe vulnerabilities 200 packages looking for funding

63
jaybonereply
lemmy.zip

But how else will I figure out if a value is true?

16
mariusreply
feddit.org

I bet there's an online service for that

14
jaybonereply
lemmy.zip

Oh right, I can avoid the full isTrue library implementation with its 8000 dependencies, and instead install the isTrue client, which uses the isTrue cloud service and its REST APIs. Soon it will be AI powered. Then I’ll really be able to tell for sure if my variable value is actually true or not.

22

You just call GPT and ask if it's true. Get with the times!

4

Look, can I ask a favor? Can you take that, package it, and put it on npm so I can use it in my project?

3
programming.dev

I only do npm install in a docker container where the project and npm cache is mounted. Gives me a bit of security regarding attacks through post install scripts. (--no-scripts is not an option since I need some of them)

12
Victorreply
lemmy.world

When do people ever do npm install if you don't trust the project or know what install scripts will run? I'm a web developer of 10 years and I've never run npm install to install a piece of software. The only time I ever run npm is when I'm doing development for work.

2
dbx12reply
programming.dev

Usually in the "lets see how this random project I cloned from GitHub works for my use case" scenario. I want to see how it works and if it would cover my use case before spending time on checking code and dependencies for security issues.

1

So it doesn't have any other means of installing I take it.

Usually I take that as a red flag, that it isn't popular or mature enough. But to each their own.

1

You reached the end

npm install | Spyke