Prettier 2.7; Deno 1.23; web streams; block statements; statically transform module specifiers

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.7: new --cache CLI option and TypeScript 4.7 syntax
prettier.io@__sosukesuzuki, @PrettierCode
Highlights – quoting the blog post:
  • This release includes a new --cache CLI option. Enabling this option will use some attributes as cache keys and format files only if they have changed. This could dramatically improve CLI performance.
  • We’ve also added support for formatting TypeScript 4.7 syntax!


Deno 1.23: no type-checking by default (deno run, deno eval, deno cache) and more
deno.com@biwanczuk, @davidsherret, github/ry, @kt3k, @satyarohith_, @deno_land
  • No type-checking by default in deno run, deno eval, and deno cache
  • File watcher watches dynamic imports
  • Updates to deno task
  • Updates to deno fmt
  • deno info supports --config and --no-config flags
  • REPL: Use Ctrl-S to insert newlines into your input
  • SIGINT and SIGBREAK signal listening support on Windows
  • Support for "deflate-raw" in CompressionStream and DecompressionStream
  • TypeScript 4.7
  • Changes to flags standard module (which parses command line arguments)
  • Changes to assertThrows and assertRejects


Add 90+ code assists and refactorings to Visual Studio Code
marketplace.visualstudio.com Sponsor
Refactor JavaScript, TypeScript, React and Vue.js code. With the P42 JavaScript Assistant.


Using web streams on Node.js
2ality.com@2ality
Web streams are a new standard that works on browsers, Node.js and Deno. For example, the Response returned by fetch() has a property .body with a web stream.

The blog post is a tutorial for using web streams with many code examples. It focuses on Node.js but most of the content also applies to other platforms.



The JavaScript block statement
www.webpro.nl@webprolific
Nested block statements enable you to reuse variable names. Which can be helpful – e.g. in tests and in consoles:
function test() {
  const type = 'some';
  {
    const thing = getThing(type, 1);
    assert.equal(thing, 1);
  }
  {
    const thing = getThing(type, 2);
    assert.equal(thing, 2);
  }
}


Use esm-import-transformer for “isomorphic-ish” ECMAScript modules
www.zachleat.com@zachleat
The utility esm-import-transformer lets you search and replace module specifiers in JavaScript source code. One use case is to translate code for Node.js to code that works on browsers:
// Before
import {html, css, LitElement} from "lit";
// After
import {html, css, LitElement} from "https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js";



Looking for deeply qualified employees or customers? Advertise on ES.next News!
ES.next News reaches over 14,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

TC39 meeting in June; Rome Tools 0.6.0; aborting asynchronous tasks; querying node_modules

Tuesday, June 14, 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 TC39

Node v18.3.0; logging and error handling; monorepos; Node.js testing; Wasm in JS ecosystem

Tuesday, June 7, 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 Node v18.3.0 (current):

Parcel v2.6.0; Lerna 5; processing Arrays non-destructively; managing local dependencies; converting libraries from Node.js to Deno

Tuesday, May 31, 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 Parcel v2.6.0 parceljs.

Babel 7.18.0; ESLint v8.16.0; Deno 1.22; JavaScript MIME type; property paths

Tuesday, May 24, 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 Babel 7.18.0:

Community Group for non-browser JS platforms; universal JavaScript; JavaScript containers; Jest joins OpenJS Foundation; esbuild

Tuesday, May 17, 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 WinterCG: Community

You Might Also Like

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.

Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464

Friday, April 26, 2024

Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🤓 The Meta Quest Might Be the VR Steam Deck Soon — Games to Play After Finishing Wordle

Friday, April 26, 2024

Also: Why a Cheap Soundbar Is Better Than Nothing, and More! How-To Geek Logo April 26, 2024 Did You Know TMI: Rhinotillexomania is the medical term for obsessive nose picking. 🖥️ Get Those Updates

JSK Daily for Apr 26, 2024

Friday, April 26, 2024

JSK Daily for Apr 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news A Solid primer on Signals with Ryan Carniato (JS Party #320) Ryan Carniato joins Amal

So are we banning TikTok or what?

Friday, April 26, 2024

Also: Can an influencer really tank an $800M company? View this email online in your browser By Haje Jan Kamps Friday, April 26, 2024 Image Credits: Jonathan Raa/NurPhoto / Getty Images Welcome to

[AI Incubator] 300+ people are already in. Enrollment closes tonight at 11:59pm PT.

Friday, April 26, 2024

How to decide if you're ready. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1423 [Medium]

Friday, April 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an array of nonnegative integers. Let's say you start at the

Data science for Product Managers

Friday, April 26, 2024

Crucial resources to empower you with data that matters. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Inner Thoughts

Friday, April 26, 2024

'The Inner Circle' Comes Around... Inner Thoughts By MG Siegler • 26 Apr 2024 View in browser View in browser If you'll allow me a brief meta blurb this week (not a Meta blurb, plenty of

Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring

Friday, April 26, 2024

Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏