π Issue 18 / 01.07.2023
π A Massive Bug at the Heart of the npm Ecosystem
βThis is a doozy,β says the author, who used to work on the npm CLI team. We donβt want to spoil his story too much, but in short, package manifests and actual package contents donβt necessarily match up and this can be manipulated by bad actors and even trip up auditing tools.
DARCY CLARKE
π¬ The Cost of JavaScript in 2023
Esteemed Googler and Web performance expert Addy Osmani always brings a full, holistic view of problems and solutions to his talks, and this is no exception. He talks about the various ways JS apps are delivered and rendered, the constraints of the hardware involved, and techniques you can use to keep things running smoothly.
ADDY OSMANI
π‘ I know many readers dislike videos, but no word of a lie, this is a mini masterclass in numerous modern JS and webperf topics and worth saving for later.
Β©οΈJS WEEKLY
π A Massive Bug at the Heart of the npm Ecosystem
βThis is a doozy,β says the author, who used to work on the npm CLI team. We donβt want to spoil his story too much, but in short, package manifests and actual package contents donβt necessarily match up and this can be manipulated by bad actors and even trip up auditing tools.
DARCY CLARKE
π¬ The Cost of JavaScript in 2023
Esteemed Googler and Web performance expert Addy Osmani always brings a full, holistic view of problems and solutions to his talks, and this is no exception. He talks about the various ways JS apps are delivered and rendered, the constraints of the hardware involved, and techniques you can use to keep things running smoothly.
ADDY OSMANI
π‘ I know many readers dislike videos, but no word of a lie, this is a mini masterclass in numerous modern JS and webperf topics and worth saving for later.
Β©οΈJS WEEKLY
π₯8β€3
π ARTICLES & TUTORIALS
π Don't Write Console Logs Yourself Ever Again
We all use
AMIT MERCHANT
π An Introduction to Parser Combinators
Parsing is rarely exciting, but Varun has done a fantastic job of making an engaging tutorial for a dry, yet extremely useful, topic. This is the bare basics, but I hope we can encourage him to finish the series :-)
VARUN RAMESH
π Don't Write Console Logs Yourself Ever Again
We all use
console.log
and weβll probably use it forever, but Amit says we can save time by using the Turbo Console Log extension for VS Code to at least insert the console.log
statements for us..AMIT MERCHANT
π An Introduction to Parser Combinators
Parsing is rarely exciting, but Varun has done a fantastic job of making an engaging tutorial for a dry, yet extremely useful, topic. This is the bare basics, but I hope we can encourage him to finish the series :-)
VARUN RAMESH
π10
Build and Deploy a Fullstack Reddit Clone: Next.js 13, React, Tailwind, Auth, Prisma, MySQL
Josh tried coding
Josh tried coding
β€14π₯4
π12π€£8π₯3π€2
High-school student makes React a million times faster
π₯Fireship
Million on GitHub
Million.js Website
π₯Fireship
Million on GitHub
Million.js Website
β€6π₯3π1
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