Subscribe free
Morning Merge JavaScript · Wednesday, November 18, 20264 min read

Workers switch module registries; Node patches HTTP/2

Also: a notarized Node 27 alpha, pnpm's registry-change fix, and squircle corners to try

The main thing

A gantry arm placing a yellow block into a rack of slots

Cloudflare Workers change how they load modules

Move a JavaScript Worker's compatibility date to 2026-11-17 or later and, unless you opt out, you also change how it loads code. Cloudflare's new module registry is now the default for JavaScript Workers with a compatibility date of 2026-11-17 or later (announced Nov 2). A Worker on an older date keeps its current behavior until you change its date or flags, and Python Workers stay on the legacy registry.

The registry is the part of the runtime that finds and loads your modules. Cloudflare's September write-up explains why it was rebuilt: the old one resolved specifiers as filesystem-style paths rather than URLs, compiled the entire bundle up front and kept a separate copy per V8 isolate. The new one resolves specifiers as URLs, compiles modules lazily on first import, and provides import.meta.url, import.meta.main and import.meta.resolve().

For Workers with Node.js compatibility, the headline is that require() can load ES modules. The fine print is where migrations break:

The registry doesn't download modules from arbitrary URLs or install npm dependencies. Your build tooling still decides what gets uploaded, and it may rewrite imports or import.meta first.

What to do today: before you move your whole fleet to the new date, deploy one real entry point with its dependencies on a 2026-11-17 compatibility date, or add new_module_registry on its current date. Check your dependencies for invalid import attributes and for top-level await behind anything you require(). If something breaks, legacy_module_registry buys you time.

Runtime watch

A travel trunk beside a yellow rubber stamp

Node.js 27.0.0-alpha.0.1.1 notarizes bin/node in the darwin tarballs. That's the only notable change in the Nov 16 alpha. If your team builds tooling around official Node.js downloads, an alpha CI job is one place to catch packaging assumptions before they reach your standard build.

Node.js security releases fix HTTP/2 and HTTPS servers. They shipped last Wednesday, Nov 11, and each of the 26.x, 24.x and 22.x lines gets at least one high-severity fix. Two of them:

pnpm 11.28.13 and 12.22.0 close a policy gap. After the default registry or a scoped registry changed, pnpm install reused the result cached for the old registry and skipped the minimumReleaseAge and trustPolicy checks against the new one. 11.28.13 now re-verifies lockfile resolutions when a registry changes, and 12.22.0 includes the same security fix. 11.28.13 also fixes pnpm audit dropping advisories with string ids and reporting no known vulnerabilities. If you rely on either policy, upgrade.

Try this

A press rounding the corners of a yellow block on a conveyor

Squircle corners. Chrome's Modern Web Guidance CSS guide, last updated Oct 5, recommends corner-shape: squircle as a progressive enhancement over regular rounded corners. Add it to one card that already has a border-radius. Then open that card in a browser that ignores the new property: the plain radius is your fallback, so it should still look intended.

Then give the same guidance to your agent. On Nov 11, Chrome's Philip Walton wrote that unguided coding agents pass only about 50% of the checks in Chrome's eval suite, compared to around 90% with Modern Web Guidance installed (Chrome's own evals). His list of misses reads like a syllabus for the modern platform: JavaScript tab traps instead of a modal <dialog> or inert, position:fixed overlays with click-outside handlers instead of popover, and entry and exit animations wired up with requestAnimationFrame and transitionend instead of @starting-style and transition-behavior. Install it with npx modern-web-guidance@latest install, ask for a modal, and see which version you get.

Alloy CSS does dialogs, menus and tabs with JavaScript off. Its author says on Hacker News that <dialog> with commandfor, popover and :has() now do most of what used to need a JS library. The demo is one HTML file with no script. One commenter thought it doesn't seem very accessible, so check it with a keyboard before you borrow a pattern.

Patch Node first. Then pick one Worker and move it to the new registry.

← All Morning Merge JavaScript issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →