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

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 --cache CLI option and TypeScript 4.9 satisfies operator
prettier.io@sosukesuzuki, @prettier
Quoting the blog post:

This release includes improvements to the --cache option added in 2.7. A new --cache-location option has been added, and a bug that saved the cache even when --write wasn't specified has been fixed.

We're also adding support for TypeScript 4.9 satisfies operator!



ECMAScript proposal: RegExp flag /v makes character classes and character class escapes more powerful
2ality.com@rauschma
Quoting the blog post:
The proposed new regular expression flag /v (.unicodeSets) enables three features:
  • Support for multi-code-point graphemes (such as some emojis) for character classes and Unicode property escapes (\p{}).
  • Character classes can be nested and combined via the set operations subtraction and intersection.
  • The flag also improves case-insensitive matching for negated character classes.


How to internationalize numbers with JavaScript
davidwalsh.name@darkwing
The number method .toLocaleString() lets us format numbers and currencies in locale-specific ways. This is one example from the post:
price.toLocaleString('de-DE', { 
  style: 'currency', 
  currency: 'EUR' 
}); // "16.601,91 €"  
For more information on this method, see its MDN documentation.


Complete rewrite of ESLint
github.com@nzakas, @eslint
ESLint’s creator, Nicholas C. Zakas, believes that “it’s time for a larger rewrite. We are still stuck on implementing things like async parsers and rules because it’s difficult to plot a path forward that doesn’t cause a lot of pain for a lot of users. This seems like the right time to stop and take stock of where we are and where we want to go.”


What is a realm in JavaScript?
weizman.github.io@weizman
Quoting the blog post:

Due to the rise of dependencies-based development, the JavaScript ecosystem [...] is far more vulnerable to what we know as “supply chain attacks” – and the ability to create new realms in JavaScript is being leveraged to successfully carry out such attacks against web apps [...].

The realms security field is far from being properly addressed, and I hope to gradually fix that starting by introducing the first open source realms security tool – Snow-JS [...].

But in order for any of this to make sense, we must first understand what realms are [...].




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

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

Turbopack vs. Vite; ESLint v8.27.0

Tuesday, November 8, 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 Is Turbopack really 10

Turbopack bundler; Babel 7.20.0; npm v9.0.0; Deno 1.27; ahead-of-time compilation for JS

Tuesday, November 1, 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 Turbopack: incremental

ES proposal “Type Annotations”; ESLint v8.26.0; ESLint in practice; ViteConf 2022 videos; Nordic.js 2022 videos

Tuesday, October 25, 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 Typed JavaScript? For

You Might Also Like

📧 What's inside MMA and how it can help you

Friday, April 26, 2024

What's Inside Modular Monolith Architecture? Hey there! 👋 I wish you an excellent end to the week. What better way to spend the weekend than diving headfirst into a 12+ hour course? Well, maybe

Data Science Weekly - Issue 544

Friday, April 26, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Develop highly relevant search applications using AI

Friday, April 26, 2024

New Elasticsearch and AI training ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect A world of AI possibilities door-test 2.png Explore

Stripe makes more changes

Thursday, April 25, 2024

TikTok is in trouble, and net neutrality is back View this email online in your browser By Christine Hall Thursday, April 25, 2024 Welcome back to TechCrunch PM, your home for all things startups,

💎 Issue 414 - From a Lorry Driver to Ruby on Rails Developer at 38

Thursday, April 25, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 414 - JavaScript Features That Most Developers Don’t Know

Thursday, April 25, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 407 - The Performance Impact of C++'s `final` Keyword

Thursday, April 25, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 407 Release Date Apr 25, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 414 - Everyone Has JavaScript, Right?

Thursday, April 25, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 408 - All web browsers on iOS are just Safari with different design

Thursday, April 25, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 408 Release Date Apr 25, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💧 Don't Bother Liquid Cooling Your AMD CPU — Why You Should Keep Using Live Photos on iPhone

Thursday, April 25, 2024

Also: We review the Unistellar Odyssey iPhone Telescope, and More! How-To Geek Logo April 25, 2024 Did You Know Charles Darwin and Abraham Lincoln were both born on the same day: February 12, 1809. 💻