Esbuild v0.17.0; plans for Turbopack; ESLint 2022 review; unhandled promise rejections; runtime environment keys

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

esbuild v0.17.0
github.com@evanw/

Quoting the release notes:

At a high level, the breaking changes in this release fix some long-standing issues with the design of esbuild's incremental, watch, and serve APIs. This release also introduces some exciting new features such as live reloading. In detail:
  • Move everything related to incremental builds to a new context API
  • Allow using watch and serve together
  • Support “live reloading” through server-sent events
  • Add built-in support for HTTPS
  • Better support copying index.html into the output directory
  • [...]


The Turbopack vision
vercel.com@sokra, @vercel
Tobias Koppers, the creator of Webpack, shares the plans for Turbopack (“incremental bundler and build system optimized for JavaScript and TypeScript”). Highlights (quoting the blog post):
  • Turbopack’s alpha is purpose-built with improving the developer experience for next dev. Once we’ve reached feature parity with the Next.js 13 dev server, we’ll use next build to work on building for production.
  • In the future, we will support other frameworks so developers everywhere can enjoy the Turboverse using a plug-in architecture.
  • Improving developer insights are also on the roadmap for Turbo, allowing you to create statistical summaries about your build, lint to point you to build optimization opportunities, and analyzers to give you deeper insights.


ESLint’s 2022 year in review
eslint.org@nzakas, @eslint
Topics:
  • Website redesign
  • Preview release of the new configuration system
  • Updates to support ES2022
  • Project kickoffs
  • Income review
  • Expenses review
  • Supporting our dependencies and ecosystem
  • Looking forward to 2023


The gotcha of unhandled promise rejections
jakearchibald.com@jakearchibald/
Quoting the blog post:

Once a promise is rejected, you have until just-after the next processing of microtasks to handle that rejection, else it may count as an unhandled rejection (“may”, because there's a little bit of wiggle room with task queuing).

Unhandled rejections are problematic. [They] are a bit like uncaught errors, in that they cause the entire program to exit with an error code in Node and Deno.

This post explains where unhandled rejections can occur and how to prevent them.


Runtime keys: proposal defining standard identifier keys for various runtime environments
runtime-keys.proposal.wintercg.org@Ethan-Arrowood, @w3c

[Quoting the proposal:] One example of how these keys may be used (remember, this proposal does not specify how the keys are to be used) is within package.json files for projects hosted on npm.

The following package.json file demonstrates a library that exports seperate outputs for Node.js and Deno, as well as specifies which versions of each runtime it supports.

{
    "name": "the-library",
    "version": "1.0.0",
    "exports": {
        "node": "./dist/node/index.js",
        "deno": "./dist/deno/index.js"
    },
    "engines": {
        "node": ">=16",
        "deno": ">=1.10"
    }
}

[node and deno are runtime keys.]




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

Npm code explorer; Vite 4.0; Rome v11; ES proposal “iterator helpers”; new Ecma members

Tuesday, December 13, 2022

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 Dear readers! We are

TC39 meeting November; ESLint v8.29.0; typing import statements; error handling; making libraries faster

Tuesday, December 6, 2022

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

Prettier 2.8; RegExp flag /v; internationalizing numbers; rewrite of ESLint; realms

Tuesday, November 29, 2022

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 Prettier 2.8: improved

Deno 1.28; Node v19.1.0; ESLint v8.28.0; Jest; Lerna

Tuesday, November 22, 2022

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 Deno 1.28: stable

Rome v10; Parcel v2.8.0; TAP formatter for node:test; pnpm v7.15.0; npm v9.0.0; Safari Technology Preview 157

Tuesday, November 15, 2022

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 Announcing Rome v10

You Might Also Like

Tesla's ride hailing app 🚗, Apple AI server chips 🤖, building a new city 🏙️

Wednesday, April 24, 2024

Tesla teased screenshots of its ride-hailing feature along with the release of its Q1 2024 financial results Sign Up |Advertise|View Online TLDR Together With Dollar Flight Club TLDR 2024-04-24 Save Up

AI search engine startup Perplexity eyes a $3B valuation

Tuesday, April 23, 2024

Plus: It's Tesla earnings day and AWS wants to host your AI models View this email online in your browser By Cody Corrall Tuesday, April 23, 2024 Welcome back to TechCrunch PM. Today we have big

🎞️ We Tried 3D Printing a Photo — You'll Love This Secret Samsung Galaxy Bluetooth Feature

Tuesday, April 23, 2024

Also: Transferring Your Phone Number to a New Carrier, and More! How-To Geek Logo April 23, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

You're invited – product sense, prioritization, careers

Tuesday, April 23, 2024

Product Sense Product Sense Wednesday, May 1st @ 01:00 PM EST Learn how to identify opportunities, assess risks, and make informed decisions that lead to successful product innovations by better

CTRL-C, Exceptions, Ruff Speed-up, and More

Tuesday, April 23, 2024

Asyncio Handle Control-C (SIGINT) #626 – APRIL 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio Handle Control-C (SIGINT) When the user presses CTRL-C on the keyboard, the OS raises an

Writing Contests Just Landed On Product Hunt 🔥

Tuesday, April 23, 2024

Upvote us to keep the $$$ coming! 👍 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ 

Daily Coding Problem: Problem #1421 [Hard]

Tuesday, April 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i

Ranked | The Top 10 EV Battery Manufacturers 🔋

Tuesday, April 23, 2024

Asia dominates this ranking of the world's largest EV battery manufacturers in 2023. See which battery makers feature in the top 10. View Online | Subscribe Presented by: EnergyX's

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

Noonification: Leetcode: Two-sum an Intuitive Approach

Tuesday, April 23, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with