Node.js 22; Bun 1.1.5; JSR is not a package manager

Node.js 22: require() ESM modules, --run package scripts, --watch files, fs.glob() and more

nodejs.org @nodejs@social.lfx.dev

Highlights:
  • V8 is updated to 12.4 and now supports WebAssembly Garbage Collection, Array.fromAsync(), Set methods, iterator helper methods and more.
  • “V8’s Maglev Compiler is now enabled by default on supported architectures. Maglev improves performance for short-lived CLI programs.”
  • require() works for any ESM module – as long as there aren’t any asynchronous modules (with top-level await) in its import graph (its imports, the imports of its imports, etc.).
  • Support for running package.json scripts via node --run <script-name>
  • Watch mode (node --watch): If the watched files change, Node.js is restarted.
  • Pattern matching via fs.glob() and fs.globSync()

Bun 1.1.5: cross-compile executables, new crash reporter, import files as text, and more

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

Highlights:
  • Cross-compile standalone executables with bun build --compile
  • bun.report is Bun's new crash reporter (more information on bun.report)
  • Import files as "text", "json", "toml", "file"

Ship fast. Stay secure.

socket.dev Sponsor

Socket’s AI-powered threat detection blocks JavaScript supply chain attacks before they have the chance to compromise your dependencies. In addition to scanning for known vulnerabilities, Socket detects 70+ supply chain and code quality issues. Install our free GitHub app in under two minutes and start protecting your repositories today.

JSR is not another package manager

deno.com github.com/ry @deno_land@fosstodon.org

Quote (emphasis mine): “Today, most JavaScript is written using ES modules, yet the pathways for distributing these modules remain convoluted, especially when TypeScript is involved. This clear gap in the ecosystem prompted the creation of JSR, not as another package manager but as a transformative registry designed to revolutionize how JavaScript and TypeScript are shared across server-side runtimes, browsers, and various tools.”

JavaScript engine optimization technique: inline caches

blog.frontend-almanac.com

Poll: What is your preferred JavaScript bundler (which is not necessarily the one you use the most)?

We share the results in one of the next editions!

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

Older messages

Pnpm v9.0.0; Biome v1.7; ESLint v9.1.0; Node.js collaboration summit; Intl.Segmenter; tree shaking;

Tuesday, April 23, 2024

We have 9 links for you - Stay up-to-date on JavaScript and tools WorkOS, the modern API for auth and user identity. workos.com Sponsor WorkOS enables B2B SaaS companies to accelerate enterprise

April TC39 meeting; Rspack v0.6; future of JS packages; Evan You on Vue, Vite, etc.

Tuesday, April 16, 2024

We have 7 links for you - Stay up-to-date on JavaScript and tools This Week In React - Keeps senior React devs up to date thisweekinreact.com Partner We keep over 37k mid/senior React devs up-to-date

ESLint v9.0.0; ESLint Config Inspector; Bun 1.1; JavaScript Signals; learn JavaScript; numbers in JS

Tuesday, April 9, 2024

We have 8 links for you - Stay up-to-date on JavaScript and tools ESLint v9.0.0: flat config and more eslint.org @nzakas@fosstodon.org @eslint@fosstodon.org “We just pushed ESLint v9.0.0, which is a

Iterator helpers; Deno 1.42; Interop 2023; runtime compatibility; GPU-accelerated sorting;

Tuesday, April 2, 2024

We have 8 links for you - Stay up-to-date on JavaScript and tools WorkOS, the modern API for auth and user identity. workos.com Sponsor WorkOS enables B2B SaaS companies to accelerate enterprise

Node.js documentary; nodejs.org redesign; require(esm) in Node.js; new built-in Node.js features;

Tuesday, March 26, 2024

We have 14 links for you - Stay up-to-date on JavaScript and tools Lots of Node.js news in this issue! We have added sections to help you skip it in case you are not interested. Axel & Jowe Node.js

You Might Also Like

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

🎁 Say Goodbye to Adobe and Hello to UPDF's Universal PDF Editor— 50% Off This Black Friday!

Tuesday, November 26, 2024

Promoted by UPDF How-To Geek Logo November 26, 2024 This email is sponsored by UPDF. Product choices and opinions expressed are from the sponsor and do not necessarily reflect the views of the How-To

What's coming in Go 1.24

Tuesday, November 26, 2024

Plus Brad Fitzpatrick on complexity and Go. | #​533 — November 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly GoMLX: ML in Go without Python — Eli recently wrote about Go's