bun - bun-v0.0.41


To upgrade:

bun upgrade

What's new:

bun run:

bun run ./file.js now supports running JavaScript, TS, TSX, and JSX files using Bun.js. If you pass bun run a filepath to a .js, .jsx, .tsx, or .ts file, it will run it with Bun.js instead of saying "error: Missing script". This is very experimental!

Bun.js

Bun.js is Bun's JavaScript runtime environment.

  • Top-level await works now
  • performance.now() is implemented

Bug fixes

  • [.env loader] functions from bash were exported incorrectly due to parsing process environment variables similarly to .env files which is unnecessary. Now process environment variables are passed through without extra parsing
  • fetch() wasn't working due to a silly mistake. That's fixed

Details

date
Oct. 30, 2021, 11:32 a.m.
name
Bun v0.0.41
type
Patch
👇
Register or login to:
  • 🔍View and search all bun releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or