pfg
177239cff5
Split install.zig into multiple files ( #20626 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-06-26 12:43:46 -07:00
Jarred Sumner
4cc61a1b8c
Fix NODE_PATH for bun build ( #20576 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-22 20:51:45 -07:00
Michael H
282dda62c8
Add --import as alias to --preload for nodejs compat ( #20523 )
2025-06-20 19:58:54 -07:00
Jarred Sumner
633f4f593d
Ahead-of-time frontend bundling support for HTML imports & bun build ( #20511 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-20 19:55:52 -07:00
190n
346e97dde2
fix bugs found by exception scope verification ( #20285 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
2025-06-18 23:08:19 -07:00
Dylan Conway
3773ceeb7e
Remove PreparePatchPackageInstall ( #20457 )
2025-06-17 17:23:29 -07:00
Jarred Sumner
162a9b66d8
bun pm view -> bun info (#20419 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-17 13:31:16 -07:00
Jarred Sumner
978540902c
bun init CLAUDE.md (#20443 )
2025-06-17 13:00:28 -07:00
Meghan Denny
6b4662ff55
zig: .jsUndefined -> .js_undefined ( #20377 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-06-13 16:14:57 -07:00
Jarred Sumner
f3bca62a77
Fix proxy handling in bun audit ( #20295 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-13 19:43:55 +02:00
Meghan Denny
dedd433cbf
zig: prefer .jsUndefined() over .undefined for JSValue ( #20332 )
2025-06-12 13:18:46 -07:00
Jarred Sumner
498186764a
Remove a memcpy ( #20261 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-08 05:07:09 -07:00
Jarred Sumner
407c4e800a
Revert "add support for "workspaces.nohoist" and "workspaces.hoistingLimits" ( #20124 )"
...
This reverts commit 11070b8e16 .
2025-06-03 23:51:03 -07:00
Dylan Conway
11070b8e16
add support for "workspaces.nohoist" and "workspaces.hoistingLimits" ( #20124 )
2025-06-03 23:44:09 -07:00
nobkd
6edc3a9900
remove audit from bun pm help ( #20167 )
2025-06-03 14:37:03 -07:00
Jarred Sumner
390798c172
Fix memory leak in Bun.spawn ( #20095 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-05-31 20:06:22 -07:00
Meghan Denny
284de53f26
safety: audit and add missing exception checks to JSC::constructArray+constructEmptyArray ( #20119 )
2025-05-31 20:05:02 -07:00
Dylan Conway
4ab4b1b131
Clean up help text for package manager commands ( #20117 )
2025-05-31 19:21:37 -07:00
Meghan Denny
ba78d5b2c3
ci: pass the src directory to 'zig fmt' ( #20114 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-05-31 18:52:18 -07:00
Julie Saia
4d77cd53f1
Add support for catalogs in bun outdated ( #20090 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-05-30 17:23:59 -07:00
Dylan Conway
5910504aeb
bun pm audit -> bun audit (#19944 )
2025-05-27 19:52:18 -07:00
Jarred Sumner
7b4b299be0
Move this up even more
2025-05-27 18:22:30 -07:00
Jarred Sumner
a275ed654b
Move this code up
2025-05-27 16:57:43 -07:00
Jarred Sumner
44d04968cd
Add a cursor rule ( #19926 )
...
Co-authored-by: Andrew Jefferson <8148776+eastlondoner@users.noreply.github.com >
2025-05-27 15:45:01 -07:00
Jarred Sumner
a8e4489e10
Add docs for bun pm audit ( #19885 )
...
Co-authored-by: Alistair Smith <hi@alistair.sh >
Co-authored-by: alii <25351731+alii@users.noreply.github.com >
2025-05-26 21:56:32 -07:00
Alistair Smith
31980bc151
perf_hooks.Histogram ( #19920 )
2025-05-26 21:18:22 -07:00
Sculas
15a58cca1c
fix(windows): respect NO_COLOR in filter_run ( #19888 )
2025-05-24 13:33:16 -07:00
Jarred Sumner
3ea6133c46
CI: Remove unused top-level decls in formatter in zig ( #19879 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-23 22:49:48 -07:00
Alistair Smith
9e329ee605
bun pm audit (#19855 )
2025-05-23 22:31:12 -07:00
Jarred Sumner
50b938561a
Normalize versions in bun pm view <pkg> versions like npm view does ( #19870 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-05-23 18:10:56 -07:00
Jarred Sumner
3195df8796
Remove leading period
2025-05-22 23:55:57 -07:00
Jarred Sumner
9d1eace981
Add bun pm view command ( #19841 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-05-22 23:51:31 -07:00
Dylan Conway
8e80afbce1
Replace string runtime flags with enum ( #19827 )
2025-05-22 22:36:46 -07:00
Dylan Conway
98ee30eccf
Implement catalogs in bun install ( #19809 )
...
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2025-05-20 23:03:21 -07:00
Jarred Sumner
ea6f6dff7f
bun init: Add --react flag (#19687 )
2025-05-16 23:40:56 -07:00
Alistair Smith
6e063fa57b
Use "module": "Preserve" ( #19655 )
...
Co-authored-by: Matt Pocock <mattpocockvoice@gmail.com >
2025-05-14 18:43:15 -07:00
Dylan Conway
acf36d958a
fix(npmrc): handle BOM conversion ( #18878 )
2025-05-06 22:16:56 -07:00
chloe caruso
3349c995b5
no usingnamespace, organize jsc namespace, enable -fincremental ( #19122 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-04-22 16:34:15 -07:00
chloe caruso
7d7512076b
remove more usingnamespace ( #19042 )
2025-04-17 19:04:05 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
Don Isaac
f730a355bf
fix: BufferWriter never returns an error ( #18981 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-13 08:57:41 -07:00
Jarred Sumner
879fdd7ef6
Bump Zig again ( #18948 )
2025-04-11 19:13:20 -07:00
chloe caruso
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -07:00
Jarred Sumner
93855bd88c
Fix setImmediate slowness ( #18889 )
2025-04-09 20:03:26 -07:00
Don Isaac
1d6bdf745b
fix(cli/test): improve filtering DX ( #18847 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-04-09 16:41:32 -07:00
Don Isaac
dff1f555b4
test: get zig build test working ( #18207 )
...
### What does this PR do?
Lets us write and run unit tests directly in Zig.
Running Zig unit tests in CI is blocked by https://github.com/ziglang/zig/issues/23281 . We can un-comment relevant code once this is fixed.
#### Workflow
> I'll finish writing this up later, but some initial points are below.
> Tl;Dr: `bun build:test`
Test binaries can be made for any kind of build. They are called `<bun>-test` and live next to their corresponding `bun` bin. For example, debug tests compile to `build/debug/bun-debug-test`.
Test binaries re-use most cmake/zig build steps from normal bun binaries, so building one after a normal bun build is pretty fast.
### How did you verify your code works?
I tested that my tests run tests.
2025-04-08 15:31:53 -07:00
190n
eee5d4fb4a
node:worker_threads low-hanging fruit ( #18758 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-04-08 05:29:53 -07:00
Alistair Smith
5d1ca1f371
Move svg imports to a bun-env.d.ts file that gets created with bun init ( #18838 )
2025-04-07 23:43:13 +01:00
Jarred Sumner
a1e1f720ed
Bump WebKit ( #18784 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-04-04 21:14:36 -07:00