WeSearch

From pnpm's Cool Feature to npm's Life jacket: The (somewhat accidental) birth of age-install

·8 min read · 0 reactions · 0 comments · 10 views
#javascript#npm#security#softwareengineering#supplychain
From pnpm's Cool Feature to npm's Life jacket: The (somewhat accidental) birth of age-install
⚡ TL;DR · AI summary

The article describes the accidental creation of a tool called age-install, inspired by a pnpm feature that delays installation of recently published npm packages to mitigate supply chain attacks. The developer built a prototype to bring similar safety to npm, despite challenges like version resolution, scoped packages, and API rate limits. The tool addresses a security gap many assume already exists in npm.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3780619) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } CinfiniteDev Posted on May 16 From pnpm's Cool Feature to npm's Life jacket: The (somewhat accidental) birth of age-install #npm #javascript #security #softwareengineering From pnpm's Cool Feature to npm's Life jacket: The (somewhat accidental) birth of age-install Or: How I built a tool nobody asked for, everyone needs, and should've made years ago It started with a blog post (as these things do) I was procrastinating—er, researching—when I stumbled across pnpm's release notes for…

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)