Ciro Spaciari
4cea70a484
fix(node:http) fix fastify websockets ( #18712 )
2025-04-01 19:28:44 -07:00
Ciro Spaciari
7021c42cf2
fix(node:http) fix post regression ( #18599 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-03-29 01:50:26 -07:00
Don Isaac
75144ab881
fix: reflect-metadata import order ( #18086 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-26 16:19:45 -07:00
Meghan Denny
66fb9f1097
test: install detect-libc ( #18185 )
2025-03-14 09:49:19 -07:00
Don Isaac
a41d773aaa
feat: support Svelte in bundler and dev server ( #17735 )
2025-03-04 14:16:18 -08:00
Don Isaac
70dbf582a6
fix(bunfig): fix and test preloads ( #16329 )
2025-03-03 15:45:18 -08:00
Ciro Spaciari
5c6e20aeb4
fix(sql) fix state being set to prepared too soon ( #17732 )
2025-02-26 16:02:51 -08:00
Jarred Sumner
c2a9cf5bbd
Fixes #17568 ( #17572 )
2025-02-22 16:48:20 -08:00
190n
7c6d9cac50
Bump WebKit, re-enable IPInt ( #17467 )
2025-02-19 20:47:40 -08:00
chloe caruso
f17ce2b756
hmr fixes ( #17239 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-12 23:14:02 -08:00
190n
4d2a8650e5
test: bump pglite version ( #17117 )
2025-02-06 14:33:44 -08:00
190n
af27f9e697
Allow WTF timers to participate in the event loop ( #15557 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: 190n <190n@users.noreply.github.com >
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
2025-01-28 17:47:53 -08:00
190n
71eb1476db
Fix crash when napi_register_module_v1 returns nullptr ( #16816 )
2025-01-27 20:13:22 -08:00
pfg
1fd7ed6751
Fix typescript emitDecoratorMetadata for getters ( #16389 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-20 22:14:04 -08:00
pfg
b04ce670e3
Fix #16312 ( #16322 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-10 20:04:16 -08:00
Jarred Sumner
5e003dccd2
Fixes #16277 ( #16280 )
2025-01-09 03:15:31 -08:00
190n
8268af3a7d
Disable IPInt ( #16188 )
2025-01-06 13:59:50 -08:00
Jarred Sumner
f834304c27
Support generating V8 Heap Snapshots ( #16109 )
2025-01-02 20:15:13 -08:00
Jarred Sumner
10990f5213
Fixes #3554 ( #15870 )
2024-12-18 22:54:11 -08:00
190n
59e06b0df5
fix(napi): set lossless parameter in napi_get_value_bigint_{int64,uint64}, and trim leading zeroes in napi_create_bigint_words ( #15804 )
2024-12-17 17:38:12 -08:00
190n
4eae3a90e8
fix(napi): Make napi_wrap work on regular objects ( #15622 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-16 15:54:39 -08:00
Ashcon Partovi
fa6ac405a4
ci: Add bootstrap.ps1 and automate Windows build images ( #15606 )
2024-12-05 15:16:37 -07:00
dave caruso
baff3c900e
bake: fix the big regressions ( #15544 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-12-03 22:15:59 -08:00
Ciro Spaciari
c04a2d1dfc
fix regression on http2-wrapper caused by node.js compatibility improvements on net ( #15318 )
2024-11-22 15:22:35 -08:00
Jarred Sumner
3ef35d746a
Implement junit test reporter ( #15205 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-18 20:50:42 -08:00
Zack Radisic
5502278f3e
CSS: More stuff and tests ( #14832 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-27 13:49:25 -07:00
Ciro Spaciari
409e674526
feat(node:http2) Implement HTTP2 server support ( #14286 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-15 16:28:21 -07:00
Dylan Conway
3452f50c96
update webkit ( #14449 )
2024-10-10 02:35:23 -07:00
Dylan Conway
f374ae6db1
add bun publish ( #14215 )
2024-10-02 20:47:22 -07:00
Ciro Spaciari
d80d9f450c
fix(node:http) improve agent support ( #13780 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-19 23:04:36 -07:00
Meghan Denny
de5809b45a
windows: fix sometimes crash when FDImpl.uv() is called on stdio ( #13719 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dave Caruso <me@paperdave.net >
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-09-06 21:00:55 -07:00
Ashcon Partovi
a1312066b3
Fix secrets in CI tests ( #13306 )
2024-08-14 11:13:09 -07:00
Jarred Sumner
6ad3e6a5e3
Fixes #2532 ( #12633 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-17 20:53:12 -07:00
Jarred Sumner
cc42052039
node-fetch polyfill shouldn't break when web globals are overriden (#12634 )
2024-07-17 18:57:03 -07:00
dave caruso
749c51d71a
simpler version of simplifyUnusedExpr rewrite ( #12384 )
2024-07-05 20:20:45 -07:00
Ashcon Partovi
d105b048b1
Use Buildkite for CI ( #11477 )
2024-06-27 14:56:07 -07:00
dave caruso
ec082db67c
fix: fix sourcemap generation (rewrites bun.StringJoiner) ( #11288 )
2024-05-23 23:30:11 -07:00
Meghan Denny
86bcc49bef
node:http: allow setting response.statusCode and statusMessage [v2] ( #11082 )
2024-05-15 00:27:55 -07:00
Jarred Sumner
7ec9ad5cb7
Add test for #7864 ( #8997 )
...
* Add test for #7864
* Add napi-rs/canvas
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-19 10:27:12 -08:00
Ashcon Partovi
a05ef0aeb1
Remove unintentional commit
...
This reverts commit 23b292ac21 .
2024-02-05 12:50:09 -08:00
Ashcon Partovi
23b292ac21
T
2024-02-05 12:22:39 -08:00
Ashcon Partovi
3a1229d03d
Add mysql2 integration test ( #8075 )
2024-02-01 15:04:49 -08:00
Jarred Sumner
b82656d9fc
Introduce Bun.stringWidth ( #8327 )
...
* Introduce `Bun.stringWidth`
* [autofix.ci] apply automated fixes
* Update utils.md
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-21 04:47:36 -08:00
Ashcon Partovi
2d21567271
Update debugger things ( #8180 )
...
* T
* Update Debug Adapter Protocol
* Update JSC and V8 debugger protocols
* Update inspector-frontend
* Fix empty keys not being printed in `console.log`
* Add `bun --inspect` tests and fix edge cases
* bun install --exact
2024-01-15 17:00:29 -08:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
Dylan Conway
5787350243
add sharp
2023-12-12 13:38:43 -08:00
Zack Radisic
6ba4e950cc
Add Bun.Glob ( #6861 )
...
* initial glob impl
* Add `Bun.globMatch`
* Glob boilerplate setup
* Experiment with Rust glob implementation
* Rust impl is slow revert
* Setup glob walking
* Basic glob walker working
* Fix segfault
* Recursive directory traversal
* Fix glob match non-ascii
* Make faster lil bit
* use arena
* ASCII fast path
* Experiment with packed codepoint cursor
Results in ~4% perf boost if the glob pattern needs to create/manipulate cursors (for example when the pattern uses braces)
* Try converting to u32 array
Made it pretty slow
* Lazily create codepoint buffer
* Different walk algorithm
* Fast path optimizations
* Add `dot` option to `Glob`
* .
* Fix some bugs
* Fix bug, clean up lil bit
* Windows fix
* Non absolute paths
* use specific version of fast-glob for benchmarks and tests
* .
* Fix some stuff
* Fix more stuff
* Add `hasPendingActivity()` to glob
* accident
* Symlinks
* fast-glob e2e tests
* remove
* woops
* Fix relative paths
* Fix absolute
* add test for `onlyFiles`
* Fix invalid surrogate pairs problem
* Rename: `match/matchSync` -> `scan/scanSync` and `matchString` -> `match`
* forgot to close cwd fd
* Update types
* Add stress test
* Port `micromatch` / `glob-match` / `globlin` tests
* fix stale reference arena thing
* stupid bug
* Add builtins to classes code generator and add `Glob.scanIter()`
* all iterables
* generate fixtures, remove from git
* fix test
* Fix
* woops on test
* Fix stuff
licenses
license
`has_pending_activity` to usize
cwd threadSafe fix atomic compile errors
`GlobWalker` own `cwd`
Fix windows path and absolute test
stuff
* Fixes
* Fix stuff
* Use Syscall.close
* Use private symbols for underlying scan functions to preevent misuse
* Update types
* Fix build for zig
* Fix tests
* Fix more tests
* Prevent these tests from GC'ing too much
* Make this benchmark work in Node and Bun
* Fix memory leak
* Add leak test
* Fix windows
* comment about arena allocator use for glob walker
* Make leak test run in separate process
* Iterator api for glob
* GlobWalker.Iterator
* fix leak test
* Remove old impl
* filter functions wip start
* stuff
* wip lockfile use glob
* glob working with lockfile
* revert lockfile changes
* Update bun.lockb
* Manually set to cwd to prevent test failing on linux CI
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-22 14:26:09 -08:00
Ciro Spaciari
c23579d66c
feat(http2) Client Support ( #6761 )
...
* init
* WIP fix post data/refactor
* make it compile again
* more things
* undo padding and continue + fix posting + update lshpack
* re-add fixes
* really simple tests + fixes
* add aborted event
* fix trailers
* add getDefaultSettings, getPackedSettings and getUnpackedSettings
* fix + fmt
* fixes
* fix enablePush o be boolean
* fix sendTrailers
* fmt
* fix goaway, fix some error messages
* oops
* revert some changes
* more reverts
* WIP
* get CMAKE building lspack + ping behavior
* remove files that should not be added anymore
* remove old out files
* remove old file
* fix header reduce
* bunch of fixes
* fix socket unref
* fix abort signal, rebase and fmt
* socket unref tests
* oops re-add cmake
* fix stream state
* more tests and fixes
* fixes and ping tests
* lshpack in Dockerfile
* just copy lshpack
* oops
* fix end
* wantTrailers
* encode/decode fixes + grpc
* channel credentials test
* rebase
* support h2c
* fix h2c
* fix h2c connect event + h2c tests
* 'copy ls-hpack
* ls-hpack build sh
* oops
* changing CMake + Docker
* add ps1 build for ls-hpack fix clean
* optimizations + fixes
* remove protect/unprotect from handlers
* more consistent errors
* fix error code
* oops
* add goaway tests
* oops uncoment tests
* better errors more tests
* add broken priority frame
* better memory leak, some fixes and less flask tests
* zig update .Big -> .big
* closer threshold + h2 fix
* remove log
* test should not be flask
* increase timeout on leak memory test
* windows build
* less flasky
* always 127.0.0.1
* [autofix.ci] apply automated fixes
* remove .call and use primordials
* apply socket fix
* fix win-build
* should properly mark inactive
* postgres fix
* increase deadline
* test tests
* high light deadline timeouts
* event loop test
* make memory leak test faster
* use buffer on payload test
* check for socket.data before use
* reduce iterations to see if timeout on mac intel
* fix assertions
* avoid localhost and simplify things
* refactor memory leak test
* Update src/js/node/tls.js
* fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cirospaciari <ciro.spaciai@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-17 18:14:54 -08:00
Jarred Sumner
6c200c089c
Tweak napi PR ( #7177 )
...
* Fix assertion failure
* Fix the test
* Fix assertion failure
* Update bun.lockb
* Add node-gyp
* Update CMakeLists.txt
* Update napi.test.ts
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-17 17:00:44 -08:00
Dylan Conway
8be492c080
fix require transpile ( #7170 )
...
* bounds checks
* do this all the time
cc @paperdave
* use length of string
* ttest
* min
* can't prefix if length isn't at least equal
* substring
* Update pretty_format.zig
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-11-17 04:10:50 -08:00