Private fields vs. proxies; Node v20.2.0; Bun v0.6.0; TC39 meeting May; ESM-CJS interop; Node.js performance; Javy: JS on Wasm

ES.nextNews: the latest in JavaScript and cross-platform tools
Curated by Dr. Axel Rauschmayer and Johannes Weber.

ES.next News

The latest in JavaScript and cross-platform tools

Private fields, proxies: pick one, you can’t have both
lea.verou.me@LeaVerou
Important caveat of private fields: You can’t use them together with proxies.


Node v20.2.0 (current): test.skip(), test.only() and more
nodejs.org@targos, @nodejs
Highlights:
  • Test API:
    • test.skip('name', () => {}) is equivalent to
      test('name', {skip: true}, () => {})
    • test.only('name', () => {}) is equivalent to
      test('name', {only: true}, () => {})
    • test.todo('name', () => {}) is equivalent to
      test('name', {todo: true}, () => {})
  • URLSearchParams:
    • It’s now possible to delete all entries that have both a given key and a given value (vs. only a given key): urlSearchParams.delete(key, value)
    • Similarly, we can check if an entry exists that has both a given key and a given value: urlSearchParams.has(key, value)


Bun v0.6.0: bundler, minifier, standalone executables and more
bun.sh@Jarred-Sumner, @oven-sh
Highlights:
  • New JavaScript bundler and minifier
  • Standalone executables
  • Use import.meta.main to check if the current file is the entry point that started bun.


Updates from the TC39 meeting in May 2023
dev.to@hemanth
Stage changes:
  • Stage 4: The first ECMAScript 2024 features!
    • Well-formed unicode strings
    • Asynchronous atomic wait
    • RegExp v flag with set notation + properties of strings (blog post)
  • Stage 3:
    • Decorator metadata
    • Float16Array
  • Stage 2:
    • Uint8Array to/from base64 and hex
    • Promise.withResolvers()
    • Handling time zone canonicalization changes
    • Array grouping (blog post): temporarily demoted from stage 2 until web compatibility issues are solved


ESM-CJS interop test: Node.js, Babel, Webpack, Rollup, esbuild
sokra.github.io@sokra

Tests how well legacy CommonJS modules interoperate with ECMAScript modules on various JavaScript platforms.

For more information on this topic, check out “How to write CommonJS exports that can be name-imported from ESM”.



State of Node.js performance 2023
blog.rafaelgss.dev@RafaelGSS
“The year is 2023 and we’ve released Node.js v20. It’s a significant accomplishment, and this article aims to use scientific numbers to assess the state of Node.js’ performance.”


Javy: JavaScript to WebAssembly toolchain
github.com@bytecodealliance
“Run your JavaScript on WebAssembly. Javy takes your JavaScript code, and executes it in a WebAssembly embedded JavaScript runtime. Javy can create very small Wasm modules in the 1 to 16 KB range with use of dynamic linking. The default static linking produces modules that are at least 869 KB in size.”



Looking for deeply qualified employees or customers? Advertise on ES.next News!
ES.next News reaches over 15,000 highly skilled and motivated developers. We take their trust seriously and have high editorial standards.
Check out our media data and get directly in touch with us.
Follow on Twitter

This email was sent to you. Want to change how you receive these emails?
You can unsubscribe from this list

Key phrases

Older messages

ECMAScript 2023; analyze V8 performance; Rome v12.1.0

Tuesday, May 16, 2023

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools The new JavaScript

WebGPU in Chrome 113; ESLint v8.40.0; Node v20.1.0; npm package signatures; Nx 16

Tuesday, May 9, 2023

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools New in Chrome 113:

JS on Wasm; Deno 1.33; custom Node.js test reporter

Tuesday, May 2, 2023

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools Will JavaScript become

Node.js 20; npm package provenance; Vite 4.3; ESLint v8.39.0; event loop

Tuesday, April 25, 2023

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools Node.js 20 is now

MDN page titles; SpiderMonkey; Socket `npm` wrapper; Deno third party module registry

Wednesday, April 19, 2023

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools The great renaming of

You Might Also Like

Data Science Weekly - Issue 545

Friday, May 3, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

When accelerator dreams become company nightmares

Thursday, May 2, 2024

Plus: Illinois gives Rivian incentives and AI is not SaaS View this email online in your browser By Christine Hall Thursday, May 2, 2024 Hello, and welcome back to TechCrunch PM. We have a great lineup

📱 Issue 409 - Claude Team plan and iOS app

Thursday, May 2, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 409 Release Date May 02, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 415 - Hotel WiFi JavaScript Injection (2012)

Thursday, May 2, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular JavaScript news, articles

💎 Issue 415 - Choosing the Right Audit Trail Approach in Ruby

Thursday, May 2, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 408 - Speeding up C++ build times

Thursday, May 2, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 408 Release Date May 02, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 415 - Ditch dotenv: Node.js Now Natively Supports .env File Loading

Thursday, May 2, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 415 Release Date May 02, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 333 - React 19 Beta

Thursday, May 2, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 333 Release Date May 02, 2024 Your weekly report of the most popular React news, articles and projects

📱 Issue 412 - The Composable Architecture: My 3 Year Experience

Thursday, May 2, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 412 Release Date May 02, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 410 - Lessons learned after 3 years of fulltime Rust game development, and why we're leaving Rust behind

Thursday, May 2, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 410 Release Date May 02, 2024 Your weekly report of the most popular Rust news, articles and projects