Email or username:

Password:

Forgot your password?
Top-level
Lance R. Vick

I just noticed "foreach" on npm is controlled by a single maintainer.

I also noticed they let their personal email domain expire, so I bought it before someone else did.

I now control "foreach" on NPM, and the 36826 projects that depend on it.

40 comments
Wolf480pl

@lrvick what do you plan to do with such power?

Lance R. Vick

@wolf480pl Preventing other people from using it is enough. That and using it as a chance to educate pepole on why thy can't trust NPM.

Wolf480pl

@lrvick if only all people seeking world domination were like you

Lance R. Vick

@technicallypossible @wolf480pl I don't recommend trusting me... or any single individual, with this kind of power.

If someone asks me nicely with a rubber hose, I will be obliged to hand over access.

There is a reason the name of my company is "Distrust"

Distrust should lead to Distributed Trust.

Demand multisig code reviews, and multisig reproducibly built releases for anything that matters.

az

@lrvick @wolf480pl

Maybe you should just replace the package with a link to MDN's entry on the regular foreach ๐Ÿคทโ€โ™€๏ธ

Elias Mรฅrtenson

@lrvick So basically there are no signature checks on packages on npm?

Why am I not surprised?

Johann150 โ‚ :ipv6: :open_access: โ˜ฎ

@lrvick@mastodon.social foreach sounds like a package that you shouldnt need with Array.prototype.forEach โ€‹:blobfoxthonking:โ€‹

Seachaint :verified:

@lrvick Do any Fossil Fuel companies use ForEach or any of its dependent packages, I wonder?

The Doctor

@seachaint @lrvick They're probably still using an all-Java back-end. They sank so much money into instrumentation and monitoring of the JVM they're not going to change anytime soon.

Also, don't tell them you know anything more modern. They will probably not hire you.

wakame

@lrvick It seems that the (in)famous is-equal has a developer dependency to it ๐Ÿ˜

HahTse

@lrvick I wonder if anyone ever tried monetization...ya know, show a popup ad everytime someone enters a foreach section.

x2ero :antifa: :verified:

@lrvick
Remeber: with great power comes great responsibility.

patter

@lrvick congrats

also, explored it & very quickly went from "why does js even need a foreach package" to "oh, it's only 21 lines" :)

Kevin Granade

@patterfloof @lrvick I'm tertibly amused when I see node devs adding dependencies for stuff like this, meanwhile my "fun" project has a custom json parser/emitter with entity inheritance, a reimplementation of gettext, a curses-to-windows-terminal API adapter, and internal implementations of several c++ std types.
#dependenciesarehell

patter

@kevingranade @lrvick there's so many times I've written my own functions in PHP because "it's a small understandable problem, not worthy of a library" then later found I could have picked up someone else's code & spent ages massaging it to work

wraptile

@lrvick if the email wasn't public it'll help a bit. I tend to register to various platforms with my private email address and share public one with everybody else unfortunately many platforms leak your email somewhere.

Kit Rhett Aultman

@lrvick I honestly consider this essential activism.

Arya K :archlinux: :emacs:

@lrvick make it print a rickroll to console everytime a function from the package is called

n8chz โ’ถโ’บ

@lrvick Sounds almost like gaining ops on a chat room from an #irc netsplit.

$k313t0n :archlinux:

@lrvick that could be quite the botnet you can make with that...

HRH ginsterbusch

@lrvick foreach is a separate module??? a standard part of any other programming language .. smh. yeah, and thats why node is not installed globally on any of my systems.

enya

@lrvick You know what, this is why I'm not against what Github did with enforcing 2FA for large project owners.

Sandra
@lrvick

Why is it so much more often NPM we see in these disasters and so seldom Debian or even Gem or CPAN?
Ryuno-Ki

@lrvick
Since this toots make the round on fediverse:

npm ls foreach

will tell you whether the current repository has a dependency (direct or transient) to foreach.

Go Up