Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Bot releases are hidden (Show)
Published by Jarred-Sumner about 3 years ago
"exports"
field in package.json. Webpack's guide does a great job explaining the "exports"
field.bun bun
/etc/passwd
. Absolute file path imports always start with abs:
. The security questions aren't as relevant for localhost development, but still worth thinking about.bun bun
. To use this, set "bun": { "alwaysBundle": ["packageName"] }
in the project's package.json
.JSON.parse(jsonString)
when the JSON is ASCII. JSON.parse
is much faster for JavaScript engines to parse.console.time
, console.timeEnd
Bun.readFileBytes()
to get a Uint8Array of the file's contents without copying.node_modules.server.bun
export default
transform for bundled codedefault
exportrequire()
so that UMD modules which check for the existence of require()
to determine if it's CommonJS use the CommonJS code path instead of the globalThis code path. This is not great.bun bun
in the readmePublished by Jarred-Sumner about 3 years ago
Package.json
Slightly improve JSX decoding perf
Fix whitespace & emoji bug when parsing JSX
Published by Jarred-Sumner about 3 years ago
Fix lexer bug with UTF-16 strings (escaped)
Published by Jarred-Sumner about 3 years ago
require
unbundled to the same path multiple timesPublished by Jarred-Sumner about 3 years ago
Colorize build/resolve errors and add a ^
Print absolute paths in log errors so that ctrl+click to open file in editor works (depending on terminal)
Delete some dead code
Always bold ^
When port is in use, auto-increment port number up to 10 times and then bail if all 10 are in use
Fix symbol name for cjs2esm
Help output should print command names
Add flag to dev server to disable HMR
Fix export * as from
Update options.zig
Do not attempt to HMR export {value} from, just assume it will be HMR'd (or not)
Fix bugs with ESM -> CJS when not bundled
Begin to add integration tests
Little more clarify readme
Add puppeteer to package.json
Published by Jarred-Sumner about 3 years ago
Switch to 0.0.x instead of 0.0.0-x to fix the npm install issue
write the version
Automatically rewrite TS import paths from .jsx? -> .tsx? when .jsx? is not found
This was already partially implemented but it was returning filenames instead of absolute paths. This matches the behavior from https://github.com/microsoft/TypeScript/issues/4595.
Published by Jarred-Sumner about 3 years ago
Switch to 0.0.x versions to hopefully fix npm install bun-cli
Published by Jarred-Sumner about 3 years ago
Fix crash in bun bun
Remove most usages of anytype in js_ast.zig
Fix CommonJS symbol names
Fix require bug in runtime.js
Bump
Published by Jarred-Sumner about 3 years ago
Published by Jarred-Sumner about 3 years ago
Published by Jarred-Sumner about 3 years ago
Support installing bun from npm
Tweak readme
Tweak readme
commit webkit update
fix debug bin path
fix it better
typo
typo 2
fix
Fix build-generated typo
Warn when JIT is disabled
Fix Bun on M1.
Big Heap:
zig fmt
delete dead code
Published by Jarred-Sumner about 3 years ago
Published by Jarred-Sumner about 3 years ago
Published by Jarred-Sumner about 3 years ago
Fix crashes when accessing request metadata
FIx missing page assets with next.js
Handle edgecase during SyntaxError that can lead to an out of bounds index access when printing source code
SPAs now work by default when there's a public/index.html file
Include a build id