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
πŸ“Œ Issue 33 / 06.09.2023


πŸ“„ Node v20.6.0 (Current) Released

As we teased last week, the latest Node release includes all-new built-in support for setting environment variables via .env files, so you may no longer have a need for dotenv, depending on your use case.

πŸ’‘ If you just want to see a quick example of the .env feature in action, check this article.

JUAN JOSÉ AND THE NODE.JS TEAM


πŸ“„ My Node.js is a Bit Rusty..

The tale of how replacing a Node.js module with a native Rust module resulted in a 25x perf boost for Wix. Gal shows off the details of how it came about before concluding: β€œIf something is too slow, profile it first, then encapsulate it, and thenβ€”perhapsβ€”consider rewriting it in Rust.”

GAL SCHLEZINGER


❗️There are all sorts of bizarrely named npm packages being published, including things like @!-!- and --hepl, in an attempt to break tools and find new security vulnerabilities.


©️NODE.JS WEEKLY
❀6πŸ‘1
CHALLENGE #128
What is the output?
Anonymous Quiz
42%
undefined
58%
42
πŸ‘16🀣5πŸ”₯2
πŸ”₯ JavaScript Sets are about to become a lot more useful with these 7 new methods:

.difference()
.intersection()
.symmetricDifference()
.union()
.isSubsetOf()
.isSupersetOf()
.isDisjointFrom()

Currently stage 3. Implemented in JavaScriptCore (Safari/webkit), being worked on in Chrome, and is totally polyfillable all the way back to ES3

Wes Bos
πŸ‘17πŸ”₯8
CHALLENGE #129
πŸ”₯4πŸ‘2
πŸ‘15❀6🀣5πŸ€”3πŸ”₯1
πŸ“Œ Issue 34 / 07.09.2023


πŸ“„ Astro 3.0 Released: The All-in-One Web Framework

An increasingly popular, turbo-charged site generator comfortable with not just static sites, but dynamic and interactive ones too by way of its β€˜islands’ approach.


πŸŽ‰ RELEASES:

TypeScript 5.2 – Complete with the much awaited using declarations..

Node-RED 3.1 – The powerful low-code/visual programming environment gets some key improvements in its editor.

jq 1.7 – It's not JavaScript, but surely the best JSON processing tool to exist.

Ky 1.0 – Simple HTTP client based upon Fetch for browsers, Node & Deno.

jQuery 3.7.1 – Oh yes indeedy πŸŽ‰


©️JS WEEKLY
πŸ‘12
CHALLENGE #129
❀8🀣4πŸ‘2
What is the output?
Anonymous Quiz
20%
3 2
19%
12 31
47%
12 2
13%
NaN NaN
πŸ‘20πŸ€”9🀣5πŸ‘Ž2
⚑️ IN BRIEF

- Version 1.0 of Bun, the notably fast JavaScriptCore-based JS runtime, is due to launch in the coming hours. There's a livestream and, we assume, a launch post due to land here very soon.

- In other 'alternative runtime news', the Deno team has announced native npm support on its Deno Deploy platform. They've also announced Deno KV is in open beta.

- Mozilla: "Over the course of the year Firefox has improved by around 40% on the Vue.js benchmark" – find out why.

- David Heinemeier Hansson, the creator of Ruby on Rails, announced that they're dropping TypeScript from Turbo (a library commonly used with Rails) in favor of plain old JavaScript. Social media drama ensued.

- What's going on with the Gatsby React framework? Folks are noticing there's not a lot going on with it lately and that 🐦 Netlify layoffs had a big impact. Netlify does, however, say 🐦 updates are coming.

- GitHub has made changes to its homepage feeds. Quite a few people are unhappy about it, though.

- "The CSS-in-JS sector has plateaued," says the latest State of CSS survey.

- What's new in Svelte as of September 2023? Quite a lot.
❀4πŸ‘3
CHALLENGE #130
πŸ‘1
πŸ‘11🀣7πŸ”₯3πŸ€”3πŸ‘Ž2
Wow HTML 🦈
🀣51❀3πŸ”₯2πŸ‘1
CHALLENGE #131
What is the output?
Anonymous Quiz
27%
0
24%
Error
36%
NaN
13%
undefined
πŸ‘11πŸ”₯8🀣5πŸ€”4πŸ‘Ž1
We've hit another fantastic milestone! πŸ₯³πŸ˜Ž

Thank you for being a part of our community. We're committed to staying active and delivering informative and interesting content just for you! πŸ™ŒπŸ“šπŸ€©
❀24πŸ”₯1
CHALLENGE #132
What is the output?
Anonymous Quiz
47%
1 2 3
45%
a b c
8%
0 1 2
πŸ‘18🀣12πŸ€”6❀4
πŸ“Œ Issue 35 / 12.09.2023


πŸ“„ How to Run a GitHub Gist with npx

Nate Taras’ recent Creating an npx tool inspired Kelly to send in this simple example of a remotely executable npx gist. This is a clever idea that works because GitHub gists can automatically act as git repositories.
KELLY FOX


πŸ•ΉASIDES:

- Node 16 is now EOL (End of Life) meaning it will get no more updates. Why? Node's release schedule here.

- Yagiz Nizipli of Node's performance team invites anyone interested in helping work on Node's performance to come along to one of their Zoom meetings. He also notes that 🐦 no-one on the team is paid for their work in response to criticism and claims to the contrary on Twitter/X this week.

- Yagiz also began a discussion about removing primordials from Node. An 'internal use only' feature, primordials provide a way for core modules to get access to truly clean, underlying objects in Node that aren't being polluted by other modules or third party code.


©️NODE.JS WEEKLY
πŸ‘6❀2πŸ”₯1πŸ€”1
256th day 🀩🍾πŸ₯³
❀55πŸ”₯8πŸ‘5