Improved tree-shaking in Rollup; Node v22.1.0; Deno 1.43; npm feedback; npm script runner; refactori

Rollup: improved tree-shaking due to tracking of const parameter values

github.com github.com/liuly0322 @lukastaegert@webtoo.ls @rollupjs@webtoo.ls

Rollup now tracks which values parameters receive: If a parameter always receives the same value, dead code inside functions can sometimes be eliminated. The first comment lists three REPL examples that demonstrate what is and isn’t possible.

Node v22.1.0: automatic on-disk code caching

nodejs.org @targos@fosstodon.org @nodejs@social.lfx.dev

“When [enabled], whenever Node.js compiles a CommonJS or ECMAScript Module, it will use on-disk V8 code cache persisted in [a] directory to speed up the compilation. This may slow down the first load of a module graph, but subsequent loads of the same module graph may get a significant speedup if the contents of the modules do not change. Locally, this speeds up loading of test/fixtures/snapshot/typescript.js from ~130ms to ~80ms.”

Live Workshop: Sentry 🤝 Supabase: Find the slow queries in your database

sentry.io Sponsor

Learn how to improve the performance of your PostgreSQL database and get real-time error alerts at our upcoming workshop May 16th. Plus join us live and you’ll have a chance to win swag.

Deno 1.43: improved Language Server performance

deno.com github.com/lambtron github.com/bartlomieju @marvinh@infosec.exchange github.com/iuioiua @deno_land@fosstodon.org

“[...] we have enhanced the performance of Deno in IDEs by reducing auto-completion times from 6-8 seconds to under one second in large codebases and significantly decreasing memory usage.”

Vitest 1.6.0: faster “forks” pool, comparing benchmark results, and more

github.com @vitest@webtoo.ls

Highlights (quoting the mastodon post):
  • Performance improvements for the “forks” pool
  • --standalone flag to start Vitest in watch mode without running tests
  • --compare flag to compare benchmark results
  • New options to inject scripts in browser mode

npm feedback migrates from discussions in a GitHub repository to GitHub Community

github.blog

nrr: minimal, fast npm script runner

github.com github.com/ryanccn

Code health tip: refactor code with complex boolean expressions to make it easier to understand

testing.googleblog.com

URL.parse(): new URL() without exceptions

kilianvalkhof.com github.com/kilian

JavaScript language design and implementation in tandem

dl.acm.org github.com/sukyoung github.com/jhnaldo

In this article, we present how to automatically extract a mechanized specification from a prose specification and how useful it can be in practice.

Using the example of JavaScript, we show how mechanized specifications can be used to detect conformance bugs between language specifications and existing JavaScript engines in major Web browsers, and to generate more special-purpose JavaScript implementations, such as static analyzers, in a correct-by-construction manner.

We propose a new approach to programming language development as a promising direction for the future: first design the language in a mechanized specification and then generate both human-friendly specifications written in diverse natural languages and correct-by-construction implementations and tools from the mechanized specification.

Poll: What is your preferred JavaScript bundler (not necessarily the one you use the most)?

We’ll share the results in one of the next editions!

This email was sent to you. You can unsubscribe from this list here or update your preferences.

Older messages

Node.js 22; Bun 1.1.5; JSR is not a package manager

Tuesday, April 30, 2024

We have 5 links for you - Stay up-to-date on JavaScript and tools Node.js 22: require() ESM modules, --run package scripts, --watch files, fs.glob() and more nodejs.org @nodejs@social.lfx.dev

Pnpm v9.0.0; Biome v1.7; ESLint v9.1.0; Node.js collaboration summit; Intl.Segmenter; tree shaking;

Tuesday, April 23, 2024

We have 9 links for you - Stay up-to-date on JavaScript and tools WorkOS, the modern API for auth and user identity. workos.com Sponsor WorkOS enables B2B SaaS companies to accelerate enterprise

April TC39 meeting; Rspack v0.6; future of JS packages; Evan You on Vue, Vite, etc.

Tuesday, April 16, 2024

We have 7 links for you - Stay up-to-date on JavaScript and tools This Week In React - Keeps senior React devs up to date thisweekinreact.com Partner We keep over 37k mid/senior React devs up-to-date

ESLint v9.0.0; ESLint Config Inspector; Bun 1.1; JavaScript Signals; learn JavaScript; numbers in JS

Tuesday, April 9, 2024

We have 8 links for you - Stay up-to-date on JavaScript and tools ESLint v9.0.0: flat config and more eslint.org @nzakas@fosstodon.org @eslint@fosstodon.org “We just pushed ESLint v9.0.0, which is a

Iterator helpers; Deno 1.42; Interop 2023; runtime compatibility; GPU-accelerated sorting;

Tuesday, April 2, 2024

We have 8 links for you - Stay up-to-date on JavaScript and tools WorkOS, the modern API for auth and user identity. workos.com Sponsor WorkOS enables B2B SaaS companies to accelerate enterprise

You Might Also Like

The Art of Reading Slowly - Why Speed Isn't Everything

Wednesday, January 8, 2025

Discover how taking notes while reading can transform you from a passive consumer of information into an active learner, helping you retain and apply knowledge for lasting impact Sébastien Dubois

🎮 5 Cheap Apple AirPlay Receiver Alternatives — Your Game Controllers Need Firmware Updates Too

Tuesday, January 7, 2025

Also: The Best Free Offline Music Player Apps For Android How-To Geek Logo January 7, 2025 Did You Know It's a common practice in Japan to package toys with a single cheap piece of candy in order

Daily Coding Problem: Problem #1661 [Medium]

Tuesday, January 7, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Triplebyte. Implement a data structure which carries out the following operations

DRF, Temp Files, Dataclasses, and More

Tuesday, January 7, 2025

Building HTTP APIs With Django REST Framework #663 – JANUARY 7, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo Building HTTP APIs With Django REST Framework This course will get you ready to build

Charted | The Pyramid of S&P 500 Returns (1874-2024) 💰

Tuesday, January 7, 2025

In 2024, the S&P 500 surged 23%, setting a series of record highs. We show these returns in a historical context spanning 150 years. View Online | Subscribe | Download Our App Presented by: Global

LW 164 - How to create new arrivals collection in Shopify using Shopify Flow    

Tuesday, January 7, 2025

How to create new arrivals collection in Shopify using Shopify Flow ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ Shopify Development news and

Tic-Tac-D’Oh 💻

Tuesday, January 7, 2025

The latest from the dull side of the internet. Here's a version for your browser. Hunting for the end of the long tail • January 07, 2025 Tic-Tac-D'Oh Dell decides to rebrand its machines along

Spyglass Dispatch: CaptAIn AmerIca...

Tuesday, January 7, 2025

Hulu, Fubo, Venu • NVIDIA's Cosmos • NVIDIA's DIGITS • Meta's Board Addition • Meta's Fact-Checking Subtraction • Dude, You're Getting a Dell Pro Max Premium The Spyglass Dispatch

DeveloPassion's Newsletter #183 - Knowledge Management for All

Tuesday, January 7, 2025

A newsletter discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's Newsletter #183 -

CES 2025 ICYMI: 8 top reveals so far

Tuesday, January 7, 2025

Bluesky's most-needed feature; A mulching robot mower; Linux man pages -- ZDNET ZDNET Tech Today - US January 7, 2025 ces55gettyimages-2191705850 CES 2025: ZDNET's 8 most impressive products we