Node 23.8 introduces the URL Pattern API

February 25, 2025 By Mark Otto 0

๐Ÿ‘‹ Just in case you missed the message, we took last week off but we’re back now until Easter, so you didn’t miss anything. ๐Ÿ™‚
__
Peter Cooper, your editor.

Node.js Weekly

Subverting Control with Weak References โ€” Node supports WeakMap and WeakRef for working with weak references and James is a big fan of the extra abstractions they unlock. A weak reference differs from a normal reference in that it doesnโ€™t prevent a referenced object from being garbage collected โ€“ this might sound like it has limited value, but is quite useful in certain scenarios.

James Long

Node v23.8.0 (Current) Released โ€” You can now tell Node to use the systemโ€™s trusted CA certificate store with --use-system-ca and thereโ€™s an implementation of the URL Pattern API (URLPattern will become a global in Node 24). Other minor enhancements include an update to Nodeโ€™s timezone data and initial support for the zstd compression algorithm (via node:zlib).

Michaรซl Zasso

Functional JavaScript First Steps, v2 โ€” A friendly, practical introduction to functional programming fundamentals in JavaScript. Learn the power of the pure function while exploring functional programming paradigms.

Frontend Masters

๐Ÿ›  Code & Tools

upfetch: An Advanced fetch Client Builder โ€” A TypeScript library to enhance fetch with schema validation, automatic response parsing, and type-safety, while maintaining the familiar fetch API.

Laurent Blondy

  • node-cron 4.1 โ€“ Run functions/commands on cron-defined schedules.

  • Mercurius 16.1 โ€“ Implement GraphQL servers on top of Fastify.

  • DOCX 9.2 โ€“ Generate .docx / Word files from JavaScript.

  • Middy 6.1 โ€“ Node.js AWS Lambda middleware engine.

  • Faker 9.5 โ€“ Generate fabricated data to your heart’s content.

  • Bunchee 6.4 โ€“ Zero config bundler for npm packages.

  • Secretlint 9.2 โ€“ Tool to prevent committing credentials/secrets.

  • Colyseus 0.16 โ€“ WebSocket-based multiplayer framework.

  • file-type 20.2 โ€“ Detect the file type of a file, stream, or data.

  • Light My Request 6.6 โ€“ Fake HTTP injection library

  • ๐ŸŽน JZZ 1.9 โ€“ MIDI library for Node and browsers.

๐Ÿ“ข  Elsewhere in JavaScript

A quick roundup of some of other interesting stories in the broader JavaScript landscape, in case you’ve missed them: