I used Nub to scan the top 10k npm packages for phantom (undeclared) dependencies It found 660 problematic packages. nubjs.com/blog/phanto...
Colin McDonnell ๐ Zod
Colin McDonnell ๐ Zod
@colinhacks.com
๐ Creator of Zod, tRPC (v0) ๐ฎ OSS Fellow @ Clerk ๐ฆ Friendly neighborhood TypeScript nerd ๐ง๐ผโ๐ป Prev @ Bun, EdgeDB, YC, MIT
5.2K followers226 following231 posts
We've published our dataset as @nubjs/extensions, a consumable package that other package managers (pnpm, Aube, etc) could use benefit use to patch their resolution It's a drop-in replacement for @yarnpkg/extensions and it's auto-updated daily via CI ๐ github.com/nubjs/packa...
Nub uses this list as a fast path during resolution, falling back to on-the-fly phantom detection at install time. Full docs๐ nubjs.com/docs/instal...
I used Nub to scan the top 10k npm packages for phantom (undeclared) dependencies It found 660 problematic packages. nubjs.com/blog/phanto...
Full PR/writeup for the nerds ๐ github.com/nubjs/nub/pu...
It's a Stage 3 proposal championed by @jordan.har.band et. al. github.com/tc39/proposa...
This works with every supported Node version (auto-polyfilled down to v18.19+). Official V8/Node support is expected in v27. Learn more ๐ nubjs.com/docs/runtime...
Introducing Boron โ A WYSIWYG editor for designing beautiful CLI screenshots It's Carbon or ray[dot]so for terminals instead of code blocks ๐พ โ ANSI colors & styles โ richtext copy/paste from terminals โ export to png/svg/jpg/webp/text boron.sh
this is the culmination of a huge engineering lift to unblock symlink-powered package linkers in JavaScript. writeup below โ approachable for people who do not think about package managers in their spare time ๐ nubjs.com/blog/unblock...
Nub is now in public beta. Lots more on the roadmap, stay tuned! Star/watch the repo! ๐ github.com/nubjs/nub
Nub detects your existing package manager (via package.json or lockfile) and runs in COMPAT MODE ๐ reads *and writes* your existing lockfile (roundtrip!) โ๏ธ respects your config files (see chart) โก๏ธ zero config changes required in 99% of cases (Nub aborts when unsupported config is detected)
nub install โ a fast, secure, incrementally adoptable package manager ๐ 2.7x faster than pnpm (warm install) ๐งฉ pnpm-compatible CLI (muscle memory) ๐ powered by the Aube engine (by @jdx.dev)
It takes the safest default security posture of any package manager in the ecosystem ๐ 24hr minReleaseAge ๐ checks OSV for known vulns during resolution (never installs known-bad pkgs) ๐ blocks postinstall by default ๐ blocks trust downgrades (e.g. recent versions that lost npm provenance)
Visit the website to see the fulltext spec, FAQs, integration examples, and more standardschema.dev/json-schema If you implement or integrate with the spec, don't forget to submit a PR adding yourself to the website โ๏ธ