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

GCP Newsletter #399

Monday, May 20, 2024

Welcome to issue #399 May 20th, 2024 News Gemini Official Blog Vertex AI Vertex AI at I/O: Bringing new Gemini and Gemma models to Google Cloud customers - Vertex AI updates from Google I/O '24.

SeekOut lays off staff

Monday, May 20, 2024

Plus: ChatGPT revenue heats up and Meta's Oversight Board pulls at a Threads case View this email online in your browser By Christine Hall Monday, May 20, 2024 Good afternoon, and welcome back to a

👋 Try These Samsung Galaxy Gestures and Motions — Tips to Free Up OneDrive Storage

Monday, May 20, 2024

Also: Using the Apple Watch as a Walkie-Talkie, and More! How-To Geek Logo May 20, 2024 Did You Know Despite what you may have been taught in school, there are only 4 Great Lakes, hydrologically

TechCrunch Space: Star(side)liner

Monday, May 20, 2024

The first crewed launch of Boeing's Starliner capsule has been pushed back yet again to no earlier than May 25. View this email online in your browser By Aria Alamalhodaei Monday, May 20, 2024

AI Consultants should have a 15-Minute Sales Call Funnel

Monday, May 20, 2024

Your feedback is clear. I'll build 'the AI Consultant program' ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1447 [Medium]

Monday, May 20, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Mastermind is a two-player game in which the first player attempts to guess

JTBD deep-dive - and a special announcement

Monday, May 20, 2024

Before we get to this week's Deep-Dive, we're pumped to announce that today is the official launch day for Today, we relaunch Gigantic, now powered by Product Collective. Gigantic helps product

⚙️ Exclusive Interview: Deeplearning.ai cofounder on the importance of regulation for job creation

Monday, May 20, 2024

Plus: The FTC has a few questions about AI & Colorado gets serious about AI regulation ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

2 weeks until the R&D 100 Final Deadline!

Monday, May 20, 2024

2 weeks until the R&D 100 Final Deadline! WTWH Media The 62nd R&D 100 Awards competition is nearing the end of its run, with the Final submission deadline being two weeks away. This esteemed

Cybersecurity consolidation is here: CyberArk snags Venafi for $1.54B

Monday, May 20, 2024

CyberArk is acquiring Venafi from Thoma Bravo for a good $1.54 billion. View this email online in your browser By Rebecca Bellan Monday, May 20, 2024 Welcome to TechCrunch AM! This morning, we've