JavaScript
32.1K subscribers
1.04K photos
10 videos
33 files
722 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript πŸš€ Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
πŸ—ž 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
πŸ”₯8❀3
πŸ“’ ARTICLES & TUTORIALS


πŸ“ƒ 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
CHALLENGE #62

Peyman
πŸ‘17
Build and Deploy a Fullstack Reddit Clone: Next.js 13, React, Tailwind, Auth, Prisma, MySQL

Josh tried coding
❀14πŸ”₯4
CHALLENGE #63
πŸ‘2
What is the output?
Anonymous Quiz
13%
string
18%
undefined
36%
NaN
34%
number
πŸ‘12🀣8πŸ”₯3πŸ€”2
❀6πŸ”₯3πŸ‘1
CHALLENGE #64
❀10πŸ‘3πŸ”₯2
🀣3πŸ‘2
Many are not aware of the power of JavaScript

Harsha Vardhan
🀣14πŸ‘7❀2🀩1
CHALLENGE #65
What is the output?
Anonymous Quiz
56%
1 2 3
6%
3 2 1
14%
4 4 4
24%
3 3 3
🀣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 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.
πŸ‘6❀3
CHALLENGE #66
What is the output?
Anonymous Quiz
56%
1 2 3
27%
4 4 4
9%
3 2 1
8%
1 1 1
❀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
❀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
πŸ‘9