What is the output?
Anonymous Quiz
72%
Oops!
12%
foo is not a function
9%
bar is not a function
6%
baz is not a function
π€£3π2
π€£13π5π€5β€2
π Issue 19 / 05.07.2023
π RegExp's v Flag with Set Notation and Properties of Strings
The capability of regexes in Node has been turned up a few notches, especially in the support for, and manipulation of, Unicode character sets (for example, you can now do things like 'match all Greek symbols except Ο'). The post is from 2022 but weβve been sitting on it as itβs taken till now for it to be supported.
DAVIS, SCHERER. AND BYNENS
π Setting Expectations for the Node.js Test Runner
An update on Nodeβs new test runner (stable since Node 20.0) from a TSC and core team member. He explains why an official test runner was introduced and how it tries to strike a balance between being powerful and minimal.
COLIN J. IHRIG
π Tangerine: DNS over HTTPS for Node.js
A drop-in replacement for
FORWARD EMAIL
Β©οΈNODE.JS WEEKLY
π RegExp's v Flag with Set Notation and Properties of Strings
The capability of regexes in Node has been turned up a few notches, especially in the support for, and manipulation of, Unicode character sets (for example, you can now do things like 'match all Greek symbols except Ο'). The post is from 2022 but weβve been sitting on it as itβs taken till now for it to be supported.
DAVIS, SCHERER. AND BYNENS
π Setting Expectations for the Node.js Test Runner
An update on Nodeβs new test runner (stable since Node 20.0) from a TSC and core team member. He explains why an official test runner was introduced and how it tries to strike a balance between being powerful and minimal.
COLIN J. IHRIG
π Tangerine: DNS over HTTPS for Node.js
A drop-in replacement for
dns.promises.Resolver
that uses Undici to perform DNS requests over HTTPS, complete with built-in retries, timeouts, caching, and the ability to abort requests.FORWARD EMAIL
Β©οΈNODE.JS WEEKLY
β€5π3π₯1
ASIDES
πDeno: An interesting take on Nodeβs default module system, covering its history, its shortcomings, and the trickiness of managing both CommonJS and ES modules at once. Unsurprisingly, Andy wants us aboard the ESM train ASAP and to leave CommonJS at the station.
π TypeScript 5.2 is now in beta.
π There's a new release of alternative JS runtime, Bun: Bun 0.6.12. Guess what? Yes, more Node.js compatibility improvements!
π A walkthrough of ways to run 'cron' style scheduled jobs in Node that ultimately promotes the author's own company, but is a reasonable roundup nonetheless.
π Liran Tal explains why to avoid Fastify's reply.raw and reply.hijack and shares an alternative approach.
πDeno: An interesting take on Nodeβs default module system, covering its history, its shortcomings, and the trickiness of managing both CommonJS and ES modules at once. Unsurprisingly, Andy wants us aboard the ESM train ASAP and to leave CommonJS at the station.
π TypeScript 5.2 is now in beta.
π There's a new release of alternative JS runtime, Bun: Bun 0.6.12. Guess what? Yes, more Node.js compatibility improvements!
π A walkthrough of ways to run 'cron' style scheduled jobs in Node that ultimately promotes the author's own company, but is a reasonable roundup nonetheless.
π Liran Tal explains why to avoid Fastify's reply.raw and reply.hijack and shares an alternative approach.
π6β€3
β€19π€10
MERN Projects for Beginners (2021)
Create Five Social Web Apps Using MongoDB, Express.js, React, and Node
Learn how to use the MERN stack (MongoDB, Express.js, React, and Node) to build five fully functioning web apps for dating, video sharing, messaging, and social media. ...
NABENDU BISWAS
Create Five Social Web Apps Using MongoDB, Express.js, React, and Node
Learn how to use the MERN stack (MongoDB, Express.js, React, and Node) to build five fully functioning web apps for dating, video sharing, messaging, and social media. ...
NABENDU BISWAS
β€11π₯5π€1
π Issue 20 / 07.07.2023
πWhat's Next for JavaScript: New Features to Look Forward to
A reassuring and high level look at just what goes into making JavaScript better over time, along with some of the new things about to appear or still making their way through the arduous TC39 process.
MARY BRANSCOMBE (THE NEW STACK)
Mary has followed up this piece with Beyond Browsers: The Longterm Future of JavaScript Standards which goes into more depth on JavaScript's ongoing developments in the world of servers and edge functions.
π¬ Remotion v4.0: Create Videos Using React
A powerful framework for creating videos from code using React and JavaScript. v4 is such a big update they βΆοΈ recorded a keynote to show it off.
JONNY BURGER
Β©οΈJS WEEKLY
πWhat's Next for JavaScript: New Features to Look Forward to
A reassuring and high level look at just what goes into making JavaScript better over time, along with some of the new things about to appear or still making their way through the arduous TC39 process.
MARY BRANSCOMBE (THE NEW STACK)
Mary has followed up this piece with Beyond Browsers: The Longterm Future of JavaScript Standards which goes into more depth on JavaScript's ongoing developments in the world of servers and edge functions.
π¬ Remotion v4.0: Create Videos Using React
A powerful framework for creating videos from code using React and JavaScript. v4 is such a big update they βΆοΈ recorded a keynote to show it off.
JONNY BURGER
Β©οΈJS WEEKLY
π9
RELEASES
TypeScript 5.2 Beta
Just a month after the final release of 5.1, too. using is the headline feature and the release post goes into fantastic detail.
Node.js v20.4.0 (Current)
Node gains an interesting new 'mock timers' feature for writing more reliable and deterministic tests for time-dependent functionality.
Vite 4.4
The frontend toolkit updates to esbuild 0.18, adds experimental Lightning CSS support, and there are new starter templates for Solid and Qwik users.
Deno 1.35 β The alternative JS runtime makes Deno.serve() (its Web server API) stable, and improves npm and Node compatibility.
Bun 0.6.13
TypeScript 5.2 Beta
Just a month after the final release of 5.1, too. using is the headline feature and the release post goes into fantastic detail.
Node.js v20.4.0 (Current)
Node gains an interesting new 'mock timers' feature for writing more reliable and deterministic tests for time-dependent functionality.
Vite 4.4
The frontend toolkit updates to esbuild 0.18, adds experimental Lightning CSS support, and there are new starter templates for Solid and Qwik users.
Deno 1.35 β The alternative JS runtime makes Deno.serve() (its Web server API) stable, and improves npm and Node compatibility.
Bun 0.6.13
π CODE & TOOLS
π©MathLive: A Web Component for Math Input
A web component that provides an interface for editing formulas. It uses LaTeX-style typesetting to keep things looking good. GitHub repo.
ARNO GOURDOL
π©copy-text-to-clipboard: Copy Text to Clipboard in Modern Browsers
Pretty simple but will save you a little messing around with the browser API.
SINDRE SORHUS
π©MathLive: A Web Component for Math Input
A web component that provides an interface for editing formulas. It uses LaTeX-style typesetting to keep things looking good. GitHub repo.
ARNO GOURDOL
π©copy-text-to-clipboard: Copy Text to Clipboard in Modern Browsers
Pretty simple but will save you a little messing around with the browser API.
SINDRE SORHUS
π₯7β€2
What is the output?
Anonymous Quiz
22%
undefined 10 undefined
42%
ReferenceError undefined 10
28%
undefined 10 5
9%
undefined undefined 5
π10π€6β€3
β€14π8