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

This Week's Daily Tip Roundup

Sunday, May 19, 2024

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is

Reading Beyond the Hype: Some Observations About OpenAI and Google’s Announcements

Sunday, May 19, 2024

Google vs. OpenAI is shaping up as one of the biggest rivarly of the generative AI era. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Final Reminder: Apple Issues "Update Now Warning"

Sunday, May 19, 2024

I wanted to send a final reminder — if you haven't already updated your iPhone to iOS 17.5, we strongly recommend you do so today. This is also your last chance to get access to our iOS 17.5 In-

Second Brain/Attention/Find Your Books

Sunday, May 19, 2024

Recomendo - issue #411 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #407

Sunday, May 19, 2024

ISSUE #407 19th of May 2024 Hello Kotliners! The Google I/O just finished this week with a huge announcement for us, with Google supporting now Kotlin Multiplatform on Android, and the KotlinConf will

Learn How to Use AI to Reach Your Full Potential, newsletterest1!

Sunday, May 19, 2024

3 Ways AI Can Help Your Writing ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌

Software Testing Weekly - Issue 220

Saturday, May 18, 2024

Software Testing Conferences 📚 View on the Web Archives ISSUE 220 May 18th 2024 COMMENT Welcome to the 220th issue! Have you ever been to a testing conference? They're a great way to learn about

📶 Is a Cellular iPad Worth It? — How to Prevent YouTube From Taking Over Your Screensaver

Saturday, May 18, 2024

Also: This Robot Vacuum Can Clean Stairs, and More! How-To Geek Logo May 18, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — Objection-oriented programming

Saturday, May 18, 2024

This week we find a power-up box, replace GitHub Actions with Maven XMLs, avoid the worst website in the world, revisit RTO policies, “listen” to OpenAI employees, watch our Slack private messages, do

Daily Coding Problem: Problem #1445 [Easy]

Saturday, May 18, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. The United States uses the imperial system of weights and measures, which