Node.js 20; npm package provenance; Vite 4.3; ESLint v8.39.0; event loop

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

Node.js 20 is now available
nodejs.org@nodejs
Notable changes:
  • Node.js Permission Model: experimental mechanism for restricting access to specific resources during execution
  • Custom ESM loader hooks nearing stable
  • V8 11.3 now supports:
  • Stable test runner
  • Performance improvements in “the fundamental parts of the runtime including URL, fetch(), and EventTarget.”
  • Preparing single executable apps now requires “injecting a blob prepared by Node.js from a JSON config instead of injecting the raw JS file.” The exact steps are described in The Node.js documentation.
  • Official support for ARM64 Windows
  • Progress on Web Assembly System Interface (WASI)


  • Introducing npm package provenance
    github.blog@bdehamer, @feelepxyz, @npm

    Quote: “Starting today, when you build your npm projects on GitHub Actions, you can publish provenance alongside your package by including the --provenance flag. This provenance data gives consumers a verifiable way to link a package back to its source repository and the specific build instructions used to publish it [...].”

    If you want to read even more about this feature, you can check out “npm Registry Code Signing” by Bradley Meck Farias (Socket).



    Learn more about the JavaScript ecosystem
    exploringjs.com Sponsor
    Dr. Axel Rauschmayer’s books are free to read online:


    Vite 4.3 is out
    vitejs.dev@vitejs
    Quote: “In this minor, we focused on improving the dev server performance. The resolve logic got streamlined, improving hot paths and implementing smarter caching for finding package.json, TS config files, and resolved URL in general.”


    ESLint v8.39.0 comes with performance improvements
    eslint.org@mdjermanovic, @eslint
    Quote: “Performance of SourceCode methods that search for comments has been improved following recommendations from a blog post by Marvin Hagemeister. For example, our tests showed that this change reduces linting time for eslint-plugin-jsdoc rules by 6~11%.”


    Picking the right tool for maneuvering JavaScript’s event loop
    www.macarthur.me@alexmacarthur

    [Quote:]

    Much of the time, you can get along just fine without thinking a ton about JavaScript’s event loop. But sooner or later (especially as you begin to spend more time with things like the rendering process and asynchronous tasks) it becomes handy to know not only how the thing works, but the different tools available to best maneuver it.

    By “maneuver,” I mean “schedule code to execute at a particular part of an event loop iteration, or on a different one altogether.” And which ones you choose in different situations can have a big impact on your code’s performance.




    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 you. Want to change how you receive these emails?
    You can unsubscribe from this list

    Key phrases

    Older messages

    MDN page titles; SpiderMonkey; Socket `npm` wrapper; Deno third party module registry

    Wednesday, April 19, 2023

    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 The great renaming of

    Import map management tool; Vite 4.3 performance; set operations via bigints

    Tuesday, April 11, 2023

    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 JSPM CLI relaunch:

    Safari 16.4; pnpm v8.1.0; Rome v12; import maps in all major browsers; es-module-shims

    Tuesday, April 4, 2023

    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 New JavaScript Features

    TC39 meeting March; esbuild v0.17.14; why package.json in Deno; `eslint-community` GitHub organization

    Tuesday, March 28, 2023

    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

    Safe npm install; Vite 4.2.0; Turbowatch (Nodemon alternative); Node.js permission model; optimizing npm scripts

    Tuesday, March 21, 2023

    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 Introducing “safe npm”,

    You Might Also Like

    WP Weekly 191 - Essentials - Duplicate in Core, White Label Kadence, Studio for Mac

    Monday, April 29, 2024

    Read on Website WP Weekly 191 / Essentials It seems many essential features are being covered in-house, be it the upcoming duplicate posts/pages feature in the WordPress core or the launch of Studio

    SRE Weekly Issue #422

    Monday, April 29, 2024

    View on sreweekly.com A message from our sponsor, FireHydrant: FireHydrant is now AI-powered for faster, smarter incidents! Power up your incidents with auto-generated real-time summaries,

    Quick question

    Sunday, April 28, 2024

    I want to learn how I can better serve you ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

    Kotlin Weekly #404 (NOT FOUND)

    Sunday, April 28, 2024

    ISSUE #404 28st of April 2024 Announcements Kotlin Multiplatform State of the Art Survey 2024 Help to shape and understand the Kotlin Multiplatform Ecosystem! It takes 4 minutes to fill this survey.

    📲 Why Is It Called Bluetooth? — Check Out This AI Text to Song Generator

    Sunday, April 28, 2024

    Also: What to Know About Emulating Games on iPhone, and More! How-To Geek Logo April 28, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

    Daily Coding Problem: Problem #1425 [Easy]

    Sunday, April 28, 2024

    Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Suppose an arithmetic expression is given as a binary tree. Each leaf is an

    PD#571 Software Design Principles I Learned the Hard Way

    Sunday, April 28, 2024

    If there's two sources of truth, one is probably wrong. And yes, please repeat yourself. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

    When Procrastination is Productive & Ghost integrating with ActivityPub

    Sunday, April 28, 2024

    Automattic, Texts, and Beeper join forces to build world's best inbox, Reflect launches its iOS app, how to start small rituals, and a lot more in this week's issue of Creativerly. Creativerly

    C#503 Building pipelines with System.Threading.Channels

    Sunday, April 28, 2024

    Concurrent programming challenges can be effectively addressed using channels ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

    RD#453 Get your codebase ready for React 19

    Sunday, April 28, 2024

    Is your app ready for what's coming up in React 19's release ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌