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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your