yceffort
05 POSTS

Npm 1

  • #bundler#web-performance#debugging

    Tearing Apart a Third-Party SDK and Rebuilding It My Way: Without Touching a Single Line of Logic

    I imported one constant and 97.7% of the bundle came along with it. The vendor had no timeline for a fix, so I recovered over 400 TypeScript files from the published source maps, rebuilt the build, entry points, and dependencies while leaving the logic alone, and cut the raw size of /send by 77.5%. All 1,932 tests passed, but a few of them were checking nothing at all, so I had to work out again how far I could confirm that the rebuilt SDK behaves the same as the original.

    41 min read
  • #typescript#blogging#npm

    What Happens When You Install typescript@7: A Blog Monorepo Migration Log

    I dropped typescript 7.0.2 into a monorepo where pnpm lint took 12 minutes 32 seconds. Type checking passed, but next build broke and lint crashed, so I spent a day swapping eslint and prettier for oxlint and oxfmt. Lint now finishes in 1.9 seconds even with type-aware rules, and the build takes as long as before.

    11 min read
  • #security#ci-cd#npm

    The TanStack npm Supply Chain Attack: Why pull_request_target Is Dangerous

    Analysis of the @tanstack/* supply chain incident. The risks of pull_request_target, GitHub Actions cache, and OIDC trusted publishers, and how to defend against them.

    24 min read
  • #npm#essay#oss

    What makes a package you can keep using for years different

    A good package has to be user-friendly not just in features, but in dependencies, version bumps, compatibility, and release policy.

    20 min read
  • #security#nextjs#react

    It's a React vulnerability, so why do I have to upgrade Next.js?

    CVE-2025-55182, CVE-2025-55184, CVE-2025-55183, and the React hidden inside Next.js

    19 min read