A runtime permission model that restricts filesystem and network access, read carefully and left off. A sandbox that has to be opened far enough for the workload is…
A function that throws synchronously before returning a promise, and a caller whose .catch() never runs. A function that sometimes throws and sometimes returns a promise has two…
Importing JSON with a syntax the runtime enforces, rather than with a bundler plugin that made it look like a module. The attribute is a security feature rather…
A flag requiring every export to have an explicit type annotation, in exchange for declaration files that can be generated without type checking. The cost is annotating every…
Node 22 can require() a synchronous ES module behind a flag, which resolves the split that has made dual publishing miserable. A feature that helps only when the…
The built-in runner became usable for a package of plain JavaScript at the point it gained watching and a coverage report. Forty-one transitive dependencies gone from a package…
The deferred pattern — a promise whose resolve and reject escape the executor — written by hand in every project that needs it. The hand-rolled version works and…