JavaScript
32.1K subscribers
1.05K photos
10 videos
33 files
726 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
โ“ CHALLENGE #147
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿค”6๐Ÿ‘2
What is the output?
Anonymous Quiz
34%
1
60%
2
5%
3
2%
4
๐Ÿ‘18๐Ÿ”ฅ6โค5๐Ÿค”2
๐Ÿ“Œ Issue 41 / 03.10.2023


๐Ÿ“„ Honey, I Shrunk the npm Package!

Compression sits under the hood of everything on the modern Web, including npm packages (distributed as gzipped tarballs). Could the standard gzip approach be showing its age in both speed and effectiveness? Jamie runs a package through a few alternatives and gives an update on efforts to modernize npmโ€™s compression defaults.

JAMIE MAGEE


ASIDES:

- A variety of malicious 'typosquatting' packages on both npm and PyPI have been found to be stealing SSH keys from developers. Take care over what you're installing out there.

- ๐Ÿข We recently mentioned a discussion around Node.js getting its own mascot. The discussion has continued with lots of new ideas thrown into the mix.

- Google Cloud SQL's Node.js connector is now generally available.


ยฉ๏ธNODE.JS WEEKLY
Please open Telegram to view this post
VIEW IN TELEGRAM
โค3๐Ÿ‘2๐Ÿ”ฅ2๐Ÿคฉ2
โ“ CHALLENGE #148
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿคฃ5๐Ÿ‘3๐Ÿ”ฅ1
What is the output?
Anonymous Quiz
46%
Bob
29%
An
12%
TypeError
13%
ReferenceError
๐Ÿค”20๐Ÿคฃ9โค7๐Ÿ‘6๐Ÿคฉ2๐Ÿ”ฅ11
Painful ๐Ÿ˜ฅ๐Ÿ˜‚
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿคฃ56๐Ÿ‘4โค2๐Ÿ”ฅ1๐Ÿคฉ11
โ“ CHALLENGE #149
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿค”10๐Ÿ‘4๐Ÿคฃ3
What is the output?
Anonymous Quiz
48%
Buzo, Buzo
13%
Buzo, ''
22%
'', Buzo
18%
Error
๐Ÿค”12๐Ÿ‘11โค5๐Ÿคฉ5
๐Ÿ“Œ Issue 42 / 06.10.2023


๐Ÿ“„ An Interactive Intro to CRDTs

Conflict-free replicated data types (the so-called CRDTs) provide a popular approach to replicate data across numerous clients and allow live collaboration between them without conflicts. This post really digs into what makes CRDTs tick well, complete with interactive examples.

JAKE LAZAROFF


๐Ÿ“„Test Assertion Styles in JavaScript

Isaac, fundamental to the development of npm and the growth of Node, shares his thoughts on the two main approaches common in JavaScript testing APIs and which he prefers best.

ISAAC Z. SCHLUETER


๐Ÿ”ต TypeScript 5.3 beta has been released with improved support for import attributes, improved type narrowing in numerous situations, and inlay hints in VS Code can now jump you to the type's definition.


ยฉ๏ธJS WEEKLY
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘3โค2๐Ÿ”ฅ2
โ“ CHALLENGE #150
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘9
๐Ÿ‘11๐Ÿค”10โค2๐Ÿ”ฅ2
Please open Telegram to view this post
VIEW IN TELEGRAM
โค3๐Ÿ‘2๐Ÿ”ฅ2
CHALLENGE #151
๐Ÿค”15
โค17๐Ÿคฃ11๐Ÿ‘5๐Ÿค”5๐Ÿ”ฅ2
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿ”ผ In the next version of Bun

A memory leak impacting fetch() is fixed

left: bun v1.0.4
right: bun v1.0.5

@jarredsumner
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘8๐Ÿคฃ6๐Ÿ”ฅ3๐Ÿคฉ3
โ“ CHALLENGE #152
Please open Telegram to view this post
VIEW IN TELEGRAM
What is the output?
Anonymous Quiz
14%
5
34%
6
10%
7
42%
8
๐Ÿ‘19๐Ÿค”14โค9๐Ÿคฃ1
All developers are the same ... ๐Ÿ˜‚ ๐Ÿ’…
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿคฃ43โค6๐Ÿคฉ4๐Ÿ”ฅ2
โ“ CHALLENGE #153
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘5
๐Ÿ‘19๐Ÿค”10โค4
๐Ÿงต Tread-safe map structure for worker_threads.

https://github.com/nairihar/worker_map

A simple abstraction for Node.js worker_threads, allowing you to create and share a Map (hash table) between worker threads and the main process. This simplifies the process of managing shared data and communication between worker threads.

NAIRI

๐Ÿ—ฃ๏ธ Send this to the person you think is interested in Node.js multithreading!
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘7โค5๐Ÿ”ฅ1๐Ÿคฉ1