May 21, 2025

Subject: `using`; ES Module Shims 2.5; html-eslint; new Mocha website; Nx 21

Tonkotsu Is a Natural Language IDE for JS & TS Developers

www.tonkotsu.ai Sponsor

We've built a new developer experience that makes you the tech lead for a team of AI agents. Write out your work in bullet points and delegate to Tonkotsu. You're the tech lead and approver. We just started our FREE early access program and want to hear directly from early adopters. Sign up today.

JavaScript’s new superpower: explicit resource management via using

v8.dev github.com/rmahdav

“The core of the Explicit Resource Management proposal lies in the using and await using declarations. The using declaration is designed for synchronous resources, ensuring that the [Symbol.dispose]() method of a disposable resource is called when the scope in which it’s declared exits. For asynchronous resources, the await using declaration works similarly, but ensures that the [Symbol.asyncDispose]() method is called and the result of this calling is awaited, allowing for asynchronous cleanup operations.”

ES Module Shims 2.5: hot reloading and more

guybedford.com @guybedford@fosstodon.org

“ES Module Shims brings some new ES Module Shims features together along with hot reloading on a standards-compatible browser workflow. The CSS, JSON and TypeScript module import features from 2.0 are now automatically enabled by default without needing separate configurations, and we also have a brand new Import Defer polyfill for the upcoming TC39 proposal being implemented.”

ESLint can now lint HTML using the html-eslint language plugin

eslint.org github.com/yeonjuan @eslint@fosstodon.org

“In 2024, ESLint announced its plan to become a language-agnostic linter that is capable of linting languages other than JavaScript. Since then, we’ve seen official support added for JSON and Markdown, and most recently, CSS. Today, I’m excited to share that html-eslint now provides an ESLint language plugin for linting HTML.”

A preview of the new Mocha website is now online

mochajs.org github.com/mark-wiemer github.com/mochajs

Nx 21: Continuous tasks and Terminal UI lead the way

nx.dev github.com/philipjfulcher github.com/nrwl

This email was sent to {{ email | default }}. You can unsubscribe from this list here or update your preferences.