# CommonJS

CommonJS is a stable module system and the original way to package JavaScript code for Node.js.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Announcing the OpenTelemetry JavaScript SDK 3.0

DevFeed: [Announcing the OpenTelemetry JavaScript SDK 3.0](<https://devfeed.tech/articles/announcing-the-opentelemetry-javascript-sdk-3-0-119945.md>)

Original publisher: [Read original article](<https://opentelemetry.io/blog/2026/otel-js-sdk-3-0/>)

Author: OpenTelemetry Authors; Docs CC BY

Published: 2026-11-05T15:54:08Z

Content type: release

Language: en

Sources: [OpenTelemetry](<https://devfeed.tech/sources/blog-on-opentelemetry.md>)

Topics: [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [export](<https://devfeed.tech/topics/export.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [api](<https://devfeed.tech/tags/api.md>), [can](<https://devfeed.tech/tags/can.md>), [changes](<https://devfeed.tech/tags/changes.md>), [details](<https://devfeed.tech/tags/details.md>), [except](<https://devfeed.tech/tags/except.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [found](<https://devfeed.tech/tags/found.md>), [full](<https://devfeed.tech/tags/full.md>), [guide](<https://devfeed.tech/tags/guide.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [javascript-packages](<https://devfeed.tech/tags/javascript-packages.md>), [js](<https://devfeed.tech/tags/js.md>), [js-sdk](<https://devfeed.tech/tags/js-sdk.md>), [list](<https://devfeed.tech/tags/list.md>), [major](<https://devfeed.tech/tags/major.md>), [migration](<https://devfeed.tech/tags/migration.md>), [migration-guide](<https://devfeed.tech/tags/migration-guide.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

OpenTelemetry JavaScript SDK 3.0 raises the minimum supported Node.js version to 22.15.0, dropping Node.js 18 and 20, and provides proper ESM and CommonJS exports. Stable SDK packages are version 3.0.0 or later; experimental packages are 0.300.0 or later. The release adds complex attributes in some API areas, stabilizes Logs and folds `@opentelemetry/api-logs` into `@opentelemetry/api`, consolidates tracing packages into `@opentelemetry/sdk-trace`, and removes deprecated packages. Several public types and class names changed, though the API package has no breaking changes; users of `@opentelemetry/auto-instrumentations-node` following the zero-code instructions need no changes. Stable SDK 2.x packages are supported for one year from the 3.0.0 release. Consult the migration guide for the complete package list and migration details.

### Source excerpt

OpenTelemetry JavaScript has released SDK 3.0 (stable v3.0.0 packages and experimental v0.300.0 packages) and API 1.10.0. Migration guide For a detailed description of breaking changes, see the OpenTelemetry JS SDK 3.x migration guide. What is JS SDK 3.x? JS SDK 3.x encompasses new releases of the @opentelemetry/* JavaScript packages published from the opentelemetry-js repository, except the API and semantic-conventions packages. The package versions for this new major will be >=3.0.0 for the stable and >=0.300.0 for the unstable packages. Details on the full list of packages can be found in the migration guide.

## ESM vs CommonJS in Node: When to Switch and How to Migrate

DevFeed: [ESM vs CommonJS in Node: When to Switch and How to Migrate](<https://devfeed.tech/articles/esm-vs-commonjs-in-node-when-to-switch-and-how-to-migrate-88557.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/esm-vs-commonjs-node-migration-guide/>)

Author: SitePoint Team

Published: 2026-10-16T15:38:25Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [esm](<https://devfeed.tech/tags/esm.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [interop](<https://devfeed.tech/tags/interop.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [js](<https://devfeed.tech/tags/js.md>), [migrate](<https://devfeed.tech/tags/migrate.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

This guide explains how Node.js determines whether files use CommonJS or ES modules, compares their syntax and runtime behavior, and outlines when to migrate. It provides a staged migration process, package configuration guidance, interoperability patterns, and troubleshooting advice for Node.js projects.

### Source excerpt

Learn how Node.js picks ESM or CommonJS, when to migrate, how to fix interop errors like ERR_REQUIRE_ESM, and how to convert a project in stages. Continue reading ESM vs CommonJS in Node: When to Switch and How to Migrate on SitePoint.

## How to Build a Gmail Triage Agent With Jev (Full Code)

DevFeed: [How to Build a Gmail Triage Agent With Jev (Full Code)](<https://devfeed.tech/articles/how-to-build-a-gmail-triage-agent-with-jev-full-code-90737.md>)

Original publisher: [Read original article](<https://www.swytchcode.com/content/how-to-build-a-gmail-triage-agent-with-jev-full-code>)

Author: Chaitrali Kakde

Published: 2026-10-10T09:00:00Z

Content type: tutorial

Language: en

Sources: [Swytchcode](<https://devfeed.tech/sources/swytchcode.md>)

Topics: [ReAct agent Python](<https://devfeed.tech/topics/react-agent-python.md>), [human in the loop agent](<https://devfeed.tech/topics/human-in-the-loop-agent.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [gmail](<https://devfeed.tech/tags/gmail.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [jev](<https://devfeed.tech/tags/jev.md>), [triage](<https://devfeed.tech/tags/triage.md>)

### AI overview

The build uses Jev to classify each email's actionability, category, urgency, and suggested next step in one call, while Swytchcode fetches Gmail messages and applies labels through explicitly allowed methods. It sends Jev the sender, subject, date, and a shortened snippet rather than the full message; Jev returns constrained choices and confidence scores. The example starts in sandbox and print-only mode, with label writes enabled only after checking results against a real inbox. The method allowlist prevents this agent from sending or deleting mail unless those capabilities are added. Treat urgency as a sorting hint because Jev lacks calendar context and may be weak on dates and numbers; route low-confidence results for human review. The article provides Node.js code and notes that Swytchcode also has a Python runtime.

### Source excerpt

A step-by-step build of a Gmail triage agent: Jev decides what each email is and how urgent it is, and Swytchcode reads the inbox and applies labels. Full Node.js code, the exact Jev questions we used, and the mistakes worth avoiding.

## Fix "Cannot use import statement outside a module" in JavaScript

DevFeed: [Fix "Cannot use import statement outside a module" in JavaScript](<https://devfeed.tech/articles/fix-cannot-use-import-statement-outside-a-module-in-javascript-84525.md>)

Original publisher: [Read original article](<https://markodenic.com/cannot-use-import-statement-outside-a-module/>)

Author: Marko

Published: 2026-10-10T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [import](<https://devfeed.tech/topics/import.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [export](<https://devfeed.tech/topics/export.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Jest](<https://devfeed.tech/topics/jest.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [bundlers](<https://devfeed.tech/tags/bundlers.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [esm](<https://devfeed.tech/tags/esm.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [jest](<https://devfeed.tech/tags/jest.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

This tutorial explains why JavaScript reports "Cannot use import statement outside a module" and how to resolve it across browsers, Node.js, TypeScript, and Jest. It covers configuring ES modules, using file extensions or `require()`, and handling module system settings in TypeScript and test runners.

### Source excerpt

Why you get "SyntaxError: Cannot use import statement outside a module" and how to fix it in the browser, Node.js, TypeScript and Jest, with the exact change for each case.

## The Node.js and Express.js Handbook for Beginners - Servers, Routes, Routers, and Views Explained

DevFeed: [The Node.js and Express.js Handbook for Beginners - Servers, Routes, Routers, and Views Explained](<https://devfeed.tech/articles/the-node-js-and-express-js-handbook-for-beginners-servers-routes-routers-and-views-explained-63488.md>)

Original publisher: [Read original article](<https://www.freecodecamp.org/news/nodejs-and-expressjs-handbook-for-beginners/>)

Author: Oluwatobi Sofela

Published: 2026-10-01T09:47:51Z

Content type: tutorial

Language: en

Sources: [Free Code Camp](<https://devfeed.tech/sources/freecodecamp-programming-tutorials-python-javascript-git-more.md>)

Topics: [Express](<https://devfeed.tech/topics/express.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [npm](<https://devfeed.tech/topics/npm.md>)

Tags: [beginners](<https://devfeed.tech/tags/beginners.md>), [express](<https://devfeed.tech/tags/express.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [routers](<https://devfeed.tech/tags/routers.md>), [servers](<https://devfeed.tech/tags/servers.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

This beginner tutorial explains how to run JavaScript with Node.js and build HTTP servers with Express.js. It covers project setup, module systems, request handling, middleware, controllers, modular routers, route parameters, and serving static and dynamic views. Examples compare Node's native HTTP API with Express's routing and response helpers.

### Source excerpt

Node.js is a runtime environment for executing JavaScript outside the web browser. From small scripts to large-scale back-end applications, Node.js provides the APIs and tools you need to build JavaSc

## Node-ipc compromised: Credential stealer targets package with 500k+ weekly downloads

DevFeed: [Node-ipc compromised: Credential stealer targets package with 500k+ weekly downloads](<https://devfeed.tech/articles/node-ipc-compromised-credential-stealer-targets-package-with-500k-weekly-downloads-13188.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/node-ipc-compromised-credential-stealer-targets-package-with-500k-weekly-downloads>)

Published: 2026-05-14T00:00:00Z

Content type: news

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Security](<https://devfeed.tech/topics/security.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [ssh](<https://devfeed.tech/topics/ssh.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [chainguard-libraries](<https://devfeed.tech/tags/chainguard-libraries.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [claude](<https://devfeed.tech/tags/claude.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [dns](<https://devfeed.tech/tags/dns.md>), [github](<https://devfeed.tech/tags/github.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [malware](<https://devfeed.tech/tags/malware.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [node](<https://devfeed.tech/tags/node.md>), [node-ipc](<https://devfeed.tech/tags/node-ipc.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [node-malware](<https://devfeed.tech/tags/node-malware.md>), [node-worm](<https://devfeed.tech/tags/node-worm.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-malware](<https://devfeed.tech/tags/npm-malware.md>), [payload](<https://devfeed.tech/tags/payload.md>), [security](<https://devfeed.tech/tags/security.md>), [sha-256](<https://devfeed.tech/tags/sha-256.md>), [shai-hulud](<https://devfeed.tech/tags/shai-hulud.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [terraform](<https://devfeed.tech/tags/terraform.md>)

### AI overview

Three malicious versions of the node-ipc npm package harvested and exfiltrated credentials from cloud providers, SSH, Kubernetes, CI/CD, version-control tools, and AI APIs. The article reports that Chainguard customers were not affected.

### Source excerpt

Malicious node-ipc packages stole cloud, SSH, Kubernetes, and AI keys. Chainguard customers stayed protected through source-built libraries.

## Bun v1.3.1

DevFeed: [Bun v1.3.1](<https://devfeed.tech/articles/bun-v1-3-1-49448.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.3.1>)

Author: Jarred Sumner

Published: 2025-10-22T10:11:00Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>), [test](<https://devfeed.tech/topics/test.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Jest](<https://devfeed.tech/topics/jest.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bun](<https://devfeed.tech/tags/bun.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [faster](<https://devfeed.tech/tags/faster.md>), [install](<https://devfeed.tech/tags/install.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>), [v1](<https://devfeed.tech/tags/v1.md>)

### AI overview

Bun v1.3.1 fixes 103 issues and adds performance, bundler, testing, package-management, authentication, hoisting, and compatibility improvements.

### Source excerpt

Fixes 103 issues (addressing 172 👍). 2x faster bun build on macOS for symlink-heavy projects, source maps preserve legal comments, and --format=cjs now inlines import.meta; bun test adds global vi, --pass-with-no-tests, and --only-failures; .npmrc :email auth support, faster installs when no peer deps, selective hoisting for isolated installs (publicHoistPattern/hoistPattern), and fs/promises FileHandle.readLines(); numerous bundler/transpiler fixes (external sourcemaps in Bun.build({ compile:true }), --bytecode with import.meta, Windows react-jsxdev); reliability fixes across install/pm/pack, bunx, Node.js compatibility improvements, and numerous bug fixes.

## Node.js 20.19.0 (LTS)

DevFeed: [Node.js 20.19.0 (LTS)](<https://devfeed.tech/articles/node-js-20-19-0-lts-2721.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v20.19.0>)

Published: 2025-03-13T13:18:23Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [commonjs](<https://devfeed.tech/tags/commonjs.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [github](<https://devfeed.tech/tags/github.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lts](<https://devfeed.tech/tags/lts.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

### AI overview

Node.js 20.19.0 is a special LTS minor release that backports native ES module loading through require() to the Node.js 20 line without requiring the experimental flag. The release also enables module syntax detection by default and includes updates to root certificates and worker messaging.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Bun v1.1.41

DevFeed: [Bun v1.1.41](<https://devfeed.tech/articles/bun-v1-1-41-49413.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.1.41>)

Author: Jarred Sumner

Published: 2024-12-20T13:57:57Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [npm](<https://devfeed.tech/topics/npm.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [icons](<https://devfeed.tech/tags/icons.md>), [npm](<https://devfeed.tech/tags/npm.md>), [release](<https://devfeed.tech/tags/release.md>), [v1](<https://devfeed.tech/tags/v1.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Bun v1.1.41 fixes 12 bugs and improves compatibility for JSDOM, happy-dom, and node:vm. The release adds Windows executable icons and console-hiding options, new bun install dependency omission flags, improved Bun.build error handling, and CommonJS behavior updates.

### Source excerpt

Fixes 12 bugs (addressing 196 👍). JSDOM & happy-dom work more reliably due to node:vm compatibility improvements. Single-file executables on Windows now support custom icons and hiding the console. throw: true in Bun.build throws an error instead of returning errors. bun install gets the --omit=dev|optional|peer options and in .npmrc. A hoisting edgecase in bun install is fixed

## Importing a frontend Javascript library without a build system

DevFeed: [Importing a frontend Javascript library without a build system](<https://devfeed.tech/articles/importing-a-frontend-javascript-library-without-a-build-system-21113.md>)

Original publisher: [Read original article](<https://jvns.ca/blog/2024/11/18/how-to-import-a-javascript-library/>)

Author: Julia Evans

Published: 2024-11-18T09:35:42Z

Content type: tutorial

Language: en

Sources: [Julia Evans](<https://devfeed.tech/sources/julia-evans.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Library](<https://devfeed.tech/topics/library.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [npm](<https://devfeed.tech/topics/npm.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Code](<https://devfeed.tech/topics/code.md>), [Script](<https://devfeed.tech/topics/script.md>), [cdnjs](<https://devfeed.tech/topics/cdnjs.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [amd](<https://devfeed.tech/tags/amd.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [code](<https://devfeed.tech/tags/code.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [library](<https://devfeed.tech/tags/library.md>), [npm](<https://devfeed.tech/tags/npm.md>)

### AI overview

A practical guide to importing JavaScript libraries in frontend code without a build system. It explains the differences among classic global-variable files, ES modules, and CommonJS modules, and describes how to identify and use the formats a library provides through its NPM build and CDN distribution.

### Source excerpt

I like writing Javascript without a build system and for the millionth time yesterday I ran into a problem where I needed to figure out how to import a Javascript library in my code without using a build system, and it took FOREVER to figure out how to import it because the library's setup instructions assume that you're using a build system. Luckily at this point I've mostly learned how to navigate this situation and either successfully use the library or decide it's too difficult and switch to a different library, so here's the guide I wish I had to importing Javascript libraries years ago. I'm only going to talk about using Javacript libraries on the frontend, and only about how to use them in a no-build-system setup. In this post I'm going to talk about: the three main types of Javascript files a library might provide (ES Modules, the "classic" global variable kind, and CommonJS) how to figure out which types of files a Javascript library includes in its build ways to import each type of file in your code the three kinds of Javascript files There are 3 basic types of Javascript files a library can provide: the "classic" type of file that defines a global variable. This is the kind of file that you can just <script src> and it'll Just Work. Great if you can get it but not always available an ES module (which may or may not depend on other files, we'll get to that) a "CommonJS" module. This is for Node, you can't use it in a browser at all without using a build system. I'm not sure if there's a better name for the "classic" type but I'm just going to call it "classic". Also there's a type called "AMD" but I'm not sure how relevant it is in 2024. Now that we know the 3 types of files, let's talk about how to figure out which of these the library actually provides! where to find the files: the NPM build Every Javascript library has a build which it uploads to NPM. You might be thinking (like I did originally) - Julia! The whole POINT is that we're not using Node to

## Bun v1.1.30

DevFeed: [Bun v1.1.30](<https://devfeed.tech/articles/bun-v1-1-30-49402.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.1.30>)

Author: Jarred Sumner

Published: 2024-10-08T10:33:19Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [CSS](<https://devfeed.tech/topics/css.md>), [npm](<https://devfeed.tech/topics/npm.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [test](<https://devfeed.tech/topics/test.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [css](<https://devfeed.tech/tags/css.md>), [js](<https://devfeed.tech/tags/js.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [npm](<https://devfeed.tech/tags/npm.md>), [test](<https://devfeed.tech/tags/test.md>), [v1](<https://devfeed.tech/tags/v1.md>)

### AI overview

Bun v1.1.30 fixes 57 bugs and adds an experimental CSS parser and bundler. The release also introduces or improves npm publishing, bytecode compilation, CommonJS output, Node.js native addon support, cryptographic operations, process handling, and other compatibility features.

### Source excerpt

Fixes 57 bugs (addressing 150 👍) Bun's CSS bundler is here (and very experimental). `bun publish` is a drop-in replacement for `npm publish`. `bun build --bytecode` compiles to bytecode leading to 2x faster start time. Bun.color() formats and normalizes colors. `bun pm whoami` prints your npm username. bun install reads $HOME/.npmrc. bun build --format=cjs outputs CommonJS modules. bun build --target=node now supports Node.js native addons. 30x faster crypto.privateEncrypt() & crypto.publicDecrypt(). Zombie process killer in bun test. --banner and --footer options in bun build. Bun.serve().stop() returns a promise. CryptoHasher now supports HMAC. Bugfixes for node:zlib, node:module, and node:buffer. Lots more bugfixes and Node.js compatibility improvements.

## Bun v1.1.26

DevFeed: [Bun v1.1.26](<https://devfeed.tech/articles/bun-v1-1-26-49397.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.1.26>)

Author: Jarred Sumner

Published: 2024-08-24T07:24:26Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [test](<https://devfeed.tech/topics/test.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [bug](<https://devfeed.tech/topics/bug.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [async](<https://devfeed.tech/topics/async.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [blog](<https://devfeed.tech/tags/blog.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [http](<https://devfeed.tech/tags/http.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [modules](<https://devfeed.tech/tags/modules.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [npm](<https://devfeed.tech/tags/npm.md>), [test](<https://devfeed.tech/tags/test.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

### AI overview

Bun v1.1.26 fixes nine bugs and adds improvements including bun outdated, configurable HTTP server idle timeouts, WebSocket subscriber counts, updated test.only behavior, async assertion fixes, CommonJS compatibility, and additional Node.js compatibility fixes.

### Source excerpt

Fixes 9 bugs (addressing 652 👍). `bun outdated` shows outdated dependencies. Bun.serve() gets a new `idleTimeout` option and `subscriberCount(topic: string)` for a count of websocket clients subscribed to a topic. `test.only` in bun:test now skips tests before and after instead of only after. expect.assertions(n) in async functionn is fixed. "use strict" in CommonJS modules is now preserved. Plus, more node.js compatibility improvements and bug fixes.

## Bun v1.1.22

DevFeed: [Bun v1.1.22](<https://devfeed.tech/articles/bun-v1-1-22-49394.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.1.22>)

Author: Ashcon Partovi

Published: 2024-08-07T22:01:19Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [Express](<https://devfeed.tech/topics/express.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [express](<https://devfeed.tech/tags/express.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [performance](<https://devfeed.tech/tags/performance.md>), [v1](<https://devfeed.tech/tags/v1.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Bun v1.1.22 is a release focused on bug fixes, performance, memory usage, and Node.js compatibility. It reports faster Express request throughput, faster ES module loading on Windows, improved POST handling in Bun.serve(), and memory reductions for hot reloading and module imports.

### Source excerpt

Fixes 79 bugs (addressing 93 👍). Express is now 3x faster in Bun, ES modules load faster on Windows, 10% faster Bun.serve() at POST requests, source maps in `bun build --compile`. Memory usage reductions to `--hot`, Bun.serve(), and imports. `Uint8Array.toBase64()`, `Uint8Array.toHex()`, and lots of Node.js compatibiltiy improvements and bugfixes.

## Node.js 22.1.0 (Current)

DevFeed: [Node.js 22.1.0 (Current)](<https://devfeed.tech/articles/node-js-22-1-0-current-2757.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v22.1.0>)

Published: 2024-05-02T14:35:52Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [V8](<https://devfeed.tech/topics/v8.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [performance](<https://devfeed.tech/tags/performance.md>), [speed](<https://devfeed.tech/tags/speed.md>)

### AI overview

Node.js 22.1.0 introduces optional automatic on-disk V8 code caching for CommonJS and ECMAScript Modules. The cache can speed up subsequent module-graph loads, although the first load may be slower and coverage precision may be reduced when cached code is deserialized.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Bun v1.0.34

DevFeed: [Bun v1.0.34](<https://devfeed.tech/articles/bun-v1-0-34-49374.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.0.34>)

Author: Ashcon Partovi

Published: 2024-03-22T12:49:41Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [bug](<https://devfeed.tech/topics/bug.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>), [Windows Subsystem for Linux](<https://devfeed.tech/topics/wsl.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [bun](<https://devfeed.tech/tags/bun.md>), [docker](<https://devfeed.tech/tags/docker.md>), [esm](<https://devfeed.tech/tags/esm.md>), [faster](<https://devfeed.tech/tags/faster.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [install](<https://devfeed.tech/tags/install.md>), [less](<https://devfeed.tech/tags/less.md>), [linux](<https://devfeed.tech/tags/linux.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [releases](<https://devfeed.tech/tags/releases.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [v1](<https://devfeed.tech/tags/v1.md>), [wsl](<https://devfeed.tech/tags/wsl.md>)

### AI overview

Bun v1.0.34 fixes seven bugs, reduces bunx memory usage, speeds up bun install on Docker and WSL, resolves a cyclical CommonJS and ESM import crash, improves cross-mount file copying on Linux, and adds reliability improvements to bun install and the runtime.

### Source excerpt

Fixes 7 bugs, bunx uses less memory, bun install gets faster on Docker & WSL, a conflicting devDependency hoisting bug is fixed, a cyclical CommonJS & ESM import crash is fixed, cross-mount fs.cp & fs.copyFile get 50% faster on Linux, and reliability improvements for bun install & bun's runtime

## Leveraging Bun on Vultr: A superior Node.js alternative

DevFeed: [Leveraging Bun on Vultr: A superior Node.js alternative](<https://devfeed.tech/articles/leveraging-bun-on-vultr-a-superior-node-js-alternative-4092.md>)

Original publisher: [Read original article](<https://developer.mozilla.org/en-US/blog/leveraging-bun-on-vultr-a-superior-node-js-alternative/>)

Author: vultr

Published: 2024-01-17T00:00:00Z

Content type: article

Language: en

Sources: [MDN Blog](<https://devfeed.tech/sources/mdn-blog.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [bun](<https://devfeed.tech/tags/bun.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [memory](<https://devfeed.tech/tags/memory.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [speed](<https://devfeed.tech/tags/speed.md>)

### AI overview

This guide presents Bun as a fast, all-in-one JavaScript runtime and drop-in replacement for Node.js. It covers Bun's package manager, bundler, test runner, built-in APIs, ECMAScript module and CommonJS compatibility, and Node.js compatibility. It also explains differences between Bun's JavaScriptCore engine and the V8 engine used by Node.js and Deno, then demonstrates running a Bun application on a Vultr Cloud Compute server.

### Source excerpt

This guide explains Bun functionalities as a runtime package manager and a bundler. It also explains the benefits of built-in Bun APIs and how to use Bun's Vultr marketplace application.

## Node.js 20.10.0 (LTS)

DevFeed: [Node.js 20.10.0 (LTS)](<https://devfeed.tech/articles/node-js-20-10-0-lts-2704.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v20.10.0>)

Published: 2023-11-22T15:28:11Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [V8](<https://devfeed.tech/topics/v8.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [cross-platform](<https://devfeed.tech/topics/cross-platform.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [developers](<https://devfeed.tech/tags/developers.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lts](<https://devfeed.tech/tags/lts.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [wasm](<https://devfeed.tech/tags/wasm.md>)

### AI overview

Node.js 20.10.0 is an LTS release that adds flags for selecting or detecting ES modules, improves write durability, introduces a standardized global, and restores V8 compilation-cache performance for affected workloads.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Node.js 21 is now available!

DevFeed: [Node.js 21 is now available!](<https://devfeed.tech/articles/node-js-21-is-now-available-2432.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/announcements/v21-release-announce>)

Published: 2023-10-17T15:45:00Z

Content type: article

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [releases](<https://devfeed.tech/topics/releases.md>), [V8](<https://devfeed.tech/topics/v8.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>)

Tags: [commonjs](<https://devfeed.tech/tags/commonjs.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lts](<https://devfeed.tech/tags/lts.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [releases](<https://devfeed.tech/tags/releases.md>), [v8](<https://devfeed.tech/tags/v8.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

### AI overview

The article announces Node.js 21, which updates the V8 JavaScript engine to version 11.8, makes selected features stable, adds an experimental flag for changing module defaults, introduces a built-in WebSocket client, and expands the test runner with glob expression support. Node.js 21 becomes the Current release line while Node.js 20 moves toward long-term support.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Bun v1.0.3

DevFeed: [Bun v1.0.3](<https://devfeed.tech/articles/bun-v1-0-3-49369.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.0.3>)

Author: Colin McDonnell

Published: 2023-09-22T12:00:00Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Nest](<https://devfeed.tech/topics/nestjs.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [npm](<https://devfeed.tech/topics/npm.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [console](<https://devfeed.tech/topics/console.md>), [Azure](<https://devfeed.tech/topics/azure.md>), [jfrog artifactory](<https://devfeed.tech/topics/jfrog-artifactory.md>), [Support](<https://devfeed.tech/topics/support.md>)

Tags: [artifactory](<https://devfeed.tech/tags/artifactory.md>), [azure](<https://devfeed.tech/tags/azure.md>), [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [console](<https://devfeed.tech/tags/console.md>), [jfrog](<https://devfeed.tech/tags/jfrog.md>), [jfrog-artifactory](<https://devfeed.tech/tags/jfrog-artifactory.md>), [js](<https://devfeed.tech/tags/js.md>), [nest](<https://devfeed.tech/tags/nest.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [npm](<https://devfeed.tech/tags/npm.md>), [private-registry](<https://devfeed.tech/tags/private-registry.md>), [registry](<https://devfeed.tech/tags/registry.md>), [releases](<https://devfeed.tech/tags/releases.md>), [v1](<https://devfeed.tech/tags/v1.md>)

### AI overview

Bun v1.0.3 fixes numerous bugs, adds TypeScript metadata reflection, improves Nest.js and Node.js compatibility, and supports private registries such as Azure Artifacts and JFrog Artifactory.

### Source excerpt

emitDecoratorMetadata, Nest.js support, better private registry support, bunx bugfix, console.log() depth 8 -> 2, silence .env loaded message, and many bugfixes

## CommonJS is not going away

DevFeed: [CommonJS is not going away](<https://devfeed.tech/articles/commonjs-is-not-going-away-49465.md>)

Original publisher: [Read original article](<https://bun.com/blog/commonjs-is-not-going-away>)

Author: Jarred Sumner

Published: 2023-06-30T23:18:20Z

Content type: article

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [modules](<https://devfeed.tech/topics/modules.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [esm](<https://devfeed.tech/tags/esm.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [modules](<https://devfeed.tech/tags/modules.md>), [network](<https://devfeed.tech/tags/network.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

This article explains why Bun continues to support CommonJS despite the growth of ES Modules. It compares the synchronous, filesystem-oriented CommonJS model with the asynchronous, network-oriented ES module model and argues that better tooling can improve CommonJS and ESM interoperability.

### Source excerpt

CommonJS is here to stay, and that's okay. Better tooling will solve today's developer experience issues.

## Bun v0.6.12

DevFeed: [Bun v0.6.12](<https://devfeed.tech/articles/bun-v0-6-12-49329.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v0.6.12>)

Author: Jarred Sumner

Published: 2023-06-30T20:15:43Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Babel](<https://devfeed.tech/topics/babel.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [esm](<https://devfeed.tech/tags/esm.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Bun v0.6.12 improves runtime error readability and Node.js compatibility, adds a JavaScript bundler, fixes bundler and minifier bugs, adds CommonJS interoperability improvements, and reduces memory usage. It also introduces Bun.file(path).exists and other updates.

### Source excerpt

Sourcemapped stack traces at runtime, Node.js compatibility improvements, Bun.file(path).exists, minifier and bundler bugfixes

## Bun v0.6.10

DevFeed: [Bun v0.6.10](<https://devfeed.tech/articles/bun-v0-6-10-49328.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v0.6.10>)

Author: Ashcon Partovi

Published: 2023-06-26T20:15:43Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [esbuild](<https://devfeed.tech/tags/esbuild.md>), [esm](<https://devfeed.tech/tags/esm.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [install](<https://devfeed.tech/tags/install.md>), [memory](<https://devfeed.tech/tags/memory.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [support](<https://devfeed.tech/tags/support.md>), [test](<https://devfeed.tech/tags/test.md>), [watch](<https://devfeed.tech/tags/watch.md>)

### AI overview

Bun v0.6.10 reduces memory usage, improves CommonJS and Node.js compatibility, adds a JavaScript bundler, and includes updates to testing, installation, file watching, WebSocket client encoding, and npm package loading.

### Source excerpt

Reduced memory usage, fs.watch(), better CommonJS support, improvements to `bun test`, `bun install`, and many bugfixes.

## Bun v0.6.9

DevFeed: [Bun v0.6.9](<https://devfeed.tech/articles/bun-v0-6-9-49339.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v0.6.9>)

Author: Jarred Sumner

Published: 2023-06-13T15:05:43Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [modules](<https://devfeed.tech/topics/modules.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Discord.JS](<https://devfeed.tech/topics/discord-js.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Prisma](<https://devfeed.tech/topics/prisma.md>), [Puppeteer](<https://devfeed.tech/topics/puppeteer.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [crash](<https://devfeed.tech/tags/crash.md>), [curl](<https://devfeed.tech/tags/curl.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [module](<https://devfeed.tech/tags/module.md>), [modules](<https://devfeed.tech/tags/modules.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Bun v0.6.9 introduces a JavaScript bundler, performance improvements, native CommonJS support, compatibility improvements for Discord.js, Prisma, and Puppeteer, GitHub Actions support, memory-use reductions, and fixes for module-loading, mocking, and CommonJS crashes.

### Source excerpt

Memory usage reductions in Bun.serve(), bun install, module imports, and crypto hashing. Crash in CommonJS modules fixed, plus additional bugfixes.

## Bun v0.6.8

DevFeed: [Bun v0.6.8](<https://devfeed.tech/articles/bun-v0-6-8-49338.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v0.6.8>)

Author: Colin McDonnell

Published: 2023-06-09T12:00:00Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [hashing](<https://devfeed.tech/topics/hashing.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>), [passwords](<https://devfeed.tech/topics/passwords.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Jest](<https://devfeed.tech/topics/jest.md>), [Discord.JS](<https://devfeed.tech/topics/discord-js.md>), [Prisma](<https://devfeed.tech/topics/prisma.md>), [Puppeteer](<https://devfeed.tech/topics/puppeteer.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bun](<https://devfeed.tech/tags/bun.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [curl](<https://devfeed.tech/tags/curl.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [hashing](<https://devfeed.tech/tags/hashing.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [jest](<https://devfeed.tech/tags/jest.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [password](<https://devfeed.tech/tags/password.md>), [prisma](<https://devfeed.tech/tags/prisma.md>)

### AI overview

Bun v0.6.8 introduces a JavaScript bundler, performance improvements, native CommonJS support, secure password hashing, function mocking in the test runner, Jest-related compatibility, streaming file uploads, and broader Node.js compatibility. The release also includes debugging, stability, and bug-fix improvements.

### Source excerpt

Password hashing, function mocking, debugging, and bug squashing

[Next page](<https://devfeed.tech/topics/commonjs.md?cursor=WyIyMDIzLTA2LTA5VDEyOjAwOjAwKzAwOjAwIiwgImJlMWI2NjI0LTY5ZWEtNDA4YS05OGY5LTJkN2ZlZmI3MWFhNiJd>)