ES.nextNews: the latest in JavaScript and cross-platform tools
Curated by Dr. Axel Rauschmayer and Johannes Weber.

ES.next News

The latest in JavaScript and cross-platform tools

Updates from the TC39 meeting in January 2023
dev.to@hemanth
Stage changes for ECMAScript proposals:
  • Stage 4:
    • Change Array by copy
    • Symbols as WeakMap keys
  • Stage 3:
    • ArrayBuffer.prototype.transfer and friends
    • Sync Iterator helpers (originally part of “Iterator helpers”)
  • Stage 2:
    • Import assertions (demoted from stage 3)
    • Symbol predicates
    • Async Iterator helpers (originally part of “Iterator helpers”)
  • Stage 1:
    • Async context
    • Prototype pollution mitigation


Node v19.6.0 (Current)
nodejs.org@ruyadorno, @nodejs
Highlights:
  • ESM loaders now apply to subsequent loaders, for example:
            --experimental-loader ts-node --experimental-loader loader-written-in-typescript
            
  • fs.statfs() returns information about the mounted file system which contains a given path.


Vite 4.1.0
github.com@patak-dev, @vitejs
Highlights:
  • Add experimental option to skip SSR transform
  • Reproducible manifest
  • Support BROWSER and BROWSER_ARGS in env file
  • Clear console by pressing “C”


Go-like channel in 10 lines of JavaScript
pedrocattori.dev@pcattori
In Go, concurrently running functions can coordinate by writing and reading from “channels”. In JavaScript, we can do the same via “remotely resolving” Promises (for single values).


Speeding up the JavaScript ecosystem – ESLint
marvinh.dev@marvinhagemeister
Quoting the blog post: “Linting is the act of finding patterns in code that could lead to mistakes or ensure a consistent reading experience. It’s a core piece of many JavaScript/TypeScript projects. We found lots of potential for time savings in their selector engine and AST conversion process and a perfect linter written in JS would be able to hit sub-second run times.”


10% discount for Axel’s JavaScript books
exploringjs.com Sponsor@rauschma
In celebration of Groundhog Day, the coupon code GROUNDHOG2023 (expires in a week) gets you a 10% discount for Axel Rauschmayer’s JavaScript books (“JS for impatient programmers”, “Deep JS”, “Tackling TS”, “Shell scripting with Node.js”):
  • Go to the Payhip product page (follow the links from exploringjs.com).
  • Click on “Buy Now”.
  • At the bottom, click on “Add coupon” and enter the code.
(There won’t be a new edition of “JS for impatient programmers” this year; the next edition will come out in 2024.)



Looking for deeply qualified employees or customers? Advertise on ES.next News!
ES.next News reaches over 15,000 highly skilled and motivated developers. We take their trust seriously and have high editorial standards.
Check out our media data and get directly in touch with us.
Follow on Twitter

This email was sent to {{ email | default }}. Want to change how you receive these emails?
You can unsubscribe from this list