muhdiekuh, to node German
@muhdiekuh@ruhr.social avatar

Considering that every year we have a new ambitious replacement for in the JavaScript world, @naderman and @seldaek apparently did a very good job when building and maintaining for . Thanks a lot to you two and everyone else involved.

williballenthin, to node
@williballenthin@mastodon.social avatar

is it malware if the #npm package name tells you it’s stealing /etc/passwd?

hongminhee, to node
@hongminhee@todon.eu avatar

A pre-released version of #Fedify is now available on #npm!

https://www.npmjs.com/package/@fedify/fedify/v/0.5.0-dev.90

hywan, to node
@hywan@fosstodon.org avatar

The massive bug at the heart of the NPM ecosystem, https://blog.vlt.sh/blog/the-massive-hole-in-the-npm-ecosystem.

One more horror story about NPM 🤦.

#npm #JavaScript #ecosystem #security #safety

thisismissem, to random
@thisismissem@hachyderm.io avatar

Hrm, #npm really needs a filter for "still maintained" because there's an utterly ridiculous number of packages that are just no longer maintained, which would be really good to filter from search results

cadey, to javascript
@cadey@pony.social avatar

Introducing nixexpr: Nix expressions for JavaScript

https://xeiaso.net/blog/nixexpr

#nix #javascript #nodejs #npm #cursed

kaiserkiwi, to webdev German
@kaiserkiwi@corteximplant.com avatar

This is actually a pretty awesome (but lengthy) post about Bun and why you probably shouldn't jump on the train already.

Bun hype. How we learned nothing from Yarn
https://dev.to/thejaredwilcurt/bun-hype-how-we-learned-nothing-from-yarn-2n3j

#Coding #WebDev #JavaScript #NPM #Bun #BunJS #Yarn #ESBuild #Node #NodeJS

phylum, to opensource

We continue to identify sophisticated threats originating from the use of #opensource software packages. This time the attacker uses a signed #Microsoft executable to initiate the attack chain through an #npm package.

#malware #cybersec #infosec #javascript #reverseengineering #software #cybersecurity

https://blog.phylum.io/npm-package-found-delivering-sophisticated-rat/

tripu, to programming

:

See what packages your project is no longer using with this one-liner:

npx npm-check | grep -i 'notused?' | rev | cut -d'?' -f2 | cut -d' ' -f1 | rev

(Treat the list as a hint: npm-check isn’t capable of detecting all possible usages of all packages, so there might be false positives.)

rpetrich, to node

I spelunked into steganography to create a new feature in https://www.deciduous.app/ that lets you reimport PNGs and SVGs of your decision trees to derive the underlying YAML.

It involves some neat tricks inspired by Macromedia Fireworks (RIP), so I wrote a blog post about it: https://rpetrich.com/blog/posts/steganographic-trees-deciduous/

Deciduous now also sports a CLI (so you can #npm install it), and a bunch of lil things @shortridge and I added towards the goal of fast, easy, collaborative #threatmodeling of potential failures.

cdoremus, to node
@cdoremus@hachyderm.io avatar

Ryan Dahl's weekly video update just dropped that includes a preview of the next Deno release which will have the ability to import wasm modules, blobs (images), plain text and urls for things like CSS files. He also previews the new website, and says they are actively working on JSR. "What is that," he asks, and answers "I don't know" with a smile. My guess is JavaScript Repository, an alternative to .
@deno_land
https://youtu.be/5nv2zhic6Jk?si=QJrbEznW4I6WQFb0

decaplanet, to typescript

@deno_land I tried Deno real quick. I think it’s actually much better than I thought. 👍

#TypeScript #JavaScript #Deno #npm

thenewoil, to node
nurkiewicz, to node
@nurkiewicz@fosstodon.org avatar

From https://blog.vlt.sh/blog/the-massive-hole-in-the-npm-ecosystem

  • a #npm package's manifest is published independently from its tarball
    manifests are never fully validated against the tarball's contents
  • the ecosystem has broadly assumed the contents of the manifest & tarball are consistent
  • any tools or insights using the public registry are susceptible to exploitation/likely inaccurate
  • bad actors can hide malware & scripts in direct or transitive dependencies that go undetected

#JavaScript #NodeJS

casraf, to typescript
@casraf@fosstodon.org avatar
jbzfn, to github
@jbzfn@mastodon.social avatar

🤡 Disruptive ‘everything’ JavaScript package created ‘for the meme’

「 On Dec. 29, a package titled “everything” was published to the registry, which is designed to install all other public packages in the registry. This created a registry-wide web of dependencies that effectively disabled the ability to unpublish packages on the site, as packages that other packages are dependent on cannot be unpublished 」

https://www.scmagazine.com/news/npm-registry-prank-leaves-developers-unable-to-unpublish-packages

#Github #NPM #Javascript

arendjr, to typescript
@arendjr@mstdn.social avatar

Received an invite for the https://jsr.io beta. This looks like a potential winner!

  • First-class @deno_land support
  • ESM-only
  • Built-in
  • Auto-doc generation from your TS sources
  • Seamless publishing from Actions
  • integration

Especially the part where you can just publish your TypeScript package without transpilation, and they handle /NPM compatibility is pretty big for IMO.

YurkshireLad, to node
@YurkshireLad@mastodon.social avatar

Thought I'd install on to run a script:

"After this operation, 164 MB of additional disk space will be used."

164Mb????

paladin, to php German
@paladin@mastodon.online avatar

Your daily php-dev fitness:

composer selfupdate && composer global update && npm -g i npm npm-check-updates && ncu -g

You are welcome ;)
#php #nodejs #npm

Wuzzy, to node
@Wuzzy@cyberplace.social avatar

This is defintely the funniest headline of the week: "npm flooded with 748 packages that store movies" 🤣

Well, that's ONE creative way to use #npm. 😉
Of course the movies are already deleted but still.

https://blog.sonatype.com/npm-flooded-with-748-packages-that-store-movies

anant, to node
@anant@anantshri.info avatar

#NPM based packages should mandatorily disclose whats the code size and what will be the nodes-modules folders count and total size. coz that combined together could what kind of liability i am getting myself into. #supplychain issues arise from being unaware / ignorant about your liabilities mostly.

bitexpert, to node German
@bitexpert@rheinneckar.social avatar
andre, to node
@andre@fedi.jaenis.ch avatar

I discovered a glitch in the Matrix!

A situation so unlikely I never considered it possible!

There is no package for generating (for resp. )!

The closest I could find is a parser from 2020.

Plus plenty of cryptocurrency garbage.

Excuse me, there's a framework waiting to be written 😸

(If you want to turn Markdown into Gemtext, recommendations go to a Python package)

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

How to protect your projects from the risks of deprecated npm packages
@sarahgooding @SocketSecurity
https://socket.dev/blog/the-risks-of-deprecated-npm-packages

#ECMAScript #JavaScript #npm

tanepiper, to node
@tanepiper@tane.codes avatar

Here's me trying to make sure we ship as secure as possible software, and there's someone who doesn't know how to use an npm ignore file to not ship their shitty docker files in their modules

tanepiper,
@tanepiper@tane.codes avatar

So many #npm projects have a lot of crap in node_modules that are really not needed when deploying apps - SO MANY DOT FILES. I built a script that will clear them all out recursively, just leaving required files. Will probably add *.ts when creating containers.

A screenshot showing that over 4300 files will be deleted and clean up 27Mb of files
A screenshot showing a list of files in node_modules including a lot of dot files

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines