JavaScript’s birthday; TC39 FAQ; ESLint v8.55.0; Bun v1.0.15; Socket CLI v0.9.0; Turborepo 1.11

Dear readers!

We are taking our end-of-the-year break and will be back on 23 January 2024.

Be well and see you soon!

Axel and Jowe

28 years ago (1995-12-04): “Netscape and Sun announce JavaScript, the open, cross-platform object scripting language for enterprise networks and the internet”

web.archive.org @BrendanEich@mastodon.social

“Netscape Communications Corporation and Sun Microsystems Inc. today announced JavaScript, an open, cross-platform object scripting language for the creation and customization of applications on enterprise networks and the Internet. The JavaScript language complements Java, Sun’s industry-leading object-oriented, cross-platform programming language. The initial version of JavaScript is available now as part of the beta version of Netscape Navigator 2.0, which is currently available for downloading from Netscape’s web site.”

For more information on JavaScript’s history, see the paper “JavaScript: the first 20 years” by Allen Wirfs-Brock and Brendan Eich.

TC39 FAQ

github.com github.com/tc39 @michaelficarra@mastodon.social @SoftwareChris@mastodon.sdf.org github.com/bakkot

Ecma International’s Technical Committee 39 (TC39) – which standardizes and evolves JavaScript – has collected frequently asked questions (FAQ): “This document contains typical responses to questions that are commonly raised about JavaScript language development, both within the community and to [TC39] via our various discussion platforms.”

New versions

ESLint v8.55.0 released

eslint.org github.com/mdjermanovic @eslint@fosstodon.org

Highlight: “The no-restricted-imports rule has a new option importNamePattern.”

Bun v1.0.15

bun.sh github.com/Electroid github.com/oven-sh

Highlights:
  • Transpiler cache makes CLIs like tsc up to 2× faster
  • expect.extend() and more matchers
  • Syntax-highlighting for error messages
  • Better Error.stack traces
  • Support for crypto.sign and crypto.verify

Socket CLI v0.9.0 now available

socket.dev @devdevcharlie@hachyderm.io @SocketSecurity@fosstodon.org @

Improvements to the socket info command (which displays useful information about npm packages):
  • View a package's security scores
  • View a package's security issues
  • Use dist tags to refer to package versions

Turborepo 1.11

turbo.build @gsoltis@mastodon.social github.com/chris-olszewski github.com/NicholasLYang github.com/arlyon

[Quoting the blog post:]

Turborepo 1.11 completes our migration to Rust and ships several developer experience improvements:

  • Our new Rust-based foundation: We've finished the port from Go to lay the groundwork for better performance, improved stability, and new features.
  • Group logs for improved readability: You can now specify --log-order=grouped to organize your logs into distinct sections separated by tasks.
  • Updated examples: Start with an example for Next.js, Svelte, Remix, Nuxt, and more.

Rspack v0.4.2

github.com github.com/Boshen github.com/web-infra-dev

Highlights:
  • “[…] New tree shaking implementation specifically addressing compatibility issues with webpack architecture and optimizing for reduced output size.”
  • “Allow Rspack to control export mangling.”

Other news

Stop nesting ternaries in JavaScript

www.sonarsource.com @philnash@mastodon.social

“Prettier, the most popular JavaScript code formatter, recently released a novel way to format nested ternaries under an experimental flag. This has come after years of disagreement over the best and most readable way to format a nested ternary.”

“I have a better idea of how to make nested ternaries clearer: stop nesting them.”

You don’t need JavaScript for that

www.htmhell.dev @Kilian@mastodon.social

“Rule of least power: [...] Choose the least powerful language suitable for a given purpose. On the web this means preferring HTML over CSS, and then CSS over JavaScript.”

“You might be thinking ‘All the things I use JS for, I need JS for’. That might be true, but it’s good to know that both browser makers and specification writers have been porting a lot of functionality over to CSS and HTML that up to a few years ago needed JS. And that’s what this article is about.”

Developer essentials: JavaScript console methods

developer.mozilla.org @bsmth@mozilla.social

“In this article, we’ll take a look at what the console can do and some of the lesser-known methods that you might find useful or just plain fun. Whether you’re a beginner in web development, seeking to learn the purpose of the console, or an experienced developer, you might discover methods that you didn’t know existed.”

Linear matching of JavaScript regular expressions

arxiv.org github.com/Aurele-Barriere github.com/cpitclaudel

“This paper provides a novel perspective on JavaScript’s regex semantics by identifying a larger-than-previously-understood subset of the language that can be matched with linear time guarantees. In the process, we discover several cases where state-of-the-art algorithms were either wrong (semantically incorrect), inefficient (suffering from superlinear complexity) or excessively restrictive (assuming certain features could not be matched linearly).”

This email was sent to you. You can unsubscribe from this list here or update your preferences.

Older messages

Prettier in Rust; Prettier performance improvements; Node v21.3.0; TC39 meeting November; esbuild...

Tuesday, December 5, 2023

Biome formatter wins the Prettier challenge (USD 22500) biomejs.dev @ematipico@fosstodon.org @biomejs@fosstodon.org Prettier challenge – “write a Prettier-compliant pretty printer in Rust”: USD 22500:

“State of JavaScript 2023” survey; QuickJS-ng v0.1.0; esbuild 0.19.7; show package version downloads

Tuesday, November 28, 2023

The “State of JavaScript 2023” survey is open stateofjs.com @sachagreif@hachyderm.io Quoting the frequently asked questions: When will the results be released? The survey will run from November 22 to

Vite 5.0; Prettier 3.1; Node v21.2.0; Bun v1.0.12; explicit resource management; JS strings in V8

Tuesday, November 21, 2023

Vite 5.0: Rollup 4, API cleanups and more vitejs.dev @vite@webtoo.ls “Vite is now using Rollup 4, which already represents a big boost in build performance. And there are also new options to improve

Pacquet package manager; WebGPU; test automation; NodeConf EU 2023 videos

Tuesday, November 14, 2023

pacquet: experimental Node.js package manager written in Rust [rewrite of pnpm] github.com github.com/pnpm Quoting the pnpm team: “Our Rust rewrite of pnpm is close to being ready for experimental

Bun 1.0.9; Deno 1.38; service workers server WinterJS; deprecation of ESLint formatting rules; Test2

Tuesday, November 7, 2023

Bun v1.0.9 bun.sh github.com/Jarred-Sumner github.com/Electroid github.com/colinhacks github.com/oven-sh “Bun is a fast, all-in-one toolkit for running, building, testing, and debugging JavaScript and

You Might Also Like

🖤 Laravel Black Friday Deals!

Wednesday, November 27, 2024

The biggest deals of the year Laravel Black Friday Deals View in browser Laravel News Editor Note: We are sending this outside the regular Sunday newsletter schedule because some of these specials end

BetterDev #271 - Memory: The Forgotten History and Why did Windows 95 setup use three operating systems?

Wednesday, November 27, 2024

Better Dev #271 Nov 26, 2024 Hi all, Welcome to thanksgiving issue of BetterDev. Hope everyone had a safe and warm thanksgiving. It's getting so cold these days. If you are in warzone such as

Mapped | Unemployment Rate By U.S. State in 2024 💼

Tuesday, November 26, 2024

As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!

🔊 7 DIY Tips for Soundproofing a Room — Why I Switched to Xfce for Linux Mint

Tuesday, November 26, 2024

Also: Home Theater Sound Terms Explained, and More! How-To Geek Logo November 26, 2024 Did You Know The shiny layer of a CD doesn't contain the data; the plastic polycarbonate layer does. The shiny

JSK Daily for Nov 26, 2024

Tuesday, November 26, 2024

JSK Daily for Nov 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

NumPy, Loop Targets, Vector Animation, and More

Tuesday, November 26, 2024

NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to

Your Games Quarterly newsletter has arrived

Tuesday, November 26, 2024

What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16

Daily Coding Problem: Problem #1620 [Hard]

Tuesday, November 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Sudoku is a puzzle where you're given a partially-filled 9 by 9 grid with

Final Hours: Help Save "The Art of Data" From Falling Short 🙏

Tuesday, November 26, 2024

Will Visual Capitalist end up revealing the secrets behind data storytelling? There are 12 hours left to change the fate of "The Art of Data". View Online | Subscribe | Download Our App Help

Spyglass Dispatch: Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer

Tuesday, November 26, 2024

Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer The Spyglass Dispatch is a free newsletter sent out