October 24, 2023
Turn on loading images ๐Ÿ˜‰- Logo ECMAScript News

Oxc: suite of high-performance tools for JavaScript and TypeScript written in Rust

github.com 

Included tools: AST and parser, linter, resolver, minifier, formatter, transpiler, ezno type checker

Node.js 21 is now available!

nodejs.org @nodejs@social.lfx.dev

Highlights:
  • Command line flag --experimental-default-type=module: It changes the default module type from CommonJS to ESM if a file or an input has no explicit type.

    End goal: โ€œWe are also exploring using detection of ES module syntax as a way of Node.js knowing when to interpret files as ES modules. Our goal is to eventually find a way to support ES module syntax by default with minimal breaking changes.โ€

  • Stable WebStreams and fetch().

  • Client-side WebSocket API

  • Support for globs in the Node.js test runner

  • โ€œIn Node.js 21, we've introduced the global navigator object, enhancing web interoperability. Now, developers can access hardware concurrency information through navigator.hardwareConcurrency.โ€

  • V8 11.8 with Array grouping, ArrayBuffer.prototype.transfer and more

  • Various performance improvements

Biome v1.3.0

github.com @biomejs@fosstodon.org

Improvements: logging support in the CLI, new linter rules, and more

devtools.fm #70: Emanuele Stoppa โ€“ Biome [62-min. audio]

www.devtools.fm @ematipico@fosstodon.org @biomejs@fosstodon.org @devtoolsfm@techhub.social

โ€œThis week we talk to Emanuele Stoppa about Biome, a continuation of the Rome project. We talk about the history of Rome, the fall of the company, and the rise of Biome from the ashes. Biome aims to be a one stop shop for all your JavaScript/TypeScript dev tool needs by building unified syntax tree for all your tools. Itโ€™s a linter, formatter, and aims to be much more in the future. What will be the future of Biome? Listen to find out!โ€

ESLint v8.52.0 released

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

Highlight: โ€œThe CLI option --report-unused-disable-directives and the config option reportUnusedDisableDirectives:true now also report and autofix unused eslint-enable directives.โ€

Compile JavaScript to WebAssembly for web performance improvement

www.w3.org 

[Quoting the slides:]

JWST is a static compiler developed by Huawei Tech. & Beihang University for compiling JavaScript to Wasm and native code:

  • Uses QuickJS bytecode as input, and outputs LLVM IR.
  • Has the same pass rate as QuickJS for Ecma Test262.
  • Caveats (via a blog post by Thomas Steiner):
    • The compiled Wasm is large and not always faster.
    • The compiler may never be open-sourced.
โ€

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

โ€