nosefurhairdo an hour ago

The "winner" just had its 3000th release on GitHub, already a few patch versions past the version referenced in this article (which was published today): https://github.com/wppconnect-team/wa-version

  • oconnore an hour ago

    This package also seems to just have a misbehaving github action that is in a loop.

    • genshii an hour ago

      Hmm yeah, I decided that one counts because the new packages have (slightly) different content, although it might be the case that the changes are junk/pointless anyway.

  • TZubiri an hour ago

    Brief reminder/clarification that these tools are used to circumvent WhatsApp ToS, and that they are used to:

    1- Spam 2- Scam 3- Avoid paying for Whatsapp API (which is the only form of monetization)

    And that the reason this thing gets so many updates is probably because of a mouse and cat game where Meta updates their software continuously to avoid these types of hacks and the maintainers do so as well, whether in automated or manual fashion.

    • afiori 26 minutes ago

      Considering the 18 billions price tag and the current mixing of user data between meta and WhatsApp I believe that meta has now revenue streams in mind than just the API pricing

whilenot-dev an hour ago

> Time to fetch version data for each one of those packages: ~12 hours (yikes)

The author could improve the batching in fetchAllPackageData by not waiting for all 50 (BATCH_SIZE) promises to resolve at once. I just published a package for proper promise batching last week: https://www.npmjs.com/package/promises-batched

  • winrid an hour ago

    What's the benefit of promises like this here?

    Just spin up a loop of 50 call chains. When one completes you just do the next on next tick. It's like 3 lines of code. No libraries needed. Then you're always doing 50 at a time. You can still use await.

    async work() { await thing(); nextTick(work); }

    for(to 50) { work(); }

    then maybe a separate timer to check how many tasks are active I guess.

  • genshii an hour ago

    Ah this is cool, thanks!

aragonite an hour ago

Incidentally I once ran into a mature package that had lived in the 0.0.x lane forever and treated every release as a patch, racking up a huge version number, and I had to remind the maintainer that users depending with caret ranges won't get those updates automatically. (In semver caret ranges never change the leftmost non-zero digit; in 0.0.x that digit is the patch version, so ^0.0.123 is just a hard pin to 0.0.123). There may occasionally be valid reasons to stay on 0.0.x though (e.g. @types/web).

geetee 3 hours ago

I wonder if the author could have replicated the couchdb database locally to make their life easier.

nailer 2 hours ago

> I was recently working on a project that uses the AWS SDK for JavaScript. When updating the dependencies in said project, I noticed that the version of that dependency was v3.888.0. Eight hundred eighty eight. That’s a big number as far as versions go.

It also isn’t the first AWS SDK. A few of us in… 2012 IIRC… wrote the first one because AWS didn’t think node was worth an SDK.