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

Mapped | Unemployment Rate By U.S. State in 2024 💼

Tuesday, November 26, 2024

As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!

🔊 7 DIY Tips for Soundproofing a Room — Why I Switched to Xfce for Linux Mint

Tuesday, November 26, 2024

Also: Home Theater Sound Terms Explained, and More! How-To Geek Logo November 26, 2024 Did You Know The shiny layer of a CD doesn't contain the data; the plastic polycarbonate layer does. The shiny

JSK Daily for Nov 26, 2024

Tuesday, November 26, 2024

JSK Daily for Nov 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

NumPy, Loop Targets, Vector Animation, and More

Tuesday, November 26, 2024

NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to

Your Games Quarterly newsletter has arrived

Tuesday, November 26, 2024

What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16

Daily Coding Problem: Problem #1620 [Hard]

Tuesday, November 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Sudoku is a puzzle where you're given a partially-filled 9 by 9 grid with

Final Hours: Help Save "The Art of Data" From Falling Short 🙏

Tuesday, November 26, 2024

Will Visual Capitalist end up revealing the secrets behind data storytelling? There are 12 hours left to change the fate of "The Art of Data". View Online | Subscribe | Download Our App Help

Spyglass Dispatch: Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer

Tuesday, November 26, 2024

Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer The Spyglass Dispatch is a free newsletter sent out

🎁 Say Goodbye to Adobe and Hello to UPDF's Universal PDF Editor— 50% Off This Black Friday!

Tuesday, November 26, 2024

Promoted by UPDF How-To Geek Logo November 26, 2024 This email is sponsored by UPDF. Product choices and opinions expressed are from the sponsor and do not necessarily reflect the views of the How-To

What's coming in Go 1.24

Tuesday, November 26, 2024

Plus Brad Fitzpatrick on complexity and Go. | #​533 — November 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly GoMLX: ML in Go without Python — Eli recently wrote about Go's