Episode 2: ES2026, Vite 8.4, and npm vs pnpm vs Yarn
RealJS Podcast: JavaScript News
ES2026 brings seven additions to the standard library and no new syntax, while Temporal and the using keyword wait for ES2027. Vite 8.4 adds an opt-in check that serves only the files your project refers to, and npm, pnpm, and Yarn go head to head, with one pick for most projects and another for monorepos.
Two of this week’s stories are about what you can use today and what’s still on its way, and the third helps you settle on a package manager. Each one links to where it comes from: a RealJS article or the project’s own announcement.
Spotlight: From Script Tags to a Vite Project
If you’ve never set up a Vite project, this is the walkthrough. In Martin Breuss’s course, you move a small store’s website from a folder of script tags to npm and Vite on a Git branch, so the working site stays up while you check a package, run the dev server, and build the pages for publishing.
Timestamps:
- 00:00:00 – Introduction
- 00:00:34 – Lucy #1: ES2026 doesn’t include Temporal
- RealJS article: What’s New in ES2026: Seven Standard Library Features
- Seven additions to the standard library and no new syntax
- Temporal and
usingbelong to ES2027, and both already run in Node 26 - Exact long numbers from
JSON.parse(), andgetOrInsert()onMap Math.sumPrecise()needs a flag in Node 26
- 00:05:04 – Joel #2: Vite 8.4 and the dev server’s allow-list
- Source: Vite 8.4 is out!
- A stricter, opt-in check serves only the files your project refers to
- The Vite team intends to make it the default in the next major version
- A second dev server for the same project now stops and says where the first one is
- 00:08:19 – Lucy #3: npm vs pnpm vs Yarn
- RealJS article: Yarn vs npm vs pnpm: Who Runs Your Dependencies’ Scripts
- The install speed numbers come from pnpm’s own benchmarks
- One shared store per disk, and imports of unlisted packages that fail early
- Yarn Classic and modern Yarn are two different tools
- npm for most projects, pnpm for a monorepo
- 00:13:19 – Wrap-up
How this episode is made: The RealJS production team picks each episode’s stories from articles on realjs.com and from primary sources such as release notes and security advisories. Joel and Lucy are the show’s synthetic voices.
Show Links:
ES2026:
- ECMA-262 - The published ECMAScript standard
- TC39 finished proposals - The committee’s list, with the edition each proposal belongs to
- Agenda for the 117th meeting of Ecma TC39 - The meeting held from November 30 to December 3
- Node.js 26.14.0 (LTS) - The release notes
Vite 8.4:
- Vite server options - The
server.fssettings for the file serving check - Vite changelog - Every change in the release
npm vs pnpm vs Yarn:
- npm batch approval releases for staged packages - GitHub’s changelog entry from November 30
- pnpm benchmarks - The install timings pnpm publishes
- Yarn migration guide - Moving from Yarn Classic to modern Yarn
Is a story missing, or did something not make sense? Send us your feedback.
Want to go deeper on this episode? Mentor AI can explain the topics it covered and find tutorials to learn more.


