Jarred Sumner
c081a97a39
libarchive
2025-03-28 02:53:44 -07:00
Jarred Sumner
accccbfdaf
2x faster headers.get, headers.delete, headers.has ( #18571 )
2025-03-28 01:15:00 -07:00
pfg
8e0c8a143e
Fix for test-stdin-from-file closing fd '0' ( #18559 )
2025-03-27 21:38:50 -07:00
Jarred Sumner
9ea577efc0
Update CONTRIBUTING.md
2025-03-27 21:25:14 -07:00
Jarred Sumner
54416dad05
Add bd package.json script
2025-03-27 21:24:38 -07:00
chloe caruso
8f4575c0e4
fix: detection module type from extension ( #18562 )
2025-03-27 20:47:31 -07:00
Dylan Conway
c7edb24520
fix(install): resolution order and unused resolutions ( #18560 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-27 20:46:58 -07:00
Ciro Spaciari
325acfc230
fix(node:http) fix regression where we throw ECONNRESET and/or ERR_STREAM_WRITE_AFTER_END after socket.end() ( #18539 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-27 18:27:19 -07:00
Pham Minh Triet
7f60375cca
docs: update require()'s compatibility status ( #18556 )
2025-03-27 18:26:13 -07:00
Ciro Spaciari
dac7f22997
fix(CSRF) remove undefined's and add more checks for bad tokens ( #18535 )
2025-03-27 17:47:00 -07:00
Alistair Smith
f5836c2013
Docs/tag relevant docs ( #18544 )
2025-03-27 16:49:15 -07:00
chloe caruso
70ddfb55e6
implement require.extensions ( #18478 )
2025-03-27 14:58:24 -07:00
HAHALOSAH
934e41ae59
docs: clarify sentence in sql ( #18532 ) [no ci]
2025-03-27 09:55:10 -07:00
Alistair Smith
f4ae8c7254
Fix AbortSignal static methods when DOM is missing ( #18530 )
2025-03-27 15:10:18 +00:00
Alistair Smith
2a9569cec4
@types/bun: Some small fixes for the test and Bun.env ( #18528 )
2025-03-27 13:32:23 +00:00
Jarred Sumner
31060a5e2a
Update package.json
2025-03-27 03:48:38 -07:00
Zack Radisic
5c0fa6dc21
Better error message for NAPI modules which access unsupported libuv functions ( #18503 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-26 23:57:10 -07:00
Grigory
53f311fdd9
fix(nodevm): allow options props to be undefined ( #18465 )
2025-03-26 22:35:02 -07:00
pfg
b40f5c9669
more cookie mistakes ( #18517 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-26 22:33:44 -07:00
Vladlen Grachev
317e9d23ab
Fix CSS Modules when code splitting enabled ( #18435 )
...
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
2025-03-26 21:45:22 -07:00
Don Isaac
11bb3573ea
build: shave 30s off debug builds ( #18516 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-26 21:42:13 -07:00
Ciro Spaciari
39cf0906d1
fix(fetch) handle aborted connection inside start ( #18512 )
2025-03-26 20:52:49 -07:00
pfg
1d655a0232
cookie mistakes ( #18513 )
2025-03-26 20:51:20 -07:00
Ciro Spaciari
a548c2ec54
fix(node:http) properly signal server drain after draining the socket buffer ( #18479 )
2025-03-26 16:41:17 -07:00
Jarred Sumner
7740271359
Update cookie.md
2025-03-26 16:22:57 -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
Jarred Sumner
1dbeed20a9
Port https://github.com/WebKit/WebKit/pull/43041 ( #18507 )
2025-03-26 16:16:48 -07:00
Don Isaac
3af6f7a5fe
fix(docs): failing typo ( #18510 ) [no ci]
2025-03-26 16:06:40 -07:00
Jarred Sumner
1bfccf707b
Update cookie.md
2025-03-26 15:51:40 -07:00
Jarred Sumner
21853d08de
more cookie docs
2025-03-26 15:32:39 -07:00
Jarred Sumner
b6502189e8
Update nav.ts
2025-03-26 15:13:02 -07:00
pfg
f4ab2e4986
Remove two usingnamespace & ptrCast on function pointer ( #18486 )
2025-03-26 14:41:14 -07:00
Jarred Sumner
57cda4a445
Clean-up after #18485 ( #18489 )
2025-03-26 04:46:35 -07:00
Jarred Sumner
49ca2c86e7
More robust Bun.Cookie & Bun.CookieMap ( #18359 )
...
Co-authored-by: pfg <pfg@pfg.pw >
2025-03-26 02:51:41 -07:00
Ciro Spaciari
a08a9c5bfb
compat(http) more compatibility in cookies ( #18446 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-26 01:30:29 -07:00
Kai Tamkun
ee8a839500
Fix node:http UAF ( #18485 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-03-25 23:31:04 -07:00
Dylan Conway
8ee962d79f
Fix #14881 ( #18483 )
2025-03-25 20:51:36 -07:00
Ciro Spaciari
4c3d652f00
chore(fetch) split fetch from response.zig ( #18475 )
2025-03-25 20:44:27 -07:00
Dylan Conway
c21fca08e2
fix node:crypto hash name regression ( #18481 )
2025-03-25 20:43:41 -07:00
Meghan Denny
77fde278e8
LATEST remove trailing newline that got added
2025-03-25 19:13:42 -07:00
Meghan Denny
517af630e7
Bump
2025-03-25 18:53:52 -07:00
Meghan Denny
d8e5335268
Bump
2025-03-25 18:52:49 -07:00
190n
db492575c8
Skip flaky macOS x64 node-napi tests in CI (v2) ( #18468 )
2025-03-25 18:20:08 -07:00
Don Isaac
9e580f8413
chore(bun-plugin-svelte): bump version to v0.0.6 ( #18464 )
2025-03-25 15:53:07 -07:00
190n
6ba2ba41c6
Skip "text lockfile is hoisted" test on Windows CI ( #18473 )
2025-03-25 15:38:14 -07:00
Alistair Smith
57381d43ed
types: Rewrite to avoid conflicts and allow for doc generation ( #18024 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-25 14:33:30 -07:00
Pham Minh Triet
90c67c4b79
docs: update node:crypto compatibility ( #18459 )
2025-03-25 12:38:21 -07:00
Twilight
cf9f2bf98e
types(ffi): fix cc example jsdoc ( #18457 )
2025-03-25 12:37:59 -07:00
190n
8ebd5d53da
Skip flaky macOS x64 node-napi tests in CI ( #18448 )
2025-03-24 23:49:14 -07:00
Kai Tamkun
60acfb17f0
node:http compatibility (options.lookup) (#18395 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-24 23:49:02 -07:00
Jarred Sumner
8735a3f4d6
-200 KB binary size ( #18415 )
2025-03-24 23:28:21 -07:00
Don Isaac
a07844ea13
feat(bun-plugin-svelte): custom elements ( #18336 )
2025-03-24 23:24:56 -07:00
Ciro Spaciari
1656bca9ab
improve(fetch) ( #18187 )
2025-03-24 23:24:16 -07:00
Dylan Conway
43af1a2283
maybe fix crash in test-crypto-prime.js ( #18450 )
2025-03-24 22:46:28 -07:00
Jarred Sumner
84a21234d4
Split bun crypto APIs into more files ( #18431 )
2025-03-24 17:22:05 -07:00
Grigory
fefdaefb97
docs(contributing): update llvm version to 19 ( #18421 )
...
Co-authored-by: 190n <benjamin.j.grant@gmail.com >
2025-03-24 17:11:14 -07:00
Jarred Sumner
50eaea19cb
Move TextDecoder, TextEncoderStreamEncoder, TextEncoder, EncodingLabel into separate files ( #18430 )
2025-03-24 17:10:48 -07:00
Jarred Sumner
438d8555c6
Split ServerWebSocket & NodeHTTPResponse into more files ( #18432 )
2025-03-24 17:09:30 -07:00
chloe caruso
163a51c0f6
fix BUN-604 ( #18447 )
2025-03-24 17:05:01 -07:00
pfg
8df7064f73
Don't crash when server.fetch() is called on a server without a fetch() handler ( #18151 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-03-24 16:55:34 -07:00
xuxu's code
99ee90a58f
types: refine idleTimeout in the example of SQL options ( #18234 )
2025-03-24 09:53:45 -07:00
Jarred Sumner
46c43d954c
Add cursor rule documenting zig javascriptcore bindings
2025-03-24 03:10:15 -07:00
Jarred Sumner
b37054697b
Fix BUN-DAR ( #18400 )
2025-03-22 14:37:19 -07:00
Jarred Sumner
5d50281f1a
Bump WebKit ( #18399 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-03-22 02:03:50 -07:00
Don Isaac
6bef525704
fix: make JSPropertyIterator accept a JSObject instead of a JSValue ( #18308 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@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 >
2025-03-22 01:19:27 -07:00
Dylan Conway
687a0ab5a4
node:crypto: fix test-crypto-scrypt.js (#18396 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-22 01:18:27 -07:00
Jarred Sumner
60ae19bded
Revert "Introduce Bun.Cookie & Bun.CookieMap & request.cookies (in BunRequest) ( #18073 )"
...
This reverts commit 9888570456 .
We will add it in Bun v1.2.7
2025-03-21 22:17:28 -07:00
Kai Tamkun
be41c884b4
Fix dns.resolve ( #18393 )
2025-03-21 21:46:06 -07:00
Dylan Conway
73d1b2ff67
Add benchmark for Cipheriv and Decipheriv ( #18394 )
2025-03-21 19:49:44 -07:00
Vincent (Wen Yu) Ge
2312b2c0f2
Fix typo in PR template ( #18392 )
2025-03-21 19:46:37 -07:00
chloe caruso
eae2c889ed
refactor and rename JSCommonJSModule ( #18390 )
2025-03-21 18:46:39 -07:00
chloe caruso
ddd87fef12
module.children and Module.runMain ( #18343 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: 190n <ben@bun.sh >
2025-03-21 16:57:10 -07:00
Ashcon Partovi
f36d480919
fix: test-http-header-obstext.js ( #18371 )
2025-03-21 15:28:12 -07:00
Meghan Denny
7b566e2cfc
Revert "yay"
...
This reverts commit 6ae4158762 .
2025-03-21 13:52:15 -07:00
chloe caruso
6ae4158762
yay
2025-03-21 13:40:51 -07:00
190n
8dc95b041a
Fix bun --inspect-brk hanging ( #18362 )
2025-03-21 13:35:39 -07:00
Meghan Denny
211fd4fa06
deps: bump WebKit ( #18349 )
2025-03-21 04:40:45 -07:00
Dylan Conway
10665821c4
node:crypto: move Cipheriv and Decipheriv to native code (#18342 )
2025-03-21 02:52:52 -07:00
Dylan Conway
a3585ff961
node:crypto: implement hkdf and hkdfSync (#18312 )
2025-03-21 01:03:01 -07:00
Meghan Denny
2aeff10a85
[publish images]
2025-03-20 21:46:15 -07:00
Meghan Denny
f2c8e63ae1
update to llvm 19 and c++ 23 ( #18317 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-03-20 21:44:19 -07:00
pfg
40bfda0f87
Remove debug assertion failure for missing error code in switch case ( #18345 )
2025-03-20 21:29:12 -07:00
Jarred Sumner
9888570456
Introduce Bun.Cookie & Bun.CookieMap & request.cookies (in BunRequest) ( #18073 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: pfg <pfg@pfg.pw >
2025-03-20 21:29:00 -07:00
Vincent (Wen Yu) Ge
a1690cd708
Trivial formatting fix in S3 docs ( #18346 )
2025-03-20 20:15:04 -07:00
Meghan Denny
e602e2b887
Revert "disallow test() within test()" ( #18338 )
2025-03-20 20:12:20 -07:00
Don Isaac
eae2d61f12
fix(node): add all already-passing tests ( #18299 )
2025-03-20 20:04:08 -07:00
Jarred Sumner
8e246e1e67
Add precompiled header ( #18321 )
2025-03-20 19:27:46 -07:00
Kai Tamkun
f30ca39242
More node:http compatibility ( #18339 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-03-20 19:16:35 -07:00
Zack Radisic
9f68db4818
Implement vm.compileFunction and fix some node:vm tests ( #18285 )
2025-03-20 19:08:07 -07:00
Meghan Denny
f1cd5abfaa
ci: compress libbun-profile.a before uploading ( #18322 )
2025-03-20 14:13:45 -07:00
Don Isaac
a8a7da3466
fix(spawn): memory leak in "pipe"d stdout/stderr ( #18316 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-20 12:15:32 -07:00
Jarred Sumner
da9c980d26
Fix shell crash in load test ( #18320 )
2025-03-20 11:36:43 -07:00
nmarks
27cf0d5eaf
Remove references to developers former name ( #18319 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-03-20 00:53:46 -07:00
chloe caruso
b5cbf16cb8
module pr 2 ( #18266 )
2025-03-20 00:45:44 -07:00
Meghan Denny
2024fa09d7
js: fix many typescript errors ( #18272 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-03-19 22:39:24 -07:00
Jarred Sumner
46b2a58c25
Small improvements to internal types
2025-03-19 19:26:13 -07:00
Don Isaac
d871b2ebdc
fix(node): fix several whatwg tests ( #18296 )
2025-03-19 18:27:30 -07:00
Jarred Sumner
dc51dab7bc
Sort some arrays
2025-03-19 15:45:38 -07:00
Jarred Sumner
e39305dd91
Remove deprecated shim wrapper for zig <> c++ fns ( #18269 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-19 15:40:08 -07:00
Ashcon Partovi
6e1f1c4da7
Initial support for node:test ( #18140 )
2025-03-19 11:49:00 -07:00
Alistair Smith
21a42a0dee
types: update Uint8Array methods ( #18305 )
2025-03-19 10:59:33 -07:00
Don Isaac
982083b3e9
fix(node/http): misc fixes ( #18294 )
2025-03-18 21:22:39 -07:00
Jarred Sumner
40e222c43b
Reduce binary size by 400 KB ( #18280 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-03-18 21:02:01 -07:00
Kai Tamkun
c8634668e7
Fix connection event being emitted multiple times per socket in node:http ( #18295 )
2025-03-18 21:01:07 -07:00
Don Isaac
fa9bb75ad3
fix(uws): make Socket bindings safer ( #18286 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-03-18 19:38:15 -07:00
Don Isaac
c47e402025
fix: crash in Bun.inspect.table ( #18256 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-18 18:56:56 -07:00
Meghan Denny
a3f48c1d47
ci: include version diffs in dependency update pr descriptions ( #18283 )
2025-03-18 17:03:48 -07:00
Ben Grant
de048cb474
[publish images]
2025-03-18 11:52:58 -07:00
190n
0c5ee31707
Correctly handle unknown type in FileSystem.DirEntry.addEntry ( #18172 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
2025-03-18 11:50:15 -07:00
Dylan Conway
c820b0c5e1
node:crypto: implement generatePrime(Sync) and checkPrime(Sync) (#18268 )
2025-03-18 11:48:24 -07:00
Don Isaac
d09e381cbc
fix(css): :global in css modules ( #18257 )
2025-03-17 17:15:54 -07:00
190n
53d631f1bd
chore: address review feedback from #17820 ( #18261 )
2025-03-17 16:38:34 -07:00
pfg
74768449bc
disallow test() within test() ( #18203 )
2025-03-15 21:34:35 -07:00
github-actions[bot]
294adc2269
deps: update lolhtml to v2.2.0 ( #18222 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2025-03-15 21:33:41 -07:00
Ciro Spaciari
ff97424667
fix(SQL) implement unix socket support ( #18196 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-15 11:51:20 -07:00
Meghan Denny
cbf8d7cad6
empty commit to verify CI post- image publish
2025-03-15 01:16:29 -07:00
Meghan Denny
0c41951b58
[publish images]
2025-03-14 23:55:35 -07:00
Meghan Denny
50b36696f8
ci: upgrade to alpine 3.21 ( #18054 )
2025-03-14 23:52:39 -07:00
190n
de4182f305
chore: upgrade zig to 0.14.0 ( #17820 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-14 22:13:31 -07:00
Dylan Conway
4214cc0aaa
followup #18044 and #17850 ( #18205 )
2025-03-14 21:26:12 -07:00
chloe caruso
d1c77f5061
fix dev server regressions from 1.2.5's hmr rewrite ( #18109 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
Co-authored-by: zackradisic <56137411+zackradisic@users.noreply.github.com >
2025-03-14 21:24:14 -07:00
190n
45e01cdaf2
Mark other PGlite test as TODO on Linux x64 ( #18201 )
2025-03-14 19:02:45 -07:00
pfg
2fc19daeec
Update spawn docs to add timeout and resourceUsage ( #18204 )
2025-03-14 19:02:22 -07:00
chloe caruso
60c0b9ab96
fix debug windows build ( #18178 )
2025-03-14 15:25:35 -07:00
Ciro Spaciari
7f948f9c3e
fix(sql) fix query parameters options ( #18194 )
2025-03-14 13:39:55 -07:00
Meghan Denny
66fb9f1097
test: install detect-libc ( #18185 )
2025-03-14 09:49:19 -07:00
Don Isaac
062a5b9bf8
fix(shell): remove unecessary allocations when printing errors ( #17898 )
2025-03-14 08:45:34 -07:00
Ciro Spaciari
5bedf15462
fix(crypto) Fix ED25519 from private ( #18188 )
2025-03-13 23:18:48 -07:00
Meghan Denny
d7aee40387
node: fix test-buffer-creation-regression.js ( #18184 )
2025-03-13 21:44:43 -07:00
Don Isaac
26f08fabd7
fix(ShadowRealm): give global objects a unique execution context id ( #18179 )
2025-03-13 21:00:35 -07:00
Jarred Sumner
05b48ce57c
Implement node:crypto DiffieHellman (in native code) ( #17850 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-13 20:26:25 -07:00
Don Isaac
1ed87f4e83
fix: deadlock in Cow debug checks ( #18173 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-13 16:42:06 -07:00
Niklas Mollenhauer
b089558674
fix: removal of trailing slash in s3 presign ( #18158 )
2025-03-13 13:19:04 -07:00
Ciro Spaciari
45df1dbba0
fix(usockets) only add socket and context to the free list after socket on_close callback returns ( #18144 )
2025-03-13 12:45:53 -07:00
Ciro Spaciari
beb32770f0
fix(tests) move to the right folder ( #18130 )
2025-03-13 12:40:49 -07:00
Meghan Denny
3eec297282
js: no longer provide our own 'detect-libc' ( #18138 )
2025-03-13 12:40:37 -07:00
Don Isaac
b0b6c979ee
fix(bun-plugin-svelte): handle "svelte" export conditions ( #18150 )
2025-03-13 12:40:22 -07:00
Indigo
7d69ac03ec
sqlite: Enable passing options to Database.deserialize to enable strict mode ( #17726 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-13 12:36:51 -07:00
Ashcon Partovi
d7e08abce8
Fix setTimeout(() => {}) from emitting a warning ( #18160 )
2025-03-13 11:37:48 -07:00
Nicholas Lister
d907942966
docs: fix typos in plugins.md ( #18163 )
2025-03-13 11:05:21 -07:00
aab
fe0e737f7b
types: fix error for Uint8Array.fromBase64 ( #18153 )
2025-03-13 09:03:45 -07:00
Alistair Smith
8da959df85
fix: Move ShellError inside bun module decl ( #18149 )
2025-03-12 21:57:04 -07:00
pfg
d7a047a533
Fix #18131 (global catch-all route does not work with callback handler) ( #18148 )
2025-03-12 21:39:31 -07:00
Meghan Denny
c260223127
node: fix test-tls-translate-peer-certificate.js ( #18136 )
2025-03-12 21:00:22 -07:00
Meghan Denny
e834a80b7b
node: fix test-tls-timeout-server-2.js ( #18143 )
2025-03-12 19:31:22 -07:00
pfg
7011dd6524
Update webkit build instructions ( #18142 )
2025-03-12 18:15:35 -07:00
190n
cde668b54c
Better edge case handling in napi_value<->String conversion ( #18107 )
2025-03-12 18:15:00 -07:00
Zack Radisic
01db86e915
Fix #18064 ( #18134 )
2025-03-12 16:08:16 -07:00
chloe caruso
85376147a4
node:module compatibility pt 1 ( #18106 )
2025-03-12 15:47:41 -07:00
Meghan Denny
d2ecce272c
node: fix test-net-server-close-before-calling-lookup-callback.js ( #18103 )
2025-03-12 14:21:24 -07:00
Meghan Denny
7ee0b428d6
node: fix test-tls-connect-simple.js ( #18094 )
2025-03-12 14:20:39 -07:00
Meghan Denny
9482e4c86a
node: fix test-tls-close-event-after-write.js ( #18098 )
2025-03-12 14:20:14 -07:00
Meghan Denny
42276a9500
node: fix test-tls-connect-hwm-option.js ( #18096 )
2025-03-12 14:20:02 -07:00
Kai Tamkun
ae8f78c84d
UDP: reset cached address and remoteAddress properties ( #18043 )
2025-03-12 14:19:44 -07:00
Meghan Denny
9636852224
node: fix test-tls-client-abort2.js ( #18099 )
2025-03-12 14:19:22 -07:00
Meghan Denny
5f72715a42
node: fix test-tls-invoke-queued.js ( #18091 )
2025-03-12 14:19:08 -07:00
Ciro Spaciari
c60b5dd4d6
compat(http) more compat in http ( #18074 )
2025-03-12 14:18:51 -07:00
Meghan Denny
42c474a21f
node: fix test-net-socket-end-callback.js ( #18102 )
2025-03-12 14:17:29 -07:00
Meghan Denny
04078fbf61
node: fix test-tls-0-dns-altname.js ( #18100 )
2025-03-12 14:17:18 -07:00
Zack Radisic
28ebbb3f20
Fix node:vm test ( #18081 )
2025-03-12 14:16:03 -07:00
ippsav
96fa32bcc1
Fix transpiler encoding issue ( #18057 )
2025-03-12 13:58:53 -07:00
Pham Minh Triet
b3246b6971
fix(docs): remove extra character ( #18123 )
2025-03-12 13:26:27 -07:00
Meghan Denny
0345414ded
node: fix test-net-reuseport.js ( #18104 )
2025-03-12 12:25:39 -07:00
Alistair Smith
01d214b276
Fix some higher priority @types/bun issues (devserver, serve) ( #18121 )
2025-03-12 18:38:31 +00:00
pfg
fdd181d68d
Even more child process tests passing ( #18052 )
2025-03-11 22:52:12 -07:00
pfg
5c7df736bf
Bring back btjs ( #18108 )
2025-03-11 22:51:05 -07:00
Meghan Denny
29870cb572
node: fix test-tls-interleave.js ( #18092 )
2025-03-11 20:33:42 -07:00
Meghan Denny
32223e90e3
node: fix test-tls-transport-destroy-after-own-gc.js ( #18087 )
2025-03-11 20:33:25 -07:00
Meghan Denny
31198cdbd9
node: fix test-tls-connect-pipe.js ( #18095 )
2025-03-11 20:33:13 -07:00
Meghan Denny
971f2b1ed7
node: fix test-tls-destroy-whilst-write.js ( #18093 )
2025-03-11 20:32:52 -07:00
chloe caruso
832cf91e88
remove a memory leak in bun.String.concat/createFromConcat ( #18084 )
2025-03-11 20:30:51 -07:00
Kai Tamkun
2e010073aa
Fix express responses dying early ( #18080 )
2025-03-11 19:53:50 -07:00
Ciro Spaciari
4c93b72906
compat(http2) more http2 compatibility improvements ( #18060 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
2025-03-11 19:46:05 -07:00
Meghan Denny
7091fd5791
node: fix test-tls-write-error.js ( #18082 )
2025-03-11 18:46:15 -07:00
Meghan Denny
e5edd388a0
node: fix test-tls-use-after-free-regression.js ( #18085 )
2025-03-11 18:45:12 -07:00
Meghan Denny
b887270e25
node: fix test-tls-no-rsa-key.js ( #18090 )
2025-03-11 18:40:30 -07:00
Meghan Denny
fc0d0ad8d3
node: fix test-tls-set-encoding.js ( #18088 )
2025-03-11 18:39:15 -07:00
Dylan Conway
ddfc8555f7
crypto: fix test-crypto-random.js ( #18044 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-03-11 18:21:20 -07:00
Meghan Denny
6d0739f7d9
js: de-class-ify node:tls.TLSSocket ( #18058 )
2025-03-11 16:37:50 -07:00
Don Isaac
fdd750e4b5
docs(bun-plugin-svelte): add example ( #18076 )
2025-03-11 14:39:10 -07:00
Don Isaac
9a5afe371a
fix(bun-plugin-svelte): fix svelte module imports ( #18042 )
2025-03-11 12:01:15 -07:00
Dylan Conway
5123561889
fix assertion in JSBuffer.cpp ( #18048 )
2025-03-11 10:20:15 -07:00
Meghan Denny
ba7f59355f
js: de-class-ify node:net.Socket ( #17997 )
2025-03-10 23:37:11 -07:00
Michael H
a79f92df9e
CI: fix canary uploading for x64 macos ( #18053 )
2025-03-10 21:59:13 -07:00
Meghan Denny
8bc88763ec
Bump
2025-03-10 21:06:52 -07:00
Kai Tamkun
4a0e982bb2
node:http improvements ( #17093 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Pham Minh Triet <92496972+Nanome203@users.noreply.github.com >
Co-authored-by: snwy <snwy@snwy.me >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Ben Grant <ben@bun.sh >
2025-03-10 20:19:29 -07:00
Ciro Spaciari
013fdddc6e
feat(CSRF) implement Bun.CSRF ( #18045 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-10 17:51:57 -07:00
190n
a9ca465ad0
Bump WebKit ( #18039 )
2025-03-10 12:39:20 -07:00
Alistair Smith
cd4d75ee7b
Fix type error for base64 operations ( #18034 )
...
Co-authored-by: azom <dev@azom.ca >
2025-03-10 09:40:29 -07:00
pfg
aa2e109f5f
Add launch configuration for rr ( #17963 )
2025-03-09 00:19:20 -08:00
Dylan Conway
45e3c9da70
Add destroy and destructors to Hmac, Verify, Sign, and Hash ( #17996 )
2025-03-07 22:55:39 -08:00
Jarred Sumner
cee026b87e
Micro optimize latin1IdentifierContinueLength ( #17972 )
2025-03-07 21:46:14 -08:00
Dylan Conway
1a68ce05dc
Add a few passing tests for node:crypto ( #17987 )
2025-03-07 20:53:06 -08:00
Don Isaac
bf0253df1d
fix(cli): ignore --loader flag when running as node ( #17992 )
2025-03-07 20:32:07 -08:00
Jarred Sumner
2e3e6a15e0
Make TimeoutObject 8 bytes smaller ( #17976 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
2025-03-07 20:07:31 -08:00
chloe caruso
589fa6274d
dev server: forgotten changes ( #17985 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-07 17:53:07 -08:00
Pham Minh Triet
4cf0d39e58
fix(docs): typo in css.md ( #17973 )
2025-03-07 17:28:45 -08:00
Kilian Brachtendorf
a1952c71f7
docs: add note about bun publish respecting NPM_CONFIG_TOKEN ( #17975 )
2025-03-07 17:28:16 -08:00
Dylan Conway
48df26462d
fix test-crypto-randomuuid.js ( #17955 )
2025-03-07 17:05:17 -08:00
chloe caruso
66cf62c3c4
dev server: rewrite HMRModule, support sync esm + hot.accept ( #17954 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-07 15:12:16 -08:00
Meghan Denny
9d6729fef3
docs: simplify bundler headings
2025-03-07 01:34:01 -08:00
Meghan Denny
20144ced54
docs: bundler/css.md: remove redundant heading
2025-03-07 01:22:18 -08:00
Meghan Denny
2e6cbd9a4d
node: update test/common ( #17786 )
2025-03-07 00:32:23 -08:00
Meghan Denny
85f49a7a1a
node: fix test-net-server-listen-options-signal.js ( #17782 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-07 00:32:05 -08:00
Meghan Denny
6ba858dfbb
node: fix test-net-connect-reset.js ( #17823 )
2025-03-07 00:31:41 -08:00
Meghan Denny
7b423d5ff8
node: fix test-warn-stream-wrap.js ( #17937 )
2025-03-07 00:30:56 -08:00
Dylan Conway
ae19729a72
node:crypto: native Hmac and Hash (#17920 )
2025-03-06 23:52:10 -08:00
190n
2d45ae7441
Undo WebKit/WebKit#41727 ( #17957 )
2025-03-06 23:35:46 -08:00
Zack Radisic
e6cb0de539
CSS modules ( #17958 )
2025-03-06 23:35:06 -08:00
Jarred Sumner
924e50b6e9
Faster new TextDecoder() ( #17964 )
2025-03-06 23:33:31 -08:00
190n
1d32e78cf4
Do not idle in the event loop if there are pending immediate tasks ( #17901 )
2025-03-06 20:35:16 -08:00
Jarred Sumner
b5bca2d976
Bump WebKit ( #17960 )
2025-03-06 20:32:49 -08:00
Meghan Denny
1acd4039b6
fix test-net-better-error-messages-listen.js ( #17888 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-06 19:47:12 -08:00
Meghan Denny
438ec5d1eb
node: fix test-event-capture-rejections.js ( #17953 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-06 19:46:40 -08:00
Meghan Denny
1a9cadf5f4
node: fix test-file-write-stream2.js ( #17931 )
2025-03-06 19:45:03 -08:00
Meghan Denny
304b471281
node: fix test-file-write-stream4.js ( #17934 )
2025-03-06 19:44:55 -08:00
Meghan Denny
6028683f87
node: fix test-stream-promises.js ( #17936 )
2025-03-06 19:44:45 -08:00
Reilly O'Donnell
0b58e791b3
feat(bun/test): Allow numbers, functions, and classes (anonymous and named) as first arg to describe blocks ( #17218 )
...
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
2025-03-06 19:39:22 -08:00
Jacob Barrieault
1570d4f0a7
Fix 14585 — unminified identifier collisions ( #17930 )
2025-03-06 15:06:30 -08:00
malone hedges
b6b6efc839
Remove completed task ( #17948 )
2025-03-06 15:04:50 -08:00
pfg
d502df353c
Support import with { type: "json" } and others ( #16624 )
2025-03-06 15:04:29 -08:00
Meghan Denny
7161326baa
ci: make sure we're running the sequential node tests too ( #17928 )
2025-03-06 15:04:21 -08:00
Meghan Denny
903d6d058c
node: fix test-file-write-stream3.js ( #17933 )
2025-03-06 15:03:10 -08:00
Ciro Spaciari
96b305389f
automate root certs ( #16549 )
2025-03-06 14:40:52 -08:00
Ciro Spaciari
2a74f0d8f4
update(crypto) update root certificates to NSS 3.108 ( #17950 )
2025-03-06 14:40:36 -08:00
Pranav Joglekar
6e99733320
improv: display String objects similar to node ( #17761 )
2025-03-06 14:33:51 -08:00
Jarred Sumner
94ab3007a4
Add missing exception check in MessageEvent::create
2025-03-06 01:55:28 -08:00
190n
4645c309ca
chore(CI): skip pglite.test.ts on linux x64 ( #17814 )
2025-03-05 20:46:21 -08:00
Meghan Denny
852830eb54
node: skip these buffer tests ( #17929 )
2025-03-05 19:35:19 -08:00
Don Isaac
4840217156
fix(node/net): infinite loop when connect is called without args ( #17921 )
2025-03-05 19:00:08 -08:00
Meghan Denny
78fb3ce64d
node: fix test-net-server-try-ports.js ( #17910 )
2025-03-05 16:13:33 -08:00
Meghan Denny
368ddfdd14
node: fix test-net-server-options.js ( #17909 )
2025-03-05 16:13:17 -08:00
Meghan Denny
f9ebabe898
node: fix test-net-listen-ipv6only.js ( #17908 )
2025-03-05 16:13:04 -08:00
Mark Sheinkman
60eb2c4ecb
vscode extention - support test names with special characters ( #17915 )
2025-03-05 14:49:49 -08:00
Jarred Sumner
8a177f6c85
Adjust flipping logic
2025-03-04 22:57:02 -08:00
Jarred Sumner
5053d0eaaf
Flip shouldDisableStopIfNecessaryTimer
2025-03-04 22:56:10 -08:00
Jarred Sumner
6ec2b98336
Add BUN_DISABLE_STOP_IF_NECESSARY_TIMER env var
2025-03-04 20:57:26 -08:00
Meghan Denny
bae0921ef7
ci: this can take longer when CI is backed up
2025-03-04 20:00:59 -08:00
Meghan Denny
7eab65df99
cmd: tidy spacing in bun init ( #17659 )
2025-03-04 19:14:33 -08:00
Don Isaac
a41d773aaa
feat: support Svelte in bundler and dev server ( #17735 )
2025-03-04 14:16:18 -08:00
Don Isaac
4ef7a43939
chore: add assertf and releaseAssert ( #17859 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-03-04 12:50:59 -08:00
Jarred Sumner
7dc2e8e98e
Add workaround ( #17893 )
2025-03-04 05:07:01 -08:00
Jarred Sumner
63636f19f1
Revert "Upgrade mimalloc" due to memory usage regression ( #17892 )
2025-03-04 04:50:39 -08:00
Jarred Sumner
23314188ca
Deflake test/js/fs/promises
...
1 in 10000 is not random enough
2025-03-04 02:37:41 -08:00
Jarred Sumner
d429e35cdf
Smaller musl builds ( #17890 )
2025-03-04 02:10:22 -08:00
Meghan Denny
99d85be529
node: fix test-net-connect-options-invalid.js ( #17824 )
2025-03-03 21:57:13 -08:00
Meghan Denny
2d0cadc949
node: fix test-net-server-unref-persistent.js ( #17751 )
2025-03-03 21:56:28 -08:00
pfg
821f42dd8e
upgrade webkit ( #17889 )
2025-03-03 21:38:05 -08:00
James Hudon
0d4bd61ae0
rm unused PackageJSON.hash field ( #17880 )
2025-03-03 20:51:00 -08:00
chloe caruso
483302d09d
dev server: fix some small css bugs ( #17883 )
2025-03-03 20:37:39 -08:00
Don Isaac
5aa2913bce
test(bun/net): add TCP socket tests ( #17520 )
2025-03-03 20:30:47 -08:00
Kai Tamkun
1803f73b15
Improve uWS route performance ( #17884 )
2025-03-03 18:24:35 -08:00
Alistair Smith
9141337c7d
Fix some issues in Bun types ( #17424 )
...
Co-authored-by: Michael H <git@riskymh.dev >
2025-03-03 16:04:12 -08:00
Don Isaac
70dbf582a6
fix(bunfig): fix and test preloads ( #16329 )
2025-03-03 15:45:18 -08:00
chloe caruso
1a6a34700f
chore: less usingnamespace, deprecate bun.C in favor of automatic translate-c ( #17830 )
2025-03-03 15:04:21 -08:00
Don Isaac
6e140b4b13
feat(test): add test.failing ( #17864 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-03 14:45:34 -08:00
Mayfield
ac07af11de
Update nodejs-apis.md -> node:util compatible methods ( #17858 )
2025-03-03 12:14:50 -08:00
Jarred Sumner
078318f33c
Split up bindings.zig into many files ( #17831 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-03-01 03:12:00 -08:00
Dylan Conway
a620db7025
Fix incorrect string indexing in Git config parsing ( #17832 )
2025-03-01 03:10:53 -08:00
Dylan Conway
99cbdfb004
node:crypto: move Sign and Verify to c++ (#17692 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-01 03:01:39 -08:00
Jarred Sumner
887173c3c3
Split up exports.zig into files ( #17827 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-03-01 01:20:50 -08:00
Dylan Conway
184506ae86
fix debug build
2025-03-01 00:27:00 -08:00
chloe caruso
25c95f3bdc
hmr stability fixes ( #17794 )
2025-03-01 00:07:20 -08:00
Jarred Sumner
1bf13aa671
Upgrade mimalloc ( #17817 )
2025-02-28 21:48:34 -08:00
Jarred Sumner
671d876cf3
WebKit upgrade ( #17818 )
2025-02-28 21:27:31 -08:00
Ciro Spaciari
50856459e6
fix(http) dont drop numeric headers ( #17769 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-28 20:15:49 -08:00
Meghan Denny
8db2844e80
node: fix test-net-write-arguments.js ( #17742 )
2025-02-28 20:15:39 -08:00
Meghan Denny
2d74c0162a
node: fix test-util-parse-env.js ( #17701 )
2025-02-28 20:15:18 -08:00
Meghan Denny
7882418c5f
node: fix test-net-localerror.js ( #17806 )
2025-02-28 19:26:20 -08:00
Ciro Spaciari
01fb872095
fix(serve) fix WS upgrade with routes ( #17805 )
2025-02-28 19:25:55 -08:00
Meghan Denny
12a2f412fc
node: fix test-net-listen-close-server.js ( #17809 )
2025-02-28 19:24:59 -08:00
190n
ee6bdc1588
Restore TimerHeap but with behavior matching Node.js ( #17811 )
2025-02-28 19:24:30 -08:00
Meghan Denny
11979f69eb
node: fix test-net-server-call-listen-multiple-times.js ( #17785 )
2025-02-27 23:03:48 -08:00
Ciro Spaciari
65b8b220d2
fix(new File()) fix name with empty body ( #17783 )
2025-02-27 23:03:15 -08:00
Jarred Sumner
c9e4153826
Fix hypothetical OOB in toml parser ( #17789 )
2025-02-27 21:22:04 -08:00
Dylan Conway
febf6593a6
fix(install): loading bun.lock with workspace overrides ( #17779 )
2025-02-27 17:17:20 -08:00
chloe caruso
e7790894d9
elaborate on error "Expected Sink" ( #15234 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-27 17:08:00 -08:00
Jarred Sumner
cef38030df
Micro-optimize sourcemaps ( #17757 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-02-27 16:25:49 -08:00
chloe caruso
2fb121e2ed
restore stubbed code paths in OutputFile.writeToDisk ( #15278 )
2025-02-27 15:42:21 -08:00
pfg
7ad46cb118
Add back banned words ( #17057 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-02-27 15:19:15 -08:00
chloe caruso
4f58ff7933
changes to JSC.Strong, fix memory leaks in dev server ( #17738 )
2025-02-27 15:09:35 -08:00
Ashcon Partovi
838c3bbb8b
Add cursor rules for writing tests
2025-02-27 14:09:38 -08:00
Johannes Przymusinski
fe49ac1a3d
docs: remove random blog post link in docs ( #17775 )
2025-02-27 13:43:25 -08:00
190n
fbe4d57bae
chore: disable TimerList logging by default ( #17770 )
2025-02-27 12:53:35 -08:00
Ciro Spaciari
f4937678e4
fix(node:http/Bun.serve) Allow Strict-Transport-Security in http ( #17768 )
2025-02-27 11:27:07 -08:00
Don Isaac
b124ba056c
fix(ipc): check for empty IPC messages ( #17753 )
2025-02-27 06:12:46 -08:00
Jarred Sumner
0237baee92
Zero out sensitive memory before freeing ( #17750 )
2025-02-26 23:34:50 -08:00
Meghan Denny
cc481465b5
node: fix test-net-socket-timeout.js ( #17745 )
2025-02-26 22:41:38 -08:00
pfg
7a033e49c5
Support 'bun init <folder>' ( #17743 )
2025-02-26 22:41:12 -08:00
Meghan Denny
59551ebc79
node: assert a few more messages ( #17703 )
2025-02-26 22:20:27 -08:00
Meghan Denny
ad766f2402
node: fix test-net-socket-no-halfopen-enforcer.js ( #17747 )
2025-02-26 22:15:27 -08:00
190n
efabdcbe1f
Start fixing bugs discovered by Node.js's Node-API tests ( #14501 )
...
Co-authored-by: Kai Tamkun <kai@tamkun.io >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: 190n <190n@users.noreply.github.com >
2025-02-26 22:11:42 -08:00
pfg
174a0f70df
return null rather than process.stdin on child process ( #17741 )
2025-02-26 20:47:49 -08:00
Meghan Denny
deeebf0538
node:perf_hooks: fixes 17716 ( #17739 )
2025-02-26 19:36:41 -08:00
Edu
63bc08e3ca
Document workspace version publishing behavior ( #15248 )
...
Co-authored-by: Alistair Smith <hi@alistair.sh >
2025-02-26 19:00:00 -08:00
Jarred Sumner
d09daca867
Bump
2025-02-26 16:46:24 -08:00
190n
b3edef5989
node:timers fixes ( #16855 )
2025-02-26 16:45:02 -08:00
Bryce
baca1f4634
Fix VSCode Extension to Support Next.js Route Group File Paths on CodeLens Actions ( #17724 )
2025-02-26 16:27:20 -08:00
Meghan Denny
8bb6dd3cee
node: fix test-util-text-decoder.js ( #17700 )
2025-02-26 16:03:55 -08:00
Ciro Spaciari
215da32660
fix(docs) fix insert docs and add update + where in ( #17728 )
2025-02-26 16:03:37 -08:00
Ciro Spaciari
5c6e20aeb4
fix(sql) fix state being set to prepared too soon ( #17732 )
2025-02-26 16:02:51 -08:00
Ashcon Partovi
1060558456
Fix Jest globals not being available in non-entrypoint files ( #17734 )
2025-02-26 16:02:15 -08:00
Ashcon Partovi
a2d028462b
Remove unused ci/ directory
2025-02-26 09:17:43 -08:00
daniellionel01
ec4b9d198b
Fix broken links to Web inspector ( #17722 )
2025-02-26 09:11:06 -08:00
Dylan Conway
fd9a5ea668
use path.joinAbsStringBuf in bun outdated ( #17706 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-26 00:37:35 -08:00
Jarred Sumner
e8249d885c
Fixes #17698
2025-02-25 23:45:43 -08:00
chloe caruso
ac8fb0e1f5
fix(bundler): bundling invalid html / export star as / react refresh fixes ( #17685 )
2025-02-25 22:04:10 -08:00
versecafe
39fdabc364
Add bun pm pack --filename for Yarn compatibility ( #17628 )
2025-02-25 21:17:04 -08:00
Meghan Denny
144a9c2f6d
node: fix buffer.writeBigInt return value ( #17695 )
2025-02-25 20:47:55 -08:00
Ciro Spaciari
caff4e6008
fix(sql) fix SQL fragments handling and expand support for helpers ( #17691 )
2025-02-25 19:46:53 -08:00
Jarred Sumner
1322adbb16
Update executables.md
2025-02-25 18:43:37 -08:00
Jarred Sumner
11e5a6a2c7
Update codesign-macos-executable.md
2025-02-25 18:35:51 -08:00
Jarred Sumner
a130816004
Update codesign-macos-executable.md
2025-02-25 18:27:43 -08:00
Jarred Sumner
f4e0684603
Add codesigning guide
2025-02-25 18:25:54 -08:00
Meghan Denny
2db9ab4c72
synchronize all impls of ERR_INVALID_ARG_TYPE ( #17158 )
2025-02-25 15:35:14 -08:00
Don Isaac
2f48282cbd
feat(build): PluginBuilder supports method chaining ( #17683 )
2025-02-25 14:44:49 -08:00
Meghan Denny
1574df835e
zig: make JSValue.toBunString use JSError ( #17648 )
2025-02-25 13:04:44 -08:00
Dylan Conway
04973a1520
fix: bun.lock with bundledDependencies regression ( #17665 )
2025-02-25 02:33:47 -08:00
Pranav Joglekar
4e3c9bc1d1
feat: Support codesigning macOS executables in bun build --compile ( #17207 )
...
Co-authored-by: pfg <pfg@pfg.pw >
2025-02-25 01:34:11 -08:00
daniellionel01
d4c1114f9d
Fix Broken Links in http.md ( #17662 )
2025-02-25 01:27:30 -08:00
Meghan Denny
b829590356
node: remove NotImplementedError exception in perf_hooks ( #17651 )
2025-02-24 22:10:22 -08:00
pfg
04f985523b
Fix bun init on windows ( #17656 )
2025-02-24 22:08:02 -08:00
Kai Tamkun
32e6049be0
Don't pass bare Exceptions to JS in node:net ( #17639 )
2025-02-24 20:08:33 -08:00
Meghan Denny
94274b7198
node: fix test-buffer-alloc.js ( #17642 )
2025-02-24 20:08:09 -08:00
Meghan Denny
46246bb526
node: fix test-buffer-badhex.js ( #17644 )
2025-02-24 20:07:42 -08:00
Ciro Spaciari
09ab840114
fix(sql) fix binary detection + fix custom types ( #17635 )
2025-02-24 20:07:16 -08:00
pfg
211824bb3e
fix fake resume triggering real ref() ( #17640 )
2025-02-24 20:03:33 -08:00
Meghan Denny
b7e5a38975
node: bun wants to skip these ( #17646 )
2025-02-24 20:02:56 -08:00
chloe caruso
cbeffe1b48
hmr7 ( #17641 )
2025-02-24 20:02:38 -08:00
pfg
a8c8fa15b9
Fix bake codegen on windows ( #17654 )
2025-02-24 19:57:35 -08:00
190n
032f99285c
Bump WebKit ( #17647 )
2025-02-24 19:55:44 -08:00
Don Isaac
db5b915559
fix(node/net): better net.Server compatibility ( #17638 )
2025-02-24 19:24:10 -08:00
Michael H
445fe2ac4a
fix --print process.argv <args> ( #17251 )
2025-02-24 15:39:47 -08:00
Meghan Denny
82c26f0a58
node: Buffer.prototype.indexOf on number wasn't relative to buffer start ( #17631 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-24 14:26:40 -08:00
Don Isaac
943dc53a3b
fix(ffi): make using tinycc bindings safer ( #17397 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-02-24 11:23:26 -08:00
Don Isaac
61edc58362
feat(node/net): add SocketAddress ( #17154 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-02-24 11:18:16 -08:00
dy0gu
7a35567b45
docs: improve command line environment variable tips ( #16490 )
...
Co-authored-by: Michael H <git@riskymh.dev >
2025-02-24 10:19:41 -08:00
Dylan Conway
47f9bb84e8
fix: invalid json import regression ( #17612 )
2025-02-24 01:57:29 -08:00
Jarred Sumner
b02156e793
Introduce dedicated I/O threadpool for Bun.build on macOS & Windows ( #17577 )
2025-02-23 22:07:05 -08:00
Jarred Sumner
6aa62fe4bf
Mimick C wrapping behavior in stat & timespec ( #17584 )
2025-02-23 01:17:29 -08:00
github-actions[bot]
2206c14314
deps: update sqlite to 3.49.100 ( #17585 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2025-02-23 01:16:42 -08:00
dalaoshu
5167ed20f9
fix(Glob): avoid exiting skip_brace early ( #17582 )
2025-02-22 23:14:08 -08:00
Michael H
0bb0bf7c08
DefinitelyTyped release PR fix ( #17545 )
2025-02-22 16:49:22 -08:00
Galo Benjamín Bello Ponce
4978fb8baf
docs: add supported formats in cli docs ( #17556 )
2025-02-22 16:48:42 -08:00
Jarred Sumner
c2a9cf5bbd
Fixes #17568 ( #17572 )
2025-02-22 16:48:20 -08:00
Jake Boone
d474b54ad1
Avoid animations for prefers-reduced-motion in bun init templates ( #17565 )
2025-02-22 16:44:55 -08:00
Jarred Sumner
9503f7b0b9
Bump
2025-02-22 15:27:40 -08:00
Jarred Sumner
01d932d7e4
Github actions
2025-02-22 15:26:28 -08:00
Jarred Sumner
5c8da4436c
Github actions
2025-02-22 15:12:40 -08:00
Meghan Denny
d862966631
node: test-buffer-write.js ( #17450 )
2025-02-22 00:24:44 -08:00
Dylan Conway
f6c3b92f73
better test for #17516 ( #17530 )
2025-02-22 00:24:21 -08:00
Jarred Sumner
363bdf5c6c
Add small file read optimization ( #17533 )
2025-02-22 00:23:32 -08:00
Meghan Denny
04703bd3cc
zig: catch JSValue.toZigString/getZigString thrown exceptions ( #17508 )
2025-02-21 22:55:03 -08:00
Dylan Conway
8c4d3ff801
fix(crypto): reset zig hashers on digest ( #17539 )
2025-02-21 21:26:49 -08:00
chloe caruso
fb6f7e43d8
Dev Server: improve react refresh and export default handling ( #17538 )
2025-02-21 20:08:21 -08:00
Galo Benjamín Bello Ponce
78f4b20600
docs: fix shell's docs typo ( #17536 )
2025-02-21 19:18:30 -08:00
Kai Tamkun
bda1ad192d
Fix EINVAL when setting IPv6 multicast membership ( #17478 )
2025-02-21 18:34:40 -08:00
Dylan Conway
8f7143882e
fix function pointer cast ( #17534 )
2025-02-21 18:33:55 -08:00
Ciro Spaciari
8f888be7d5
fix(tls) ECONNRESET behavior ( #17505 )
2025-02-21 18:33:42 -08:00
Meghan Denny
84ad89cc95
ci: fix create-jsx.test.ts ( #17535 )
2025-02-21 18:26:28 -08:00
Jarred Sumner
18440d4b11
Ben/bump webkit ( #17529 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
2025-02-21 15:52:02 -08:00
Don Isaac
7f0b117496
chore(net): add TCP/TLS to feature indicators ( #17475 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-02-21 14:21:32 -08:00
Ciro Spaciari
94e5071947
feat(sql) implement sql.file and dynamic passwords support ( #17527 )
2025-02-21 14:04:15 -08:00
Jarred Sumner
8c32eb8354
Fix create not working properly ( #17465 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-02-21 12:41:34 -08:00
chloe caruso
3b956757d9
disable async in script tags in dev server ( #17517 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-21 11:28:27 -08:00
Dylan Conway
fbc4aa480b
fix(Glob): multiple separated brace pairs ( #17516 )
2025-02-21 10:54:03 -08:00
chloe caruso
dc5fae461d
Implement simple barrel file optimization ( #17514 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-20 22:50:51 -08:00
Jarred Sumner
a3ea521c98
Fix mime type for assets in HTML routes ( #17513 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-02-20 22:30:48 -08:00
Meghan Denny
27c90786ca
node: implement process.binding('fs') ( #17480 )
2025-02-20 22:15:01 -08:00
pfg
226275c26d
bun react template: fix background position jump after two minutes ( #17509 )
2025-02-20 21:28:25 -08:00
chloe caruso
b082572dcb
DevServer: source map and error modal improvements ( #17476 )
2025-02-20 16:40:57 -08:00
Meghan Denny
275a34b014
node: fix test-buffer-bigint64.js ( #17452 )
2025-02-20 14:16:09 -08:00
pikdum
aef6a173ee
docs: update arch contributing docs ( #17484 )
2025-02-20 12:15:40 -08:00
Jarred Sumner
1b271fd45e
Avoid creating temporary strings when throwing errors ( #17179 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-02-20 12:09:27 -08:00
Jarred Sumner
6e45e3bf1e
Fixes #17458
2025-02-19 21:00:19 -08:00
Ciro Spaciari
1e6fdc9f15
fix(http2) altsvc + origin support ( #17438 )
2025-02-19 20:55:05 -08:00
190n
9b515d74aa
fix(docs): ffi is experimental ( #17445 )
2025-02-19 20:48:12 -08:00
190n
7c6d9cac50
Bump WebKit, re-enable IPInt ( #17467 )
2025-02-19 20:47:40 -08:00
Paul Golmann
4811899bc5
Do not drop empty arguments in Bun.spawn ( #17269 )
...
Co-authored-by: pfg <pfg@pfg.pw >
2025-02-19 20:46:22 -08:00
pfg
e284c500a4
Fix hmr devserver on firefox ( #17477 )
2025-02-19 20:45:21 -08:00
pfg
86a4f306ee
Preserve zero indentation when updating inline snapshot ( #16813 )
2025-02-19 20:27:40 -08:00
pfg
92a91ef2fd
Fix hosting destructured decl with movable initializer ( #17468 )
2025-02-19 20:21:52 -08:00
Dylan Conway
6b2486a95d
fix flaky next-build.test.ts ( #17451 )
2025-02-19 12:16:21 -08:00
Ciro Spaciari
0efc4eaf97
fix(sql) allow more than 64 columns ( #17444 )
2025-02-18 19:37:26 -08:00
Don Isaac
f3d18fc587
fix: failing bun init test cases ( #17448 )
2025-02-18 16:12:56 -08:00
Jarred Sumner
9cf9a26330
Revert "fix(sql) allow more than 64 columns" ( #17441 )
2025-02-18 13:42:59 -08:00
Meghan Denny
5ae28d27a0
node: fix buffer includes+indexof ( #16642 )
2025-02-18 13:12:03 -08:00
Jarred Sumner
1de31292fb
Add react, tailwind, react+tailwind+shadcn to bun init ( #17282 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-18 10:38:37 -08:00
Ciro Spaciari
fcdddf6425
fix(sql) allow more than 64 columns ( #17419 )
2025-02-18 09:07:23 -08:00
Jarred Sumner
0622ad57b4
Add a couple HTMLRewriter guides
2025-02-17 19:36:21 -08:00
190n
a5fb10981b
fix(docs): clarify baseline builds ( #17422 )
2025-02-17 17:31:10 -08:00
Carl Aiau
cc04d51dc3
fix typo in render deployment guide ( #17321 )
2025-02-17 17:30:08 -08:00
Dylan Conway
4d0e9a968b
fix(install): don't allow overriding workspaces ( #17417 )
2025-02-17 15:56:41 -08:00
Ciro Spaciari
99a3b01bd0
fix(sql) calling not tagged throw errors ( #17415 )
2025-02-17 13:06:27 -08:00
Don Isaac
32c17d8656
fix: memory leak in code coverage ( #17399 )
2025-02-17 03:42:01 -08:00
Jarred Sumner
527412626a
Make fetch() optional in Bun.serve() when routes are passed ( #17401 )
...
Co-authored-by: Pham Minh Triet <92496972+Nanome203@users.noreply.github.com >
2025-02-17 03:25:07 -08:00
Ciro Spaciari
0d1a00fa0f
fix(sql) docs ( #17389 )
2025-02-16 18:59:51 -08:00
Jarred Sumner
5e4ebf4381
Update some docs
2025-02-16 05:59:42 -08:00
Jarred Sumner
31bd9a3ac0
Update upload-release.sh
2025-02-16 05:35:05 -08:00
Jarred Sumner
636d2459bb
Update sql.md
2025-02-16 04:32:27 -08:00
Jarred Sumner
b89b5d5710
Add back canary discord message
2025-02-16 02:27:16 -08:00
Don Isaac
f0e7251b61
chore: remove dead in transpiler ( #17379 )
2025-02-16 02:20:39 -08:00
Jarred Sumner
f29e912a91
Add routes to Bun.serve() ( #17357 )
2025-02-16 00:42:05 -08:00
pfg
ef8bd44e98
Track performance stats ( #17246 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-15 22:46:18 -08:00
Don Isaac
cdf62b35ff
refactor: move string-like structs into string module ( #17369 )
2025-02-15 21:52:43 -08:00
Don Isaac
59f3d1ca31
refactor: remove BunString.fromJSRef ( #17367 )
2025-02-15 21:52:13 -08:00
Don Isaac
f1a5e78033
refactor: remove unused RefCount struct ( #17370 )
2025-02-15 21:50:57 -08:00
github-actions[bot]
e3e4264208
deps: update lshpack to v2.3.4 ( #17374 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2025-02-15 21:50:41 -08:00
chloe caruso
0b6aa96672
Chloe/hmr4 ( #17353 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-15 05:45:02 -08:00
Jarred Sumner
e01548c6e9
Remove a few more usages of shim.cppFn ( #17358 )
2025-02-15 05:27:58 -08:00
pfg
3711280d44
Download zig from oven-sh/zig releases & auto set up zls ( #17128 )
2025-02-15 03:56:41 -08:00
chloe caruso
78e52006c5
Rewrite internal Web Streams to use less memory ( #16860 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: pfg <pfg@pfg.pw >
2025-02-15 01:16:28 -08:00
pfg
905fbee768
Wake up stdin after it falls asleep ( #17351 )
2025-02-15 01:15:10 -08:00
Meghan Denny
0405e1451c
node: fix test-buffer-inspect.js ( #17171 )
2025-02-14 23:30:46 -08:00
Meghan Denny
b418b7794a
node:buffer: fix write ( #17323 )
2025-02-14 23:30:18 -08:00
Meghan Denny
600343fff7
node:buffer: fix test-buffer-resizable.js ( #17350 )
2025-02-14 23:29:09 -08:00
190n
43367817a4
Handle rejected promises in EventLoop.autoTick ( #17346 )
2025-02-14 17:49:30 -08:00
Meghan Denny
7b65ca2a71
Revert "assets in css files 1"
...
This reverts commit 29c737b2b9 .
2025-02-14 17:27:33 -08:00
chloe caruso
29c737b2b9
assets in css files 1
2025-02-14 17:24:55 -08:00
Jarred Sumner
b4f34b03d6
Fix disabling HMR, add way to do /api/* and /* in static ( #17333 )
2025-02-14 07:43:21 -08:00
Ben Kunkle
b44769c751
Glob Match Rewrite ( #16824 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-02-14 06:32:57 -08:00
chloe caruso
10663d7912
devserver: use file urls for sourcemap ( #17319 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-14 01:30:03 -08:00
Ciro Spaciari
a2c64ad706
fix(sql) add prepare: false option and sql``.simple() ( #17296 )
2025-02-13 19:51:05 -08:00
Ciro Spaciari
79afefa488
fix(s3) Support Virtual Hosted-Style endpoints ( #17292 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-13 19:47:53 -08:00
Jarred Sumner
baee1c10d3
Fix flaky patch test ( #17301 )
2025-02-13 00:22:05 -08:00
Meghan Denny
6353fa4806
node:buffer: fix read ( #17299 )
2025-02-12 23:37:36 -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
Meghan Denny
c445cdaf13
cpp: fix asan error in process.setuid/setgid ( #17300 )
2025-02-12 23:13:07 -08:00
190n
ea65a2ad48
Bump WebKit ( #17095 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-12 22:08:53 -08:00
pfg
eb145870cb
Remove @intFromPtr(...) == 0 ( #17276 )
2025-02-12 20:18:03 -08:00
Jarred Sumner
2ea879e29b
Add a couple guides
2025-02-12 17:32:16 -08:00
Jarred Sumner
a127f1ab59
Add v8 heap snapshot guide
2025-02-12 17:22:30 -08:00
Shlomo
506ea28b36
feat: load full certificate bundles from NODE_EXTRA_CA_CERTS ( #16782 )
2025-02-12 11:42:31 -08:00
Jarred Sumner
23ba9af43c
Remove two usages of cppFn() ( #17278 )
2025-02-11 21:33:43 -08:00
Ciro Spaciari
1bb1f59b9e
fix(sql) fix fragments containing fragments + concat syntax for parameters ( #17273 )
2025-02-11 20:08:58 -08:00
Ciro Spaciari
7403088c3b
fix(sql) fix ready for query state ( #17272 )
2025-02-11 20:08:10 -08:00
chloe caruso
2b97d61deb
chore: remove some trivial usage of usingnamespace ( #17268 )
2025-02-11 19:38:52 -08:00
chloe caruso
e22c6c5dbe
fix a crash when trying to throw the error for onEnd ($notImplementedIssueFn) ( #17271 )
2025-02-11 19:38:10 -08:00
Meghan Denny
bdccbbc828
node: fix Buffer.from(arrayBuffer) ( #17267 )
2025-02-11 18:10:43 -08:00
Zack Radisic
0b6d468b74
CSS fix parsing of @-webkit-keyframes ( #17266 )
2025-02-11 16:19:33 -08:00
Meghan Denny
251c2b7d06
node:fs: windows: fix integer cast truncating bits when using too large of a mode ( #17249 )
2025-02-11 00:12:28 -08:00
Zack Radisic
321500c625
CSS stress tests, some fixes ( #17131 )
2025-02-10 20:56:30 -08:00
Ciro Spaciari
3a231a62b4
fix(sql) fix support for binary numeric values ( #17245 )
2025-02-10 19:25:52 -08:00
Meghan Denny
7adb2b9502
fix memory leak in ERR_INVALID_ARG_TYPE ( #17169 )
2025-02-10 18:50:49 -08:00
Vinícius Jardim
c2edbe848f
docs(shell): fix incorrect output on "awaiting" example ( #17152 )
2025-02-10 17:20:18 -08:00
Jarred Sumner
02d4534561
Add =<val> to --help flags that accept values ( #17237 )
2025-02-10 17:19:09 -08:00
Snoep
cfebfe7731
Added Windows-specific instructions for Bun PATH setup ( #17186 )
2025-02-10 15:45:14 -08:00
Jarred Sumner
14b93e2ab9
Display CLI usage in docs
2025-02-10 06:48:07 -08:00
Jarred Sumner
9755e02e17
Update bun outdateddocs
2025-02-10 03:53:59 -08:00
Jarred Sumner
a23c11e381
Support BUN_PUBLIC_* and other env options in HTML imports ( #17227 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-02-10 02:09:48 -08:00
Meghan Denny
d814f3e6d8
meta: fix disabling of clangd auto header insertion ( #17172 )
2025-02-10 02:04:21 -08:00
Minsoo Choo
4a7e56b532
Fix latest version display from update-sqlite ( #17209 )
2025-02-10 02:02:38 -08:00
Jarred Sumner
fb0f28aab9
Remove a .vscode/launch.json config that is rarely used
2025-02-09 22:55:13 -08:00
Jarred Sumner
ba8573494a
Add shadcn, tailwind and react detection & templates to bun create. Also: bun install --analyze <files...> ( #17035 )
2025-02-09 09:36:57 -08:00
github-actions[bot]
14164920b5
deps: update sqlite to 3.490.0 ( #17201 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2025-02-09 00:36:36 -08:00
Dylan Conway
2644bad5d4
Fix lexing out of bounds by one ( #17168 )
2025-02-08 05:23:41 -08:00
Michael H
584db03a74
bun pm pack support "files" starting with ./ (#17135 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-08 01:27:15 -08:00
chloe caruso
f912e0abc4
hot module reloading for HTML import development mode ( #16955 )
2025-02-08 00:31:30 -08:00
Ciro Spaciari
6e887c8e45
fix(sql) fix TLS verify modes ( #17129 )
2025-02-07 23:23:05 -08:00
Meghan Denny
374195ea30
node: fix test-buffer-backing-arraybuffer.js ( #17161 )
2025-02-07 23:22:03 -08:00
Ciro Spaciari
0da7025fb0
fix(sql) decode options from URI properly ( #17156 )
2025-02-07 15:43:23 -08:00
Meghan Denny
180500181f
js: fix Buffer constructor and Buffer.from ( #16731 )
2025-02-07 15:13:21 -08:00
Ciro Spaciari
c970922456
fix(sql) expose alias in SQLOption type ( #17122 )
2025-02-06 19:14:34 -08:00
Jarred Sumner
93af28751f
Update CMakeLists.txt
2025-02-06 18:07:55 -08:00
190n
4d2a8650e5
test: bump pglite version ( #17117 )
2025-02-06 14:33:44 -08:00
Don Isaac
146ec7791b
fix(node/assert): port more test cases from node ( #16895 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-06 14:29:59 -08:00
Ciro Spaciari
253faed1cf
fix(sql) types ( #17118 )
2025-02-06 13:37:58 -08:00
Ciro Spaciari
1fe2c3b426
feat(sql) support retrieving array values ( #17094 )
2025-02-06 02:45:05 -08:00
Jarred Sumner
fad856c03c
Support fs.stat, fs.existsSync, fs.readFile, fs.promises.stat, fs.promises.readFile in bun build --compile ( #17102 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-06 00:06:52 -08:00
Jarred Sumner
2770ecad5c
Fixes #16995 ( #17101 )
2025-02-05 22:35:53 -08:00
Michael H
1684c6246d
fix bunx on windows with postinstall scripts ( #17076 )
2025-02-05 22:31:42 -08:00
Jarred Sumner
d2cdb5031d
Fix potential crash when printing errors in bun install ( #17027 )
2025-02-05 22:17:02 -08:00
pfg
0c8658b350
Fix test-fs-promises-writefile.js on windows ( #17053 )
2025-02-05 22:12:52 -08:00
pfg
fc7bd569f5
Fix UAF in throwCommandNotFound ( #17097 )
2025-02-05 21:22:52 -08:00
pfg
5620a7dfac
Enable asan on debug macos aarch64 builds ( #17058 )
2025-02-05 17:24:32 -08:00
Bartłomiej Kalemba
1ccc13ecf7
docs(bunfig): update test runner options ( #17040 )
2025-02-04 23:56:12 -08:00
Dylan Conway
4d004b90ca
Fix bun.lock formatting of bin ( #17041 )
2025-02-04 23:55:57 -08:00
Zack Radisic
dcf0b719a5
CSS Fixes: light dark, color down-leveling bugs, implement minify for box-shadow ( #17055 )
2025-02-04 22:50:41 -08:00
Meghan Denny
8634ee3065
fix test-buffer-copy.js ( #16640 )
2025-02-04 20:19:22 -08:00
Meghan Denny
1819b01932
node: fix test-buffer-fill.js ( #16738 )
2025-02-04 19:52:11 -08:00
Meghan Denny
b39d84690c
implement process.binding('buffer') ( #16741 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-04 17:59:48 -08:00
Kai Tamkun
d63fe71a6d
Fix node:dgram addMembership/dropMembership segfault ( #17049 )
2025-02-04 15:22:44 -08:00
Dylan Conway
fa55ca31e1
Fix occasional crash on FilePoll deinit ( #17050 )
2025-02-04 15:22:28 -08:00
190n
a8d159da22
Fix napi_is_buffer/napi_is_typedarray to match Node.js ( #17034 )
2025-02-03 21:49:27 -08:00
Jarred Sumner
0861c03b37
Fix memory leak in the SQL query string ( #17026 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-02-03 17:38:17 -08:00
Jarred Sumner
7a918d24a7
Fix loading react-jsxdev instead of react-jsx ( #17013 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-02-03 14:10:09 -08:00
Bkh
7bef462257
Fix typo in html.ts ( #17023 )
2025-02-03 12:28:19 -08:00
Jarred Sumner
9cfa3a558b
Bump
2025-02-03 07:15:33 -08:00
Jarred Sumner
97ae35dfde
Update html.md
2025-02-03 04:08:46 -08:00
Jarred Sumner
1ea14f483c
Introduce bun ./index.html ( #16993 )
2025-02-03 04:06:12 -08:00
Jarred Sumner
ec751159c6
Update typescript.md
2025-02-03 02:40:20 -08:00
Minsoo Choo
fa502506e5
Fix formatting for extern "c" ( #16983 )
2025-02-02 21:34:58 -08:00
Dylan Conway
06b16fc11e
fix 16939 ( #16991 )
2025-02-02 21:31:40 -08:00
Ciro Spaciari
00a5c4af5a
fix(sql) disable idle timeout when still processing data ( #16984 )
2025-02-02 21:27:22 -08:00
Dylan Conway
cc68f4f025
Fix occasional crash starting debugger thread ( #16989 )
2025-02-02 05:11:15 -08:00
Jarred Sumner
aac951bd47
Move semver-related structs into their own files ( #16987 )
2025-02-02 00:20:45 -08:00
Meghan Denny
34419c5f0d
zig: only call strlen/wcslen in indexOfSentinel if libc is linked ( #16986 )
2025-02-01 23:59:45 -08:00
Jarred Sumner
1595b1cc2b
Disable stop if necessary timer ( #16962 )
2025-02-01 22:56:34 -08:00
Michael H
5366c9db33
hopefully auto pr to DT ( #16956 )
2025-02-01 22:55:19 -08:00
Okinea Dev
87281b6d48
fix: add file association for *.mdc files ( #16963 )
2025-02-01 22:18:17 -08:00
Jarred Sumner
43fd9326ba
Use a more reliable zig download url
2025-02-01 22:12:22 -08:00
Meghan Denny
26d3688e53
zig: update to 0.14.0-dev ( #16862 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-02-01 01:11:02 -08:00
pfg
1ddf3fc097
Fix fetch with formdata on some servers ( #16947 )
2025-01-31 22:39:43 -08:00
Dylan Conway
73bcff9d01
fix 16842 ( #16952 )
2025-01-31 22:39:30 -08:00
Jarred Sumner
c1708ea6ab
Try bringing release/acquire heap access back ( #16865 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
2025-01-31 16:13:03 -08:00
Meghan Denny
447121235c
node:vm: this error was super confusing without the period
2025-01-31 15:54:06 -08:00
Jarred Sumner
1fa42d81af
Bump
2025-01-31 07:08:40 -08:00
Jarred Sumner
22a23add8d
Fix import("bun") in Vite ( #16938 )
2025-01-31 06:34:14 -08:00
Dylan Conway
d4ce421982
Fix node:fs memory leak with AbortSignal ( #16788 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-31 05:25:53 -08:00
chloe caruso
322098fa54
allow resolution to work when the source file does not exist ( #16851 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-31 05:24:57 -08:00
Jarred Sumner
9acb72d2ad
Correctly handle __esModule for loader: "object" ( #16885 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-01-31 05:24:33 -08:00
Ciro Spaciari
25f6cbd471
fix(s3) fix queue and multipart flow ( #16890 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-31 05:19:23 -08:00
Dylan Conway
b098c9ed89
fix(fs): WriteStream pending write fastpath ( #16856 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-31 05:14:41 -08:00
Jarred Sumner
212944a5b6
Reduce memory usage of fs.readdir withFileTypes ( #16897 )
2025-01-31 04:25:58 -08:00
Jarred Sumner
61bf221510
Get pnpm to run inside bun ( #16934 )
2025-01-31 04:22:03 -08:00
Michael H
891057cd20
fix bun init -h ( #16896 )
2025-01-31 04:15:44 -08:00
Don Isaac
c51196a8dc
fix(install): crash from invalid SemVer with extra wildcard ( #16489 )
2025-01-31 04:14:53 -08:00
Zack Radisic
f6ec0da125
Various CSS fixing and stability stuff ( #16889 )
2025-01-31 03:47:49 -08:00
Jarred Sumner
b59b793a32
Fix lifetime issue in BunString ( #16930 )
2025-01-30 20:46:19 -08:00
Matt Sutkowski
3a4df79a64
chore(docs): remove await from migrate cmd in drizzle.md ( #16919 )
2025-01-30 17:09:16 -08:00
190n
91f2be57b5
fix(node:os): loadavg() return values on Darwin ( #16922 )
2025-01-30 17:08:44 -08:00
Don Isaac
b612bc4f47
feat(node/fs): add fs.glob, fs.globSync, and fs.promises.glob ( #16676 )
2025-01-30 13:20:19 -08:00
Don Isaac
f454c27365
fix: Bun.deepEquals on empty objects with the same prototype ( #16894 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-01-30 12:12:51 -08:00
Ciro Spaciari
892764ec43
fix(sql) fix execution queue ( #16854 )
2025-01-29 23:52:19 -08:00
190n
574a41b03f
chore: bump to v1.2.1 ( #16891 )
2025-01-29 20:19:12 -08:00
Don Isaac
c8f8d2c0bb
fix(node/http): re-export WebSocket, CloseEvent, and MessageEvent ( #16888 )
2025-01-29 18:52:02 -08:00
Meghan Denny
29839737df
cpp: synchronize on JSC::getVM since its more likely to be forward compatible ( #16688 )
2025-01-29 15:50:57 -08:00
Jarred Sumner
4d5ece3f63
Run stopIfNecessary GC timer more ( #16871 )
2025-01-29 14:40:51 -08:00
Meghan Denny
93a89e5866
meta: update bun.locks with bun 1.2 ( #16867 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-01-29 01:47:43 -08:00
Meghan Denny
676e8d1632
zig: delete is_bindgen ( #16858 )
2025-01-28 23:51:24 -08:00
Meghan Denny
5633ec4334
docker: fix distroless build ( #16820 )
2025-01-28 18:08:40 -08:00
Meghan Denny
160bf9d563
zig: make install.Resolution.init() not use anytype ( #16852 )
2025-01-28 18:08:10 -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
Jarred Sumner
f826586e78
Remove incorrect assertion
2025-01-28 17:38:52 -08:00
Jarred Sumner
c8344dd3ed
Deflake AsyncLocalStorage test
2025-01-28 17:36:29 -08:00
pfg
76f5c91ffb
Regression test for 16702 ( #16853 )
2025-01-28 17:23:57 -08:00
Jarred Sumner
ea301d7235
More docs on fetch
2025-01-28 15:28:15 -08:00
Don Isaac
33fefdda6b
fix(node/fs): better validation in fs.Dir ( #16806 )
2025-01-28 13:38:28 -08:00
Jarred Sumner
8c75c777c2
Update http.md
2025-01-28 00:56:56 -08:00
Jarred Sumner
1da2f4c0ec
More Bun.serve() docs
2025-01-28 00:55:54 -08:00
Michael H
e8a0464f03
docs: for fullstack let people know to install bun-plugin-tailwind ( #16826 )
2025-01-27 21:47:28 -08:00
Aiello
dd93f08215
feat(resolver): Add NODE_PATH support ( #14089 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-01-27 20:16:04 -08:00
190n
71eb1476db
Fix crash when napi_register_module_v1 returns nullptr ( #16816 )
2025-01-27 20:13:22 -08:00
Michael H
f8cbb32343
bun build --env defaults to disable now (#16822 )
2025-01-27 18:54:17 -08:00
chloe caruso
c08f4abb6a
fix(node:fs): set allow above root ( #16814 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-01-27 16:02:15 -08:00
Jarred Sumner
ce532901ce
Support disabling minification in Bun.serve with development: false ( #16796 )
2025-01-27 06:51:40 -08:00
Jarred Sumner
68ee83067e
Revert "Rewrite the internal Web Stream native bindings to use less m… ( #16795 )
2025-01-27 05:39:37 -08:00
Jarred Sumner
0d73927440
Add a way to disable RWF_NONBLOCK
2025-01-27 04:27:41 -08:00
Jarred Sumner
06a7499853
Add a couple more assertions ( #16791 )
2025-01-27 02:48:37 -08:00
Jarred Sumner
5262c7bffd
Fixes Bun.fileURLToPath throwing error when it should not ( #16789 )
2025-01-27 02:14:03 -08:00
Jarred Sumner
cd53d32ccf
Fix memory leak in certain cases when long URLs are passed to req.url ( #16787 )
2025-01-26 23:16:35 -08:00
Jarred Sumner
843cb38d3b
Fix memory leak in pathToFileURL ( #16784 )
2025-01-26 22:35:45 -08:00
Dylan Conway
7410da9c71
fix(install): bun.lockb -> bun.lock with incorrect optional peer dependencies ( #16743 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-26 04:29:54 -08:00
Jarred Sumner
77be87b0a7
Fix process.stdin.ref ( #16767 )
2025-01-26 03:51:16 -08:00
Jarred Sumner
89eea169c0
Fixes #16739 ( #16744 )
2025-01-26 02:21:40 -08:00
Jarred Sumner
75a95aa5fa
Rewrite the internal Web Stream native bindings to use less memory ( #16349 )
2025-01-26 00:04:39 -08:00
Jarred Sumner
e1d86087f3
bump
2025-01-25 23:08:31 -08:00
Jarred Sumner
55198771a1
Remove unnecessary scope in fs stream ( #16754 )
2025-01-25 21:08:02 -08:00
Jarred Sumner
0768baf605
Fix Windows EOF double free ( #16750 )
2025-01-25 03:55:28 -08:00
Jarred Sumner
6367ecc7d5
Fix bug causing AbortSignal to sometimes collect too early ( #16748 )
2025-01-25 03:37:46 -08:00
Jarred Sumner
f3b0f1fba0
Don't check if the same files exist 248 extra times ( #16747 )
2025-01-25 02:14:13 -08:00
Meghan Denny
5711073007
ci: set build-zig timeout to 25 minutes ( #16745 )
2025-01-25 00:56:52 -08:00
Jarred Sumner
f1cfb10658
Update buffer-create.mjs
2025-01-24 23:37:41 -08:00
Ciro Spaciari
23b64f782b
toSliced2 becomes toSlice to make sure that exceptions are handled properly ( #16734 )
2025-01-24 23:27:08 -08:00
pfg
ee1932e92c
Don't run json files ( #16733 )
2025-01-24 22:08:01 -08:00
Meghan Denny
e5b9082319
fix test-buffer-zero-fill-cli.js ( #16633 )
2025-01-24 21:04:07 -08:00
Ciro Spaciari
4703c81413
fix(expected) dont need to clone string ( #16736 )
2025-01-24 21:01:28 -08:00
Jarred Sumner
ccb094b7a8
Fix under-reporting memory usage for strings ( #16737 )
2025-01-24 20:45:34 -08:00
190n
32f5db2df1
Fix bugs in Workers ( #16735 )
2025-01-24 20:06:16 -08:00
Kai Tamkun
b3e75cee8b
dgram: reuseAddr/reusePort fixes ( #16677 )
2025-01-24 18:51:50 -08:00
Jarred Sumner
8c2c6fe548
Add x25519 support to generateKeyPair ( #16725 )
...
Co-authored-by: João Lucas de Oliveira Lopes <55464917+jlucaso1@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-01-24 18:49:05 -08:00
Dylan Conway
8e2cf8665a
fix(publish): "tarball" and "_attachment" path fix ( #16630 )
2025-01-24 18:48:42 -08:00
Don Isaac
fb0f54840e
fix(node/url): respect process.noDeprecation in url.parse() ( #16641 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-24 18:47:19 -08:00
Meghan Denny
7d7a306313
js: Buffer: alias toString as toLocaleString ( #16732 )
2025-01-24 18:43:08 -08:00
Meghan Denny
d414c78e01
fix test-buffer-concat.js ( #16638 )
2025-01-24 18:42:44 -08:00
pfg
108b1c7324
Allow indented inline snapshots ( #16685 )
2025-01-24 18:13:27 -08:00
Ciro Spaciari
8889882719
fix(socket) use the right signature ( #16729 )
2025-01-24 18:12:55 -08:00
Michael H
4084092627
update bun.lock types ( #16687 )
2025-01-24 17:13:31 -08:00
Meghan Denny
cc3994cfba
js: ERR_INVALID_ARG_TYPE and ERR_BUFFER_OUT_OF_BOUNDS fixes ( #16629 )
2025-01-24 17:03:31 -08:00
Andrew Barba
8f821b791a
bun-lambda: fix http v2 event query parsing ( #16684 )
2025-01-24 06:45:44 -08:00
Don Isaac
0d53353d36
fix(node/fs): fs.close and fs.Dir.closeSync ( #16686 )
2025-01-24 05:58:07 -08:00
Jarred Sumner
f7c5b0d5fc
Fix Stat constructor, remove native code allocation for stat objects ( #16694 )
2025-01-24 04:40:00 -08:00
Ani Betts
40d150be5e
node: Fix race condition with accessing stdioOptions ( #16670 )
2025-01-23 18:56:24 -08:00
Kory Smith
24f824c09d
Fixes typo where "affect" should have been "effect" ( #16660 )
2025-01-23 18:54:17 -08:00
tsingkwai
7830e15650
Added command: publish to fish completions ( #16593 )
2025-01-23 05:15:35 -08:00
Inqnuam
98c7b8452d
feat(s3Client): add support for AWS S3 Object Storage Class ( #16617 )
2025-01-23 05:11:41 -08:00
Jarred Sumner
b54f3f33f0
Clean up node:fs utimes, futimes , and lutimes ( #16634 )
2025-01-23 05:09:07 -08:00
Meghan Denny
8882615b02
js: add buffer tests that pass now ( #16635 )
2025-01-23 03:26:16 -08:00
Zack Radisic
70ed282773
CSS fix bug with merging style rules, fix unnecessary backslash, more tests ( #16628 )
2025-01-22 19:17:42 -08:00
Jarred Sumner
ba2bd5cff4
Fixes #16620 ( #16621 )
2025-01-22 18:07:27 -08:00
Meghan Denny
f1a5ac4fd3
js: fix printing of empty Symbol's ( #16626 )
2025-01-22 17:39:50 -08:00
Alistair Smith
4641b6184c
docs: enhance S3 presigned urls ( #16618 )
2025-01-22 16:02:59 -08:00
Meghan Denny
1e75cd5448
fix test/cli/hot/hot.test.ts ( #16586 )
2025-01-22 10:59:32 -08:00
Alistair Smith
48088d7acb
docs: fix s3 presign typo ( #16604 )
2025-01-22 09:56:13 -08:00
pfg
b0c5a7655d
Update docs for bun.lock ( #16585 )
2025-01-21 22:09:23 -08:00
Ciro Spaciari
5d98e64fd6
make s3 a default client ( #16574 )
2025-01-21 22:08:52 -08:00
Don Isaac
2cf247a855
chore: remove accidentally-committed files ( #16582 )
2025-01-21 15:34:41 -08:00
Ciro Spaciari
e44e25ed26
fix(http2) remove queue ( #16573 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-21 14:23:23 -08:00
chloe caruso
5819fe49a7
node fs compat pr #2 ( #16422 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: dylan-conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-21 10:28:35 -08:00
Jarred Sumner
427f60c7b2
Update README.md
2025-01-21 07:55:41 -08:00
Jarred Sumner
3395435c6a
benches
2025-01-21 07:55:41 -08:00
Jarred Sumner
246936a7a4
Add express folder
2025-01-21 07:55:41 -08:00
Meghan Denny
af79cebf9e
unflag experimental css and html ( #16561 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-01-21 06:44:54 -08:00
chloe caruso
4645eb82b0
chore: bump to v1.2 ( #16565 )
2025-01-21 06:42:03 -08:00
Jarred Sumner
990c84a13b
Update sql.md
2025-01-21 04:13:35 -08:00
Ciro Spaciari
16054fa5e8
SQL documentation ( #16557 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-21 04:08:16 -08:00
Zack Radisic
703b9962c7
CSS tests and bundler plugins in serve ( #16558 )
2025-01-21 01:16:48 -08:00
Meghan Denny
86af0f6534
packages/bun-types: remove bun.lockb ( #16555 )
2025-01-20 23:21:23 -08:00
Dylan Conway
0a7cc1f1c2
Make bun.lock the default for new projects ( #16540 )
2025-01-20 23:17:52 -08:00
Meghan Denny
c37c5bfc03
pm: fixes for global installs in docker ( #14896 )
2025-01-20 23:13:47 -08:00
Meghan Denny
27d9cfaf79
bun-types: depend on @types/node@* ( #16556 )
2025-01-20 23:12:54 -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
Jarred Sumner
bd5625166b
Update nodejs-apis.md
2025-01-20 21:02:29 -08:00
Kai Tamkun
0a0650feea
node:dgram compatibility improvements ( #16446 )
2025-01-20 20:49:49 -08:00
Meghan Denny
8c9533786d
meta: more bun.lock migration ( #16553 )
2025-01-20 17:26:13 -08:00
Ciro Spaciari
9bfd9db78b
more(sql) type fixes and tests ( #16512 )
2025-01-20 16:58:37 -08:00
Jarred Sumner
cfbb62df16
Implement fs.statfs, fs.statfsSync fs.promises.statfs ( #16519 )
2025-01-20 00:39:18 -08:00
Dylan Conway
30020c47b1
read --ignore-scripts from .npmrc and bunfig.toml ( #16541 )
2025-01-19 23:00:48 -08:00
Dylan Conway
3128beed67
fix fs.mkdir regression ( #16497 )
2025-01-19 16:07:18 -08:00
Lucas Garron
b901ff2b52
Fix fish completion description for bun install --no-save ( #15456 )
...
Co-authored-by: Michael H <git@riskymh.dev >
2025-01-19 22:44:30 +11:00
pfg
84984021cd
Pass more node tests in util and readline ( #16425 )
2025-01-18 23:58:35 -08:00
Zack Radisic
d40f971a53
CSS fixes ( #16514 )
2025-01-18 23:55:54 -08:00
github-actions[bot]
cb3b0be944
deps: update sqlite to 3.480.0 ( #16517 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2025-01-18 23:55:00 -08:00
Ciro Spaciari
ba930ad54a
feat(sql) transactions, savepoints, connection pooling and reserve ( #16381 )
2025-01-18 16:03:42 -08:00
Zack Radisic
87dedd109a
CSS bundling & general fixes ( #16486 )
2025-01-18 13:26:27 -08:00
Jarred Sumner
6a2fd6d6f6
Enlarge ccache
2025-01-18 12:42:30 -08:00
pfg
e46e922307
Strip query parameter in File import ( #16480 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-18 12:40:43 -08:00
Jarred Sumner
20bd1a5b5f
Normalize algorithm names for hmac ( #16506 )
2025-01-18 12:10:56 -08:00
Don Isaac
c3c27b8e0d
fix(napi): napi_get_value_uint32 now handles int32s correctly
2025-01-18 12:08:26 -08:00
Ciro Spaciari
e0e4a270a8
fix(S3) if the part is too small and is not ended wait for more data before sending ( #16453 )
2025-01-18 10:47:53 -08:00
Michael H
bb730b9ea5
Switch bun -p from --port to --print ( #16351 )
2025-01-17 22:14:21 -08:00
pfg
0d17843251
Fix bun run folder ( #15117 )
...
Co-authored-by: pfgithub <pfgithub@users.noreply.github.com >
2025-01-17 22:08:07 -08:00
Don Isaac
288f256ce4
test(node): copy over passing parallel/child-process tests ( #16383 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-18 03:01:30 +00:00
Meghan Denny
71a6d71b8b
Update node:stream compatibility
2025-01-17 18:43:16 -08:00
chloe caruso
1a54379521
node:fs mkdir: disable linux statx path ( #16478 )
...
this path is observed to not be stable, prioritize correctness
2025-01-17 18:40:17 -08:00
Meghan Denny
4d469dff10
Update node:crypto compatibility
...
getFips added in #15565
2025-01-17 18:39:36 -08:00
Dylan Conway
c1b9c448d0
Update node:crypto compatibility ( #16483 )
2025-01-17 16:47:05 -08:00
Meghan Denny
5971406183
meta: migrate bun to the text lockfile ( #16462 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-01-17 22:37:26 +00:00
Don Isaac
b412e3647a
test(node/url): add more node:test parallel cases ( #16404 )
2025-01-17 21:03:09 +00:00
pfg
db5e9bd6d3
Remove wasm loader from docs ( #16479 )
2025-01-17 13:47:14 -08:00
Don Isaac
5b608f2c64
chore(js/builtins): add PullIntoDescriptor type definitions ( #16190 )
2025-01-17 18:09:18 +00:00
Jarred Sumner
196621f253
Bump!
2025-01-17 05:39:50 -08:00
Jarred Sumner
7242c1b670
Implement X509Certificate in node:crypto ( #16173 )
...
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 >
2025-01-17 05:24:45 -08:00
Jarred Sumner
399ec3e970
Fix regression with IPC ( #16465 )
2025-01-17 05:23:13 -08:00
Jarred Sumner
9579e4292b
Fix fs.mkdir recursive regression from Bun v1.1.44 ( #16464 )
2025-01-17 04:12:17 -08:00
Jarred Sumner
4c579150bd
Ignore --expose-internals in node tests
2025-01-16 23:59:54 -08:00
Jarred Sumner
92baa07e76
Update launch.json
2025-01-16 23:32:13 -08:00
Michael H
503ea1b4d4
bun upgrade --canary changelog use the git sha of the new build instead of main (#16432 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-16 23:16:37 -08:00
Jarred Sumner
58678574a1
Fix importing with query strings at the end ( #16456 )
2025-01-16 23:16:11 -08:00
Rafael
d28210f1e8
Update ssr-react.md to reference normal non-beta react ( #16350 )
2025-01-16 23:15:59 -08:00
Zack Radisic
44daf01cdf
Native plugin cargo ( #16444 )
2025-01-16 23:15:08 -08:00
Meghan Denny
2d481e7bcb
fix more node:stream ( #16385 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-16 22:40:39 -08:00
Ciro Spaciari
6cdcb1c867
fix(test) enable minio in s3.test.ts ( #16298 )
2025-01-16 18:39:35 -08:00
Jarred Sumner
ec11ea4e73
Simplify .protect & unprotect ( #16441 )
2025-01-16 16:06:32 -08:00
Ciro Spaciari
348f5e9aeb
fix(server) fix HEAD requests with status != 200 ( #16445 )
2025-01-16 16:05:39 -08:00
Jarred Sumner
7f0b6bc11d
Support reloading just static routes
2025-01-16 06:46:23 -08:00
Jarred Sumner
446953aa1e
Update nodejs-apis.md
2025-01-16 04:27:41 -08:00
Jarred Sumner
a423d10f2e
Update nodejs-apis.md
2025-01-16 03:58:53 -08:00
Jarred Sumner
844000dc77
Update nodejs-apis.md
2025-01-16 02:28:17 -08:00
Jarred Sumner
4f5ec1d556
Update nodejs-apis.md
2025-01-16 02:14:48 -08:00
Jarred Sumner
d8372f3d3d
Update nodejs-apis.md
2025-01-16 02:13:16 -08:00
Jarred Sumner
ed9f0cc9e1
Update nodejs-apis.md
2025-01-16 02:10:43 -08:00
Jarred Sumner
b788289557
update some docs
2025-01-16 02:04:18 -08:00
Jarred Sumner
860c83b466
Update nodejs-apis.md
2025-01-16 01:46:09 -08:00
Jarred Sumner
4557369602
Update nodejs-apis.md
2025-01-16 01:43:12 -08:00
Jarred Sumner
5c46a4d07d
Update nodejs-apis.md
2025-01-16 01:39:50 -08:00
Jarred Sumner
9f00638cbe
Update nodejs-apis.md
2025-01-16 01:39:05 -08:00
Jarred Sumner
d8b329f20b
Update nodejs-apis.md
2025-01-16 01:35:42 -08:00
Jarred Sumner
0295fd1272
Update nodejs-apis.md
2025-01-16 01:34:42 -08:00
Jarred Sumner
0739262b87
Update nodejs-apis.md
2025-01-16 01:31:53 -08:00
Jarred Sumner
5468a0157c
Update nodejs-apis.md
2025-01-16 01:30:45 -08:00
Jarred Sumner
e2a891c2c0
Update nodejs-apis.md
2025-01-16 01:29:29 -08:00
Jarred Sumner
170cd7dc51
Update nodejs-apis.md
2025-01-16 01:18:01 -08:00
Jarred Sumner
4cb8e37474
Make console.warn yellow, make console.log(error) not red ( #16435 )
2025-01-16 00:43:26 -08:00
Jarred Sumner
54eb8233f5
Fixes expect.extend on prototypes ( #16437 )
2025-01-16 00:21:13 -08:00
Jarred Sumner
a2f1a87f0d
Fix under-reporting string memory usage to GC ( #16426 )
2025-01-15 23:45:33 -08:00
Minsoo Choo
4ac4d5e4e5
fix: use correct case for filename ( #16433 )
2025-01-15 23:44:52 -08:00
Michael H
8960a78e1f
docs: fix broken link ( #16428 )
2025-01-16 03:40:27 +00:00
Ciro Spaciari
35a2ef07bf
fix(http2) fix sensitive headers ( #16423 )
2025-01-16 03:34:28 +00:00
Jarred Sumner
fea4d9223a
Update fullstack.md
2025-01-15 17:43:32 -08:00
Jarred Sumner
25abce43db
Update fullstack.md
2025-01-15 17:42:33 -08:00
Jarred Sumner
46d02cda2b
Update fullstack.md
2025-01-15 16:57:01 -08:00
Jarred Sumner
01571804b8
Update fullstack.md
2025-01-15 16:46:52 -08:00
Jarred Sumner
6e4cdf3528
Update fullstack.md
2025-01-15 16:39:49 -08:00
Jarred Sumner
1c60f4a60f
Update s3.md
2025-01-15 16:33:24 -08:00
Jarred Sumner
274859584d
Add docs for html imports
2025-01-15 16:33:24 -08:00
Michael H
c297fc8070
bun pm pack + bundleDependencies with scoped packages (#16407 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-01-15 16:14:15 -08:00
Don Isaac
3fa22e9481
fix: debug builds loading runtime.out.js from wrong path ( #16421 )
2025-01-15 15:53:27 -08:00
Meghan Denny
68089a099f
zig: else branch is implicitly void ( #16406 )
2025-01-15 15:14:43 -08:00
190n
80e9bbcec3
Disable IPInt again ( #16420 )
2025-01-15 12:46:20 -08:00
Luis Crespo
acbf34b47c
Fixed typo ( #16416 )
2025-01-15 19:42:38 +00:00
Jarred Sumner
4092b271cd
Add test for Bun.serve static with html ( #16413 )
2025-01-15 04:08:04 -08:00
190n
c1218b250d
Bump WebKit and re-enable IPInt ( #16227 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Kai Tamkun <kai@tamkun.io >
2025-01-15 04:06:52 -08:00
Jarred Sumner
77a5906123
Enable locally-passing bundler plugin tests ( #16411 )
2025-01-15 03:07:00 -08:00
Jarred Sumner
a01285fa65
Make this error message better
2025-01-15 02:06:44 -08:00
Jarred Sumner
7173593a80
Fix error handling bugs in HTMLRewriter API ( #16368 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-01-15 01:02:31 -08:00
Thai Pangsakulyanont
133d8973fb
docs(bun-lambda): Use sparse checkout to make it possible to run the command in AWS CloudShell environment ( #16371 )
2025-01-15 01:02:19 -08:00
Jarred Sumner
522f2b91a0
Introduce experimental support for on-demand bundling via HTML imports and Bun.serve() ( #16395 )
2025-01-15 01:00:23 -08:00
versecafe
6cb0d49afb
Implement Bun.hash.xxHash32|64() ( #16397 )
2025-01-15 00:54:44 -08:00
Jarred Sumner
5a59c99b5f
Probably fixes #16408 ( #16409 )
2025-01-15 00:52:43 -08:00
Meghan Denny
c0e1da7280
ci: fix node-http2.test.js
2025-01-14 23:09:16 -08:00
Ciro Spaciari
8c04818a80
fix(s3) fix slice with offset 0 ( #16400 )
2025-01-14 22:38:15 -08:00
Minsoo Choo
9019aaf7d4
fix: update username ( #16405 )
2025-01-14 21:15:23 -08:00
chloe caruso
834ad11d48
get node:fs tests passing part 1 ( #16270 )
2025-01-14 20:53:02 -08:00
Don Isaac
4e193b0ebd
fix(codegen): handle generic internal functions ( #16399 )
2025-01-14 18:35:24 -08:00
Dylan Conway
cc8ec65e34
fix importing internals twice
2025-01-14 11:24:17 -08:00
pfg
01c83cdcfe
Regression test for #11806 ( #16392 )
2025-01-14 13:22:15 +00:00
Michael H
5c5793050c
allow bundledDependencies: true in bun pm pack ( #16382 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-01-14 02:43:18 +00:00
Michael H
6b197d8a7c
bun exec --help now prints its own help menu (#16391 )
2025-01-14 02:41:43 +00:00
Ciro Spaciari
bf0d937975
crypto: update root certificates to NSS 3.107 ( #16388 )
2025-01-14 02:22:43 +00:00
Minsoo Choo
e5ea345e6b
Unify syntax highlighting and ouput for --help ( #16360 )
2025-01-14 00:33:08 +00:00
Jarred Sumner
acae4a3561
Fix use of .call in builtin
...
@nektro we can't use .call in builtins
2025-01-13 02:50:03 -08:00
Jarred Sumner
d6cccbf0ae
Update SetupWebKit.cmake
2025-01-13 02:17:44 -08:00
Jarred Sumner
6709028803
Update html-rewriter.md
2025-01-13 02:15:17 -08:00
Jarred Sumner
c2e150f916
Revert "Skip javascriptcore's first parse step for ES Modules" ( #16370 )
2025-01-13 01:24:48 -08:00
Jarred Sumner
22ebeae054
Update html-rewriter.md
2025-01-13 01:21:05 -08:00
Jarred Sumner
051a60649f
Update html-rewriter.md
2025-01-13 01:18:44 -08:00
Jarred Sumner
b754959850
More HTMLRewriter docs
2025-01-13 01:16:02 -08:00
Michael H
70362c316e
allow importing bun.lock (+ types for it) ( #16244 )
...
Co-authored-by: RiskyMH <RiskyMH@users.noreply.github.com >
2025-01-12 20:08:56 -08:00
Don Isaac
ab3ac077fe
feat(cli/bunx): support --no-install flag ( #16315 )
2025-01-12 20:07:59 -08:00
Don Isaac
edeaab1cf2
fix(cli/install): --silent disables summary ( #16321 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Michael H <git@riskymh.dev >
2025-01-12 20:06:10 -08:00
Yoones Khoshghadam
19bdd5a56c
Docs: Correctly specify the sign of BigUint64Array ( #16358 )
2025-01-12 20:05:38 -08:00
Michael H
6473d83d3e
docs: use tag $BUN_LATEST_VERSION for version instead of manual ( #16348 )
2025-01-12 20:05:21 -08:00
Jarred Sumner
22436ede12
Faster debug builds ( #16354 )
2025-01-12 20:03:24 -08:00
Steven Roussey
da5a1a9b6a
Add --no-clear-screen to docs ( #16364 )
2025-01-12 19:51:02 -08:00
Don Isaac
36ad2974ab
fix(launch): bun run ... launch configs ( #16234 )
2025-01-12 17:40:16 +00:00
Michael H
e87200aaad
docs: remove worker from module resolution docs ( #16352 )
2025-01-12 09:19:46 -08:00
Meghan Denny
11feeff892
make sure ipc with json serialization still works when bun is parent and not the child ( #14756 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-11 19:18:28 -08:00
Jarred Sumner
f9de8be417
Don't warn on moduleSuffixes when an empty string is passed ( #16332 )
2025-01-11 18:24:19 -08:00
Michael H
2bc70df266
minor guide fixes for consistency ( #16273 )
2025-01-11 06:38:41 +00:00
Don Isaac
5b585c393b
fix(toml): cursor pos for duplicate key errors ( #16325 )
2025-01-11 06:19:23 +00:00
Meghan Denny
df21b18901
reduce the import weight of internal/primordials ( #16209 )
2025-01-11 06:18:58 +00:00
chloe caruso
487da0aeac
fix building bun with new version of bun ( #16328 )
2025-01-10 20:58:14 -08:00
pfg
b04ce670e3
Fix #16312 ( #16322 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-10 20:04:16 -08:00
kjjd84
96dc7ed96e
Update unlink.md guide ( #16268 )
2025-01-10 19:52:00 -08:00
pfg
1e67665d33
More node tests passing ( #16269 )
2025-01-10 19:51:30 -08:00
Ciro Spaciari
d9ed436321
fix(test) re-enable autobahn test ( #16301 )
2025-01-10 19:50:42 -08:00
Bryce Cain
83decec197
types: Add 'stat' and 'delete' methods to BunFile type ( #16307 )
...
Co-authored-by: cainba <bryce.cain@debtconnects.com >
2025-01-10 19:50:23 -08:00
Arnaud Barré
ce68e5eb23
Improve HTMLRewriterTypes.Element.attributes type ( #16319 )
2025-01-10 19:50:08 -08:00
Don Isaac
b364c8678d
refactor(cli/init): deduplicate asset creation logic ( #16294 )
2025-01-11 02:06:24 +00:00
Don Isaac
18f9ecf901
refactor(cli/bunx): move options definition to top of file ( #16314 )
2025-01-11 01:12:20 +00:00
Jarred Sumner
287f1628e7
Bump
2025-01-10 04:27:59 -08:00
Jarred Sumner
cfa4998d24
Pull some upstream changes from uWS ( #16275 )
2025-01-10 03:05:24 -08:00
Don Isaac
5e584e9a54
fix(test): toThrow() === toThrow('') ( #16308 )
2025-01-10 03:05:05 -08:00
Jarred Sumner
138cf7e067
Make fetch() faster at uploading files over http:// ( #16303 )
2025-01-10 01:19:36 -08:00
Jarred Sumner
c69aa3cb68
Fix console.error left in builtins ( #16304 )
2025-01-10 07:48:09 +00:00
Don Isaac
b4d9223bd2
ci: avoid hitting MAX_PATHLEN in win32 builds ( #16299 )
2025-01-10 07:47:36 +00:00
pfg
ccc7bde7c6
Skip javascriptcore's first parse step for ES Modules ( #15758 )
2025-01-09 19:31:44 -08:00
Brian Kemper
0b9db36494
Add missing x-amz-acl header ( #16260 )
2025-01-10 01:23:17 +00:00
Don Isaac
0372ca5c0a
test(node): get test-assert.js working ( #15698 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2025-01-10 00:45:43 +00:00
Robert Shuford
7bcd825d13
Fixes #14553 ( #16276 )
2025-01-10 00:07:11 +00:00
Jarred Sumner
5e003dccd2
Fixes #16277 ( #16280 )
2025-01-09 03:15:31 -08:00
Jarred Sumner
313bf86da4
Fix debug-only crash ( #16279 )
2025-01-08 23:59:26 -08:00
Kai Tamkun
9bca80c1a2
DNS fixes ( #15864 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-08 21:53:03 -08:00
Jarred Sumner
2465ccae53
Re-sync our Mutex implementation with zig stdlib ( #16271 )
2025-01-08 21:09:27 -08:00
Don Isaac
73fd69fcb4
chore: add script to trace allocations with Instruments ( #16191 )
2025-01-09 01:56:55 +00:00
Jarred Sumner
e639d6645c
Fixes #16264 ( #16266 )
2025-01-08 18:29:21 -08:00
Don Isaac
a733421261
refactor: consolidate allocators ( #16061 )
...
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2025-01-08 22:39:13 +00:00
Don Isaac
9757ee4cd4
test(js/internal): add unit tests for Dequeue ( #16189 )
2025-01-08 22:23:30 +00:00
Don Isaac
833b718b12
test: skip sql tests when psql binary is not installed ( #16233 )
2025-01-08 13:59:55 -08:00
Michael Jonker
043cb7fc5b
Add documentation for threadsafe option in FFI JSCallback ( #15982 )
...
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
2025-01-08 18:47:46 +00:00
Don Isaac
2af12f49a8
fix: node parallel test check in test runner ( #16232 )
2025-01-08 16:46:58 +00:00
Don Isaac
76800b049a
ci: check for typos in documentation ( #16235 )
2025-01-08 07:23:54 +00:00
Don Isaac
81ecf7556c
ci: repair lint setup and run it in CI ( #15720 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2025-01-08 07:12:18 +00:00
chloe caruso
a3cbf974eb
transpiler: dont inline import.meta.require ( #16222 )
2025-01-07 23:14:09 -08:00
Minsoo Choo
d68d0cce2d
Update build instructions ( #16239 )
2025-01-07 23:08:59 -08:00
Minsoo Choo
783c2b4410
Fix build failure on Linux ( #16238 )
2025-01-07 21:34:07 -08:00
Marcos RJJunior
04b388ed9c
updating test.d.ts comments ( #16207 )
2025-01-07 20:26:07 -08:00
190n
72c9c2bc21
Set error code in Node-API functions ( #16223 )
2025-01-07 20:23:58 -08:00
Dylan Conway
7161dedd5a
Update --filter docs ( #16225 )
2025-01-07 20:23:25 -08:00
Ciro Spaciari
84fc9b137d
doc(s3) little improvements and corrections ( #16226 )
2025-01-07 20:23:10 -08:00
Jarred Sumner
da2dd657b1
Fix various bugs with function names and source mappings involving eval and node:vm ( #16212 )
2025-01-07 20:21:50 -08:00
chloe caruso
71d3b41351
do not print duplicate code ( #16231 )
2025-01-07 20:19:12 -08:00
Jarred Sumner
7cc66a6a1e
Remove spurious assertion
2025-01-07 19:57:03 -08:00
Don Isaac
005cdb2bf8
feat: expose globalThis.gc when --expose-gc flag is passed ( #16221 )
...
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
Co-authored-by: 190n <ben@bun.sh >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-01-07 18:28:31 -08:00
Jarred Sumner
7d58787dda
Module.findSourceMap shouldn't throw ( #16229 )
2025-01-07 18:01:28 -08:00
Jarred Sumner
9223d865ed
Fix assertion only meant for debug builds
2025-01-07 17:55:32 -08:00
190n
37765e6df8
Remove envFile from launch.json ( #16224 )
2025-01-07 15:05:35 -08:00
pfg
c22315d399
disable serve-body-leak test on windows ( #16201 )
2025-01-07 00:39:03 -08:00
Jarred Sumner
c431ef1b7a
Replace 4 duplicate implementations of getting the sourceURL ( #16205 )
2025-01-07 00:34:58 -08:00
Ciro Spaciari
81fce29fd9
S3: refactor + S3Client static method ( #16198 )
2025-01-06 23:52:19 -08:00
Meghan Denny
ace459598a
update $ERR_INVALID_ARG_VALUE callsites ( #16202 )
2025-01-06 23:51:46 -08:00
Meghan Denny
65530c91d0
use native validators for validateObject and validateOneOf more ( #16203 )
2025-01-06 23:51:09 -08:00
Kai Tamkun
cfd05bdfcf
Don't chmod UNIX sockets to 700 ( #16200 )
2025-01-06 21:25:57 -08:00
pfg
1923509b05
handle pnpx & pnpm dlx in package.json scripts ( #16187 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-06 18:56:24 -08:00
Jordan Pittman
f299ef8c73
Download correct musl binaries in bun build --compile ( #16192 )
2025-01-06 18:55:18 -08:00
Jarred Sumner
d4ff142f09
Update s3.md
2025-01-06 18:47:28 -08:00
Meghan Denny
f1e8cb8f47
fix $ERR_INVALID_ARG_VALUE ( #16194 )
2025-01-06 18:28:50 -08:00
Jarred Sumner
7f949bf8df
Update s3.md
2025-01-06 16:03:51 -08:00
Jarred Sumner
24a2c9b50c
Redo S3 API before we release it
2025-01-06 15:53:26 -08:00
Dylan Conway
5e9e188eda
update workspaces.md
2025-01-06 14:38:07 -08:00
Meghan Denny
e1cfea4925
node: fix the rest of test-process ( #16026 )
2025-01-06 14:30:36 -08:00
190n
8268af3a7d
Disable IPInt ( #16188 )
2025-01-06 13:59:50 -08:00
Michael H
193a6306d5
Implement bun add --peer <pkg> ( #16150 )
2025-01-06 12:59:59 -08:00
Don Isaac
0db90583e8
chore: remove unused fifo.zig ( #16184 )
2025-01-06 12:38:09 -08:00
Jarred Sumner
e92a487fad
Handle duplicate column names and numeric column names in Bun.sql ( #16178 )
2025-01-06 12:05:09 -08:00
Don Isaac
178e373712
build(bindgen): check for corresponding .zig file ( #15896 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2025-01-06 11:46:25 -08:00
Don Isaac
189684f173
feat(node/path): support matchesGlob ( #15917 )
2025-01-06 10:36:11 -08:00
Eric Liu
8d82302ec5
docs(plugins): fix typos ( #16174 )
2025-01-05 18:50:03 -08:00
Ciro Spaciari
034f776047
WIP: S3 improvements ( #16167 )
2025-01-04 19:57:35 -08:00
Jarred Sumner
8a469cce7e
Default to "auto" instead of "us-east-1"
2025-01-04 06:21:32 -08:00
Jarred Sumner
e532456cfe
Update Bun.S3 type definitions
2025-01-04 05:24:57 -08:00
Jarred Sumner
cc52828d54
Remove rejectOnNextTick ( #16161 )
2025-01-04 04:17:03 -08:00
Jarred Sumner
5fe9b6f426
Improve MinIO support in Bun.S3
2025-01-04 02:44:17 -08:00
Ciro Spaciari
a53f2e6aaa
fix test on windows ( #16151 )
2025-01-04 01:22:48 -08:00
Dylan Conway
79aa5d16df
skip root scripts if root is filtered out with --filter ( #16152 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-04 01:22:24 -08:00
Jarred Sumner
4454ebb152
Allow http:// endpoints in Bun.S3
2025-01-04 01:08:27 -08:00
Jarred Sumner
33233b1607
Don't include //# sourcemap comments in .html or .css files ( #16159 )
2025-01-04 00:32:17 -08:00
Don Isaac
ed0b4e1a6e
fix(build/html): handle relative paths in script src ( #16153 )
2025-01-04 00:23:51 -08:00
Jarred Sumner
debd8a0eba
Support BUN_CONFIG_VERBOSE_FETCH in S3
2025-01-04 00:05:14 -08:00
Jarred Sumner
cc5ee01752
Initial S3 docs
2025-01-03 23:08:14 -08:00
Jarred Sumner
d5fc928ca8
S3 cleanup ( #16039 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-01-03 19:11:48 -08:00
Dylan Conway
2043613a62
support bun install --filter <pattern> ( #16093 )
2025-01-03 18:39:41 -08:00
Michael H
5caeeb9549
docs: contributing windows link be absolute to bun.sh ( #16127 )
2025-01-03 17:56:00 -08:00
Dylan Conway
fa7376b042
add bun install --lockfile-only ( #16143 )
2025-01-03 17:55:40 -08:00
Jarred Sumner
fd9d9242d8
Support absolute paths when bundling HTML ( #16149 )
2025-01-03 17:54:07 -08:00
190n
78498b4244
Include array length and promise status in V8 heap snapshots (oven-sh/WebKit#75) ( #16141 )
2025-01-03 17:33:17 -08:00
Dylan Conway
c713c0319b
fix(install): extra quotes in bun.lock ( #16139 )
2025-01-03 15:16:52 -08:00
Jarred Sumner
912a2cbc12
Expose some no-ops ( #16125 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2025-01-03 13:57:46 -08:00
Dylan Conway
c130df6c58
start verdaccio in multiple test files ( #16118 )
2025-01-03 08:21:00 -08:00
Jarred Sumner
f0cb1b723e
Remove spinlock in libpas on Linux ( #16130 )
2025-01-03 04:32:27 -08:00
Jarred Sumner
79430091a1
Add v8.writeHeapSnapshot ( #16123 )
2025-01-02 21:24:16 -08:00
Jarred Sumner
ab8fe1a6c3
Bump
2025-01-02 21:17:47 -08:00
Michael H
dda49d17f9
docs: fix #16116 ( #16122 )
2025-01-02 20:29:05 -08:00
Jarred Sumner
faec20080d
Update nodejs-apis.md
2025-01-02 20:27:30 -08:00
Jarred Sumner
f834304c27
Support generating V8 Heap Snapshots ( #16109 )
2025-01-02 20:15:13 -08:00
Jarred Sumner
b59e7c7682
Add missing exception checks to JSPropertyIterator ( #16121 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-01-02 18:55:38 -08:00
Yiheng
40724d29ac
Update cache.md ( #16028 )
2025-01-02 18:24:03 -08:00
Dylan Conway
d9125143b7
lockfile: escape names in bun.lock ( #16120 )
2025-01-02 18:22:39 -08:00
Jarred Sumner
4dcfd686b4
Fix build
2025-01-02 16:22:58 -08:00
Jarred Sumner
012d70f42e
Fix bug with PATH in Bun.spawn ( #16067 )
2025-01-02 16:03:42 -08:00
Dylan Conway
a85bd42989
Add short flag for --filter ( #16058 )
2025-01-02 15:53:45 -08:00
Chawye Hsu
d714943d87
fix(install): read bunfig install.cache.dir ( #10699 )
...
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com >
2025-01-02 15:46:27 -08:00
Ciro Spaciari
ae18cc0ef3
fix(server) HEAD Requests followup ( #16115 )
2025-01-02 15:08:03 -08:00
Jarred Sumner
a8b3f732c5
Report memory size of performance.measure / performance.mark ( #16094 )
2025-01-01 19:23:13 -08:00
KOMIYA Atsushi
ee955591e2
Update defines to define in cc function documentation ( #16097 )
2025-01-01 19:07:18 -08:00
Ciro Spaciari
7a52ec55a5
fix(server) HEAD requests ( #16099 )
2025-01-01 19:06:08 -08:00
Johan Bergström
aa1b0c9c40
fix: avoid world-writable permissions for lockfiles ( #16018 )
2025-01-01 10:56:10 -08:00
Jarred Sumner
be959e111a
Do not assert valid windows path in chdirOSPath because the SetCurrentDirectoryW function will validate the path
2024-12-31 21:08:07 -08:00
Jarred Sumner
19191659cf
Avoid resolving substrings in bun:sqlite and Buffer.byteLength ( #16092 )
2024-12-31 19:48:33 -08:00
Jarred Sumner
30008ed0fc
Bump WebKit again ( #16091 )
2024-12-31 18:17:56 -08:00
Jarred Sumner
e3a1d026f9
Fix crash in bake on load ( #16021 )
2024-12-31 17:16:12 -08:00
Jarred Sumner
02196cbf0e
Avoid resolving substrings unnecessarily ( #16090 )
2024-12-31 17:06:49 -08:00
Jarred Sumner
1ae855223c
Bump WebKit ( #16068 )
2024-12-31 14:48:54 -08:00
Dylan Conway
5058bd3913
handle bundle(d)Dependencies in bun install ( #16055 )
2024-12-31 13:40:55 -08:00
Don Isaac
b406509afd
refactor: remove unused script execution context file ( #16059 )
2024-12-31 13:31:33 -08:00
Dylan Conway
82f9b13e08
docs: fix bun.lock section ( #16088 )
2024-12-31 11:40:28 -08:00
Dylan Conway
37e7f5ba8f
transpiler: fix crash with malformed enums ( #16084 )
2024-12-31 09:09:09 -08:00
Navishkar Rao
babd8b6028
Update nextjs.md docs with starter example ( #16072 )
2024-12-30 22:26:19 -08:00
Don Isaac
ab52058439
fix(us): memory leak when getting root certificate ( #16073 )
2024-12-30 22:20:15 -08:00
Lars Volkheimer
e96dded366
fix formatting of Set in Bun.inspect() ( #16013 )
2024-12-30 13:44:40 -08:00
Jarred Sumner
76bfceae81
Support jsonb, idle_timeout, connection_timeout, max_lifetime timeouts in bun:sql. Add onopen and onclose callbacks. Fix missing "code" property appearing in errors. Add error codes for postgres. ( #16045 )
2024-12-30 13:25:01 -08:00
Dylan Conway
f0073bfa81
fix(install): free correct pointer in bun patch --commit ( #16064 )
2024-12-30 12:38:39 -08:00
Devanand Sharma
18ac7f9509
Add remove() and isRemoved in HTMLRewriterTypes.Doctype interface ( #16031 )
2024-12-28 22:57:25 -08:00
Ciro Spaciari
fe4176e403
feat(s3) s3 client ( #15740 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-12-28 17:46:22 -08:00
Jarred Sumner
ed0980cf94
Make creating errors slightly faster ( #16023 )
2024-12-28 01:32:32 -08:00
Jarred Sumner
dd243a06a5
Log slow lifecycle scripts ( #16027 )
2024-12-28 01:31:30 -08:00
Jarred Sumner
7b06872abb
Deflake fetch tests ( #16000 )
2024-12-27 14:07:41 -08:00
Don Isaac
d8e644fc25
fix(node/path): crash when joining long paths ( #16019 )
2024-12-27 17:58:21 +00:00
Meghan Denny
4bcc5b25d9
node: fix all of test-event-emitter ( #16009 )
2024-12-27 01:34:49 -08:00
Jarred Sumner
19675f474a
Update .cursorignore
2024-12-26 11:48:30 -08:00
Jarred Sumner
bba998a611
Create .cursorignore
2024-12-26 11:48:11 -08:00
Jarred Sumner
145a7fd92e
Better unicode identifier start / continue check ( #15455 )
2024-12-25 23:02:46 -08:00
Jarred Sumner
d4c0432a5f
Refactor JS parser visitor step into individual functions to reduce stack space usage ( #15993 )
2024-12-25 23:02:05 -08:00
Jarred Sumner
379c79ee2e
Fix typo
2024-12-25 22:35:52 -08:00
Jarred Sumner
2b2ca3275c
Improve stack overflow, show more properties in Error objects ( #15985 )
...
Co-authored-by: Dave Caruso <me@paperdave.net >
2024-12-25 21:47:13 -08:00
Jarred Sumner
7317c7b4a2
Compress completions list to make zig build a little faster ( #15992 )
2024-12-25 18:04:46 -08:00
Jarred Sumner
608101c975
Add zlib microbenchmark
...
need to improve this
2024-12-24 04:20:24 -08:00
Jarred Sumner
52a568d2b2
Fix flaky zlib dictionary test ( #15976 )
2024-12-24 02:27:07 -08:00
Jarred Sumner
60cb505a98
Use JSObject instead of JSFunction in Bun.plugin ( #15968 )
2024-12-23 12:33:11 -08:00
Jarred Sumner
da54e81955
Support bundling HTML files and their js, css, and assets in Bun.build and bun build ( #15940 )
2024-12-23 11:04:38 -08:00
Jarred Sumner
774e30d383
Make originalLine and originalColumn getter calls not observable ( #15951 )
2024-12-23 03:40:51 -08:00
Jarred Sumner
c6b22d399f
Fix showing source code that looks like export default "file-path" ( #15957 )
2024-12-23 03:40:00 -08:00
Jarred Sumner
1fa6d9e695
+2 passing node:events tests ( #15952 )
2024-12-23 01:45:13 -08:00
Jarred Sumner
4f8a6b33c4
+5 passing node:zlib tests ( #15944 )
2024-12-22 20:39:42 -08:00
Martin Amps
a6ad3b9be4
add --elide-lines override flag for workspace filtering ( #15837 )
2024-12-22 00:14:46 -08:00
github-actions[bot]
b63a6c83b4
deps: update libdeflate to v1.23 ( #15934 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-12-21 21:28:17 -08:00
Don Isaac
14b44aeb49
fix(process): process.kill allows zero or negative pids ( #15920 )
2024-12-21 08:45:39 +00:00
Jarred Sumner
d6b9c444c1
Rename src/bundler.zig to src/transpiler.zig ( #15921 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-12-21 00:59:37 -08:00
Don Isaac
3c37b7f806
fix(lexer): do not treat '#bun' in a url as a pragma ( #15912 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2024-12-21 04:57:42 +00:00
Don Isaac
acb9fdfcf5
refactor: organize native glob code ( #15914 )
...
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2024-12-20 20:59:07 -08:00
Jarred Sumner
50eec0025b
Add regression test for #15902
2024-12-20 19:28:13 -08:00
Jarred Sumner
ac3cd09a42
Bump
2024-12-20 17:54:39 -08:00
Dylan Conway
6e222c8523
fix #15902 ( #15911 )
2024-12-20 17:03:37 -08:00
Jarred Sumner
b8f28ed8af
Bump
2024-12-20 03:44:55 -08:00
dave caruso
7b3554f90c
feat(bundler): add --windows-icon, --windows-no-console, fix bun.exe's main icon ( #15894 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-12-20 03:22:16 -08:00
Jarred Sumner
0c50b0fcec
Fix potential runtime crash if transpiler generates invalid commonjs ( #15898 )
2024-12-20 02:12:08 -08:00
Jarred Sumner
bf9c6fdc00
Revert "fix(lexer): do not treat '#bun' in a url as a pragma" ( #15899 )
2024-12-20 01:31:48 -08:00
Don Isaac
1d9fbe7d67
fix(lexer): do not treat '#bun' in a url as a pragma ( #15888 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2024-12-20 01:26:30 -08:00
Brian Kim
a8893dcae5
Fix macro imports ( #15833 )
2024-12-20 08:34:45 +00:00
dave caruso
8a4852b8b0
fix: pass homedir test ( #15811 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-12-20 00:36:59 -08:00
Dylan Conway
45ca9e08c3
fix(install): peer/dev/optional = false lockfile fix ( #15874 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-20 00:34:21 -08:00
Jarred Sumner
e3fed49082
Implement expect().toHaveBeenCalledOnce() ( #15871 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-12-20 00:23:55 -08:00
Dylan Conway
9164760a5a
fix pnpm.test.ts ( #15897 )
2024-12-19 23:52:50 -08:00
Dylan Conway
747828965e
fix(install): sort tree dependencies by behavior and name ( #15895 )
2024-12-19 23:14:33 -08:00
Jarred Sumner
35679b3178
Update node_util_binding.zig
2024-12-19 17:34:38 -08:00
Don Isaac
960b2b2c11
perf(node:util): fast path for extractedSplitNewLines ( #15838 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2024-12-19 23:42:18 +00:00
Don Isaac
f546a9b605
chore: add usage messages to check-node.sh ( #15885 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-19 22:32:25 +00:00
Ashcon Partovi
3cbcd43f9a
ci: Enable merge queue, disable soft failing tests
2024-12-19 11:18:13 -08:00
Jarred Sumner
b254e69322
Fix svelte testing guide
2024-12-19 03:44:46 -08:00
Jarred Sumner
5dcfc6f10f
Update svelte-test.md
2024-12-19 03:17:02 -08:00
Jarred Sumner
d9b2396948
Update svelte-test.md
2024-12-19 03:16:06 -08:00
Jarred Sumner
e21050dc6f
Update svelte-test.md
2024-12-19 03:09:21 -08:00
Jarred Sumner
276da2dbf5
Create svelte-test.md
2024-12-19 03:09:10 -08:00
Jarred Sumner
b539ca32ea
Make "use strict" become CommonJS if we don't know whether it's ESM or CJS ( #15868 )
2024-12-18 23:23:50 -08:00
Jarred Sumner
ebc2eb5c5b
Support colors array in util.styleText ( #15872 )
2024-12-18 23:23:42 -08:00
Jarred Sumner
10990f5213
Fixes #3554 ( #15870 )
2024-12-18 22:54:11 -08:00
Jarred Sumner
42f23f0966
PR feedback from #15865
2024-12-18 19:42:33 -08:00
Jarred Sumner
ac6723eab7
+13 passing node:vm tests ( #15865 )
2024-12-18 19:41:37 -08:00
Michael H
8e20d02b9b
update registry scope guide (.npmrc is supported) ( #15866 )
2024-12-18 19:28:23 -08:00
dave caruso
41924211f2
add throw: true in Bun.build, to be made default in 1.2 ( #15861 )
2024-12-18 19:27:59 -08:00
Michael H
5d2b72aa3b
don't make inline sourcemap in normal vscode terminal ( #15862 )
2024-12-18 18:30:39 -08:00
Don Isaac
e66a347158
fix(module-loader): use a more descriptive crash message ( #15831 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2024-12-18 14:10:46 -08:00
Jarred Sumner
b5b51004e8
Bump WebKit ( #15828 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-12-17 20:59:10 -08:00
Dylan Conway
2272b852ba
fix(install): npm version to git resolution package-lock.json migration ( #15810 )
2024-12-17 19:59:23 -08:00
Michael H
df5f95b19e
vscode: allow trailing comma in bun.lock ( #15747 )
2024-12-17 18:05:30 -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
Dylan Conway
430c1dd583
add install.saveTextLockfile to bunfig.toml ( #15827 )
2024-12-17 16:52:04 -08:00
Jarred Sumner
ad1738d23c
Fix process.on from non-mainthread ( #15825 )
2024-12-17 16:51:19 -08:00
Jarred Sumner
b7efaa5b19
Bump
2024-12-17 15:30:18 -08:00
Jarred Sumner
1d48561709
Update plugins.md
2024-12-17 01:49:02 -08:00
Jarred Sumner
f2e0d606b6
Update plugins.md
2024-12-17 01:34:17 -08:00
Jarred Sumner
385868f504
Update plugins.md
2024-12-17 01:34:00 -08:00
Jarred Sumner
eecbeb32ec
Move bundler plugin docs
2024-12-17 01:31:14 -08:00
Jarred Sumner
903d8bfa4a
Be more careful about setting the rlimit max
2024-12-17 01:15:24 -08:00
Don Isaac
9524e1c86a
fix: Bun.deepMatch on circular objects causing segfault ( #15672 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-16 22:33:34 -08:00
dave caruso
77acfa23a7
pass all upstream node:os tests, all supported node:async_hooks tests ( #15802 )
2024-12-16 22:22:54 -08:00
Jarred Sumner
9d3b461a25
CI: Remove unnecessary config
2024-12-16 20:38:05 -08:00
Jarred Sumner
9d63ee0edf
CI: test concurrency group
2024-12-16 20:33:56 -08:00
Jarred Sumner
a3090fc204
CI: cancel previous canary build
2024-12-16 20:33:09 -08:00
Jarred Sumner
32c1fdf205
Rename estimateDirectMemoryUsageOf to estimateShallowMemoryUsageOf
2024-12-16 20:18:04 -08:00
Jarred Sumner
aada6f930f
Fix heap snapshots memory usage stats. Introduce estimateDirectMemoryUsageOf function in "bun:jsc" ( #15790 )
2024-12-16 20:16:23 -08:00
Zack Radisic
3906d02e2c
CSS fixes ( #15806 )
2024-12-16 19:40:53 -08:00
pfg
f276484f25
Add lldb scripts for zig & jsc ( #15807 )
2024-12-16 18:31:41 -08:00
Jarred Sumner
4bef96e8d1
Prevent unnecessary postinstall script from causing bun install to hang in unreliable networks
2024-12-16 18:19:43 -08:00
Michael H
f2d955f686
vscode extension: use new debug terminal provider ( #15801 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-16 17:29:12 -08:00
Ashcon Partovi
e8b85cff40
ci: Retry and detect flaky tests ( #15798 )
2024-12-16 17:04:33 -08:00
Dylan Conway
d5f1f2f8ad
Use the same hoisting logic for text lockfile ( #15778 )
2024-12-16 16:37:46 -08:00
Michael H
67e4aec990
attempt to fix debugger ( #15788 )
...
Co-authored-by: RiskyMH <RiskyMH@users.noreply.github.com >
2024-12-16 16:34:55 -08:00
Jarred Sumner
540a0a89ab
Fix text input with ink ( #15800 )
2024-12-16 16:33:15 -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
Jarred Sumner
9604733ee1
✂️
2024-12-16 13:51:45 -08:00
Sam
7633f3cc35
docs: dns.prefetch doesn't require port anymore ( #15792 )
2024-12-16 06:52:49 -08:00
Michael H
1fa0dee5e9
document npm:<package-name> in install docs ( #15754 )
2024-12-15 07:19:34 -08:00
Jarred Sumner
80b0b88315
Deflake doesnt_crash.test.ts
2024-12-15 06:54:34 -08:00
github-actions[bot]
6a24a06741
deps: update c-ares to v1.34.4 ( #15773 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-12-15 04:38:39 -08:00
Jarred Sumner
8a64038fae
Deflake require.cache test
2024-12-15 00:55:18 -08:00
Jarred Sumner
65f5156589
Deflake process test
2024-12-15 00:47:59 -08:00
Brian Donovan
00a8392656
docs(bun-native-plugin-rs): fix typos ( #15764 )
2024-12-14 23:50:03 -08:00
Jarred Sumner
c218bffd94
Add "bin" field to bun.lock ( #15763 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-12-14 22:52:17 -08:00
Jarred Sumner
3ce6ffa6be
Make git dependencies faster + further optimize bun install ( #15771 )
2024-12-14 19:42:23 -08:00
Jarred Sumner
5326a998c7
Don't open node_modules 1,618 times ( #15762 )
2024-12-14 04:48:57 -08:00
Jarred Sumner
0d97c8157f
Add debugger to entitlements plist
2024-12-14 01:57:08 -08:00
Jarred Sumner
ebc33327d3
Delete incorrect debug assertion
2024-12-14 01:56:55 -08:00
Dylan Conway
3df39f4bb7
bun.lock: fix --frozen-lockfile and resolving extra dependencies ( #15748 )
2024-12-13 22:40:12 -08:00
Jarred Sumner
c7020c2edc
Make --expose gc work in nodetests
2024-12-13 22:30:26 -08:00
Meghan Denny
ac12438f69
node: fix test-zlib-from-gzip-with-trailing-garbage.js ( #15757 )
2024-12-13 21:51:02 -08:00
Jarred Sumner
1e19672841
fix clangd
2024-12-13 21:20:43 -08:00
Jarred Sumner
20f9cf0047
Fix flaky signal handlers on posix ( #15751 )
2024-12-13 20:13:56 -08:00
Don Isaac
bd1c5e9876
feat: add JSObject constructors ( #15742 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-12 22:04:19 -08:00
Don Isaac
bbb56acdf7
test(ws): do not create temporary .sock files in root repo directory ( #15670 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-12 21:39:30 -08:00
Jarred Sumner
f64ca29c0e
Fix symbols test. Bump Webkit. ( #15741 )
2024-12-12 20:53:02 -08:00
Dylan Conway
8b3b1442fd
bun.lock workspace sorting and comma bugfix (#15739 )
2024-12-12 19:33:44 -08:00
Jarred Sumner
e72692801a
[ci] Reduce number of environment variables we send ( #15730 )
2024-12-12 17:48:53 -08:00
Dylan Conway
e146734596
bun.lock fixes (#15724 )
2024-12-12 16:45:26 -08:00
Jarred Sumner
7ded578547
[publish images]
2024-12-12 03:22:45 -08:00
Dylan Conway
71af1950fb
bump webkit ( #15328 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-12-12 03:21:56 -08:00
Jarred Sumner
7991be86a3
Fix build
2024-12-12 02:18:25 -08:00
Jarred Sumner
6f50f51528
Deflake a test
2024-12-12 02:07:29 -08:00
Jarred Sumner
2bdf33cac8
Remove silly hack
2024-12-12 01:42:03 -08:00
Jarred Sumner
b3628a526d
✂️
2024-12-12 01:39:34 -08:00
pfg
1b5cb891c8
More passing console tests ( #15676 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-12 01:37:10 -08:00
Don Isaac
fe1e3be104
test(node): add parallel/test-path-resolve.js ( #15707 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-12 01:36:36 -08:00
dave caruso
79dc13ca79
pass all string decoder tests ( #15723 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-12 01:35:08 -08:00
Jarred Sumner
2ccdf0122c
Fix edgecase with socketpair() impacting shell and spawn ( #15725 )
2024-12-12 01:23:40 -08:00
Zack Radisic
fddc28d608
CSS moar fixes ( #15719 )
2024-12-11 21:45:41 -08:00
Meghan Denny
834b6436c6
fix canary
2024-12-11 20:06:42 -08:00
Zack Radisic
113b62be82
Native plugin follow up ( #15632 )
...
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-11 17:51:21 -08:00
pfg
2e0f229722
test(events): 66% -> 94% ( #15716 )
2024-12-11 17:43:19 -08:00
Don Isaac
08e2cf3761
test: mock 'node:test' module in node test harness ( #15696 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-11 17:40:44 -08:00
pfg
0e8f075191
Pass node querystring tests ( #15695 )
2024-12-11 17:39:46 -08:00
Ashcon Partovi
667821c53a
ci: Fix canary releases ( #15713 )
2024-12-11 09:47:17 -08:00
Dylan Conway
b55ca429c7
Implement text-based lockfile ( #15705 )
2024-12-11 05:05:49 -08:00
Don Isaac
78445c543e
refactor: set default for name in ErrorCode.ts ( #15699 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-11 01:07:57 -08:00
Don Isaac
24d73e948a
test(node): add passing path parse format test ( #15703 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-11 00:34:58 -08:00
Jarred Sumner
5cfa4cc0af
✂️
2024-12-11 00:34:19 -08:00
Don Isaac
0bc57eebcb
test(deno): use expect.toBeGreaterThanorEqual on failing deno perf … ( #15700 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-10 22:05:46 -08:00
Meghan Denny
455de2a449
deps: update boringssl ( #15677 )
2024-12-10 20:33:36 -08:00
Meghan Denny
81bc01d477
fix test-event-emitter-method-names.js on windows ( #15692 )
2024-12-10 16:33:57 -08:00
snwy
d21444a681
test: 100% punycode ( #15691 )
2024-12-10 15:38:48 -08:00
Don Isaac
2d5ea4993f
fix(codegen): better error messages for internals using module.exports ( #15687 )
2024-12-10 15:10:21 -08:00
dave caruso
b39632c921
feat: new binding generator ( #15638 )
2024-12-10 12:43:17 -08:00
Jarred Sumner
38325aa41c
Introduce env option in Bun.build() and bun build to let you inject FOO_PUBLIC_*-style env vars ( #15678 )
2024-12-10 01:09:46 -08:00
Jarred Sumner
969bab3848
[build images]
2024-12-10 00:54:04 -08:00
Jarred Sumner
5bd4972d5b
Add passing node tests ( #15675 )
2024-12-10 00:02:09 -08:00
Meghan Denny
68780faee2
fix windows build
2024-12-09 22:30:44 -08:00
Jarred Sumner
0bbc18fd19
Fix rare crash in bun install ( #15651 )
2024-12-09 20:59:29 -08:00
Meghan Denny
53318c8b13
ci: run re-enable node tests on all platforms ( #15572 )
2024-12-09 19:08:30 -08:00
Jarred Sumner
abe69901b2
make the helper quieter
2024-12-09 17:42:40 -08:00
Jarred Sumner
c0cf0414a0
Add helper for running node tests
2024-12-09 17:37:53 -08:00
Natt Nguyen
3dc3527171
fix: testing library docs ( #15667 )
2024-12-09 16:29:34 -08:00
Don Isaac
af4f1c7d39
test: fix case to allow bun-debug ( #15660 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-08 23:48:43 -08:00
github-actions[bot]
2c1dea818c
deps: update sqlite to 3.470.200 ( #15652 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-12-08 02:16:41 -08:00
Kai Tamkun
cc125b475f
Fix missing "readable" events ( #15629 )
2024-12-06 23:59:47 -08:00
Don Isaac
cbbf88f3a6
refactor: remove unused main_api.zig file ( #15635 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-06 21:01:25 -08:00
Don Isaac
8064a55a48
test(bake): fix double free ( #15634 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-06 20:06:26 -08:00
Jarred Sumner
0531d6756c
Ci is doing too much
2024-12-06 19:28:28 -08:00
Ciro Spaciari
6135b3dec9
fix(CI) deflaky node-http.test.ts ( #15625 )
2024-12-06 19:16:59 -08:00
Don Isaac
b08dd8795e
test(web): fix setTimeout refresh test ( #15630 )
...
Co-authored-by: Don Isaac <don@bun.sh >
2024-12-06 19:14:07 -08:00
Ciro Spaciari
c1eba5886f
fix(net) signal should destroy the connection and propagate the error properly ( #15624 )
2024-12-06 16:10:33 -08:00
Ciro Spaciari
fcca2cc398
fix(fetch) fix redirect + Connection: close ( #15623 )
2024-12-06 15:06:11 -08:00
Yuto Ogino
dd32e6b416
Fix zsh auto-completion for package.json scripts with name containing colons ( #15619 )
2024-12-06 10:53:43 -08:00
Jarred Sumner
b453360dff
Fixes #15480 ( #15611 )
2024-12-05 21:15:21 -08:00
pfg
1476e4c958
implement toThrowErrorMatchingSnapshot, toThrowErrorMatchingInlineSnapshot ( #15607 )
2024-12-05 19:07:18 -08:00
Ashcon Partovi
eacf89e5bf
ci: Fix CPU count on build runners
2024-12-05 14:20:05 -08:00
Ashcon Partovi
fa6ac405a4
ci: Add bootstrap.ps1 and automate Windows build images ( #15606 )
2024-12-05 15:16:37 -07:00
pfg
4c8cbecb08
Support flag parameter in readFileSync ( #15595 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-05 13:41:44 -08:00
Michael H
00b7d6479b
bun repl disable inspector/debugger (#15594 )
2024-12-05 13:41:21 -08:00
pfg
bcf023c829
Implement expect().toMatchInlineSnapshot() ( #15570 )
2024-12-05 13:07:10 -08:00
Jarred Sumner
b7b1ca8ebe
Fixes https://github.com/oven-sh/bun/issues/15307
2024-12-05 02:39:34 -08:00
Jarred Sumner
784bc4e012
Introduce high-performance native addon API in Bun.build, starting with build.onBeforeParse hook ( #14971 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
2024-12-04 22:35:43 -08:00
Ciro Spaciari
dd5c40dab7
fix(node:http) fix node:http chunked encoding on server and add chunked encoding support on the client ( #15579 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-04 17:58:21 -08:00
190n
3a4a9ae4e9
Add v8::api_internal::FromJustIsNothing ( #15583 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-12-04 17:57:40 -08:00
Jarred Sumner
9d1a35b658
Fixes https://github.com/oven-sh/bun/issues/15556 ( #15582 )
...
Co-authored-by: Andres Gutierrez <andresgutierrez535@gmail.com >
2024-12-04 17:57:05 -08:00
Meghan Denny
61cc9c3947
Revert "ci: Add bootstrap.ps1 and automate Windows build images" ( #15591 )
2024-12-04 17:07:35 -08:00
Ashcon Partovi
e904a181d8
ci: Add bootstrap.ps1 and automate Windows build images ( #15466 )
...
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
2024-12-04 17:33:00 -07:00
Jarred Sumner
55a0bdc68d
deflake process.test.js
2024-12-04 13:52:37 -08:00
Meghan Denny
55454f7910
[publish images]
2024-12-04 13:46:17 -08:00
Jarred Sumner
e4aeb761e4
Ensure we always drain the dependency list in runTasks() ( #15511 )
2024-12-04 12:40:11 -08:00
pfg
f9efe94b85
Fixes ^C on bun vite ( #15545 )
2024-12-04 12:39:55 -08:00
Robert Shuford
7eb8a3feae
Fixes #14433 - global .npmrc not using auth ( #15539 )
2024-12-04 12:37:18 -08:00
Dylan Conway
d7ed9c673e
add a --config test for bun install ( #15546 )
2024-12-04 12:36:10 -08:00
Ashcon Partovi
b4dce96c40
ci: Publish musl releases to npm
2024-12-04 10:19:15 -08:00
Meghan Denny
52ef8b1778
ci: make annotations always link to file content by commit ( #15573 )
2024-12-04 01:30:26 -08: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
Meghan Denny
23299dadf6
ci: run node tests directly instead of translated files ( #15565 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-12-03 22:10:50 -08:00
Jarred Sumner
0d5e4e162b
spawnSync shouldn't throw ( #15561 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
2024-12-03 19:26:36 -08:00
Don Isaac
d27594ecf4
fix(deps/boringssl): re-enable BIO_new_mem_buf ( #15559 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2024-12-03 16:11:42 -08:00
Ciro Spaciari
a2e2d114e9
fix(net/tls) fix backpressure pause on socket ( #15543 )
2024-12-03 12:53:48 -08:00
Kai Tamkun
da3d64b1ef
Remove a duplicate if statement ( #15555 )
2024-12-03 12:33:27 -08:00
Jarred Sumner
ce64e04b16
Reduce memory usage of WebSocket server ( #15553 )
2024-12-03 12:33:04 -08:00
Dylan Conway
55473cb64a
fix(node:crypto): use options from createHash(alg, options) ( #15547 )
2024-12-03 12:32:41 -08:00
Meghan Denny
752441d911
package.json: put :local builds into their own folder ( #15540 )
2024-12-03 12:22:46 -08:00
Leah Lundqvist
da5d4d791c
docs: add .env.test to guides/runtime/set-env for consistency with do… ( #15542 )
2024-12-02 15:01:08 -08:00
Dylan Conway
6d453be7d9
fix 14540 ( #15498 )
2024-12-02 14:57:49 -08:00
Meghan Denny
2d441d868b
zig: make throw use JSError ( #15444 )
2024-12-02 14:19:18 -08:00
Michael H
56ad4cc4a6
simplify vscode extension title ( #15519 )
2024-12-02 06:29:07 -08:00
github-actions[bot]
d2acb2eac0
deps: update libdeflate to v1.22 ( #15505 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-11-30 07:26:45 -08:00
github-actions[bot]
de7eafbdd1
deps: update lshpack to v2.3.3 ( #15501 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-11-29 20:13:47 -08:00
github-actions[bot]
4114986c3e
deps: update c-ares to v1.34.3 ( #15502 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-11-29 19:10:10 -08:00
dave caruso
8aa451c2dc
bake(dev): plugins in dev server, with other fixes ( #15467 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-29 19:07:56 -08:00
Michael H
497cef9759
bun upgrade --help document --stable option (#15472 )
...
Co-authored-by: RiskyMH <RiskyMH@users.noreply.github.com >
2024-11-29 18:02:18 -08:00
imide
dd57b95546
Add musl related documentation to installation.md ( #15500 )
2024-11-29 18:01:44 -08:00
github-actions[bot]
ea7c4986d7
deps: update lolhtml to 4f8becea13a0021c8b71abd2dcc5899384973b66 ( #15462 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-29 04:20:10 -08:00
Jarred Sumner
6c7edf2dbe
bump
2024-11-29 04:10:01 -08:00
Jarred Sumner
bf2f153f5c
Check for unix:// instead of unix:
2024-11-28 22:07:06 -08:00
Jarred Sumner
f64a4c4ace
Fix debugger connection issue on Windows
2024-11-28 22:05:58 -08:00
Jarred Sumner
0216431c98
Clean up debugger waiting logic ( #15469 )
2024-11-28 01:34:31 -08:00
Jarred Sumner
ae289c4858
use using
2024-11-28 00:40:47 -08:00
Jarred Sumner
5d1609fe5c
Fixes #15470
2024-11-28 00:40:17 -08:00
Ciro Spaciari
471fe7b886
fix(net/tls) fix reusePort, allowHalfOpen, FIN before reconnect ( #15452 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-27 21:30:30 -08:00
Alistair Smith
08222eda71
fix: Connect with 1 socket to new env var but still work with js debug terminal ( #15458 )
2024-11-27 20:47:23 -08:00
github-actions[bot]
6f8c5959d0
deps: update sqlite to 3.470.100 ( #15465 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-11-27 20:39:38 -08:00
Jarred Sumner
40d5e745c9
Stagger the updates
2024-11-27 19:04:08 -08:00
Jarred Sumner
225bfd54fa
Shorter branch names
2024-11-27 18:42:04 -08:00
Jarred Sumner
a6ca8c40d4
Add sqlite3 auto updater script
2024-11-27 18:36:41 -08:00
Jarred Sumner
b52ad226a5
Update actions
2024-11-27 18:08:23 -08:00
Jarred Sumner
5f8f805db9
Update update-libarchive.yml
2024-11-27 17:38:57 -08:00
Jarred Sumner
37c98bebd6
Update update-libarchive.yml
2024-11-27 17:36:32 -08:00
Jarred Sumner
bd01df19c1
github actions
2024-11-27 17:34:28 -08:00
Kai Tamkun
7fd16ebffa
Fix incorrect public TS class field name minification ( #15411 )
2024-11-27 14:06:09 -08:00
Dennis Dudek
1bb211df56
bustDirCache on FileSystemRouter.reload & fix of dir_cache keys in windows ( #15091 )
...
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-27 12:21:32 -08:00
cdfzo
bdd0b89f16
docs: fix broken windows contributing guide url ( #15451 )
2024-11-27 13:01:39 -07:00
Jarred Sumner
841f593b12
Auto-update c-ares, libarchive, libdeflate, lolhtml, lshpack weekly ( #15442 )
2024-11-26 22:01:36 -08:00
Jarred Sumner
3afd19c73c
Clean up .throwError ( #15433 )
2024-11-26 18:22:37 -08:00
Meghan Denny
b6a231add3
musl: fix test/js/bun/http/serve.test.ts ( #15271 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-26 18:18:29 -08:00
Jarred Sumner
ca86bae5d5
Deflake next-build test ( #15436 )
2024-11-26 18:06:10 -08:00
Meghan Denny
215fdb4697
zig: make throwInvalidArgumentTypeValue use JSError ( #15302 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-11-26 17:17:12 -08:00
snwy
578bdf1cd6
bake: params used when doing static site generation ( #15430 )
2024-11-26 16:58:14 -08:00
Ciro Spaciari
cf2fa30639
fix(fetch) fix deref + deinit ( #15432 )
2024-11-26 16:56:55 -08:00
Jarred Sumner
5b3c58bdf5
Update c-ares ( #15435 )
2024-11-26 16:55:53 -08:00
Michael H
0d6d4faa51
better printing for console.log types ( #15404 )
2024-11-26 14:27:39 -08:00
Meghan Denny
5e4642295a
zig: eliminate errorUnionToCPP ( #15416 )
2024-11-26 14:11:48 -08:00
Kai Tamkun
68f026b3cd
FFI: provide napi_env explicitly ( #15431 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-26 13:54:24 -08:00
Meghan Denny
5e9563833d
zig: fix missed compile error from merge
2024-11-26 13:35:32 -08:00
Nick Reilingh
6dd44cbeda
Docs: cli/test.md - Completed GH Actions example ( #15412 )
2024-11-26 13:25:16 -08:00
Jarred Sumner
a9ce4d40c2
Add scratch*.{js,ts,tsx,mts,cts,mjs } to gitignore
2024-11-26 13:09:31 -08:00
Meghan Denny
663f00b62b
zig: make throwOutOfMemory use JSError ( #15413 )
2024-11-26 12:58:43 -08:00
Jarred Sumner
f21fffd1bf
Fix debugger printing exception
2024-11-25 19:57:08 -08:00
Jarred Sumner
d92d8dc886
Bump
2024-11-25 19:18:46 -08:00
Jarred Sumner
6d127ba3f4
Silence another debugger error
2024-11-25 19:13:56 -08:00
Jarred Sumner
c3d9e8c7af
Fix crash in Bun v1.1.36 caused by VSCode extension update
2024-11-25 19:09:34 -08:00
Jarred Sumner
c25e744837
Silence debugger connection error
2024-11-25 19:02:56 -08:00
dave caruso
dc01a5d6a8
feat(DevServer): batch bundles & run them asynchronously ( #15181 )
...
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-11-25 18:55:47 -08:00
Meghan Denny
c434b2c191
zig: make throwPretty use JSError ( #15410 )
2024-11-25 18:08:42 -08:00
Jarred Sumner
8ca0eb831d
Clean up some error handling code ( #15368 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-11-25 15:42:02 -08:00
Ashcon Partovi
b19f13f5c4
bun-vscode: Bump version [no ci]
2024-11-25 15:19:56 -08:00
Meghan Denny
bb3d570ad0
zig: assert there is an exception when .zero is returned ( #15362 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-25 15:19:02 -08:00
Jarred Sumner
a6f37b398c
Fix bug with --eval & --print ( #15379 )
2024-11-25 12:58:30 -08:00
Alistair Smith
39af2a0a56
Fix VSCode extension hanging ( #15407 )
2024-11-25 12:43:46 -08:00
Jarred Sumner
7f6bb30877
Fixes #15403
2024-11-25 04:59:04 -08:00
Jarred Sumner
812288eb72
[internal] Add problem matcher for Zig
2024-11-25 04:43:58 -08:00
Jarred Sumner
9cbe1ec300
Include docs/ folder in bun-types ( #15398 )
2024-11-25 00:12:28 -08:00
Jarred Sumner
4f8c1c9124
Does this make the tests less flaky ( #15399 )
2024-11-25 00:11:10 -08:00
Ashcon Partovi
468a392fd5
ci: Larger zig agents
2024-11-25 00:09:57 -07:00
Ashcon Partovi
f61f03fae3
cmake: Fix cross-compiling zig on alpine ( #15400 )
...
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
2024-11-25 00:07:08 -07:00
Ashcon Partovi
a468d09064
ci: Fix typo
2024-11-24 23:38:59 -07:00
Ashcon Partovi
898feb886f
ci: Temporarily run zig build on ephemeral agents
2024-11-24 23:37:18 -07:00
Lua MacDougall
c5cd0e4575
Bun.serve incorrect file for error page template ( #15397 )
2024-11-24 22:04:54 -08:00
Jarred Sumner
f4a0fe40aa
Fixes #8683 ( #15389 )
2024-11-24 22:03:54 -08:00
imide
2d2e329ee3
Update installation.md ( #15392 )
2024-11-24 16:53:39 -07:00
Christian Rotzoll
618d2cb3ac
docs: clarify concurrency behavior in WAL mode ( #15382 )
2024-11-24 00:56:40 -08:00
Jarred Sumner
6c915fc1d0
Cherry-pick WebKit/WebKit#37039 ( #15380 )
2024-11-23 23:39:42 -08:00
Jarred Sumner
aa60ab3b65
Delete incorrect assertion
2024-11-23 04:35:41 -08:00
Alistair Smith
f855ae8618
VSCode in-editor error messages (readme updates) ( #15325 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-22 22:36:15 -08:00
Jarred Sumner
514a47cb54
Slightly more complete undici polyfill ( #15360 )
2024-11-22 22:01:52 -08:00
Kai Tamkun
1a1cf0a4d7
Fix setRawMode return value on Windows ( #15357 )
2024-11-22 20:28:22 -08:00
advaith
9fbe64619b
Remove outdated todo comment from Windows install script ( #15358 )
2024-11-22 20:25:38 -08:00
Ashcon Partovi
642e0ba73c
cmake: Remove unused code that causes issues with commit messages
2024-11-22 17:33:42 -08:00
Ciro Spaciari
19d7a5fe53
fix(CI) make prisma avoid env url because of CI and rely on getSecret ( #15352 )
2024-11-22 15:23:39 -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
Meghan Denny
82cb82d828
pm: add some missing npm_ env vars ( #14786 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-22 15:13:32 -08:00
Ciro Spaciari
4ae982be4e
fix(CI) mark inspect test as todo and comment why we mark this as todo ( #15354 )
2024-11-22 15:02:26 -08:00
Jarred Sumner
2d65063571
Stub performance.markResourceTiming, add PerformanceResourceTiming, PerformanceServerTiming ( #15341 )
2024-11-22 14:14:05 -08:00
Grigory
746cf2cf01
feat(resolver): add support for self-referencing ( #15284 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-22 04:48:02 -08:00
Jarred Sumner
9c1fde0132
Rewrite most of napi_threadsafe_function ( #15309 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
2024-11-22 04:44:52 -08:00
Jarred Sumner
f8f76a6fe0
CSS fixes & fuzzing ( #15312 )
2024-11-22 04:41:10 -08:00
Alistair Smith
4117af6e46
feat(vscode-extension) error reporting, qol ( #15261 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-11-22 02:55:21 -08:00
Jarred Sumner
5bcaf32ba3
Fix lockfile print crash ( #15332 )
2024-11-22 02:07:11 -08:00
Jarred Sumner
d01bfb5aa2
Ensure test with errors before JS execution exit with code 1 ( #15321 )
2024-11-22 01:33:58 -08:00
pfg
78b495aff5
fix \uFFFF printing regression ( #15330 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-21 22:01:27 -08:00
Ciro Spaciari
6adb3954fe
fix(ReadableStream) flush as much we can before ending the stream ( #15324 )
2024-11-21 20:16:43 -08:00
Jarred Sumner
b152fbefcd
Remove a test.only
2024-11-21 17:49:54 -08:00
Ciro Spaciari
8c0c97a273
fix(ws) ping without parameters ( #15319 )
2024-11-21 17:48:50 -08:00
pfg
95fcee8b76
Fix expect toMatchSnapshot not working for some strings ( #15183 )
2024-11-21 17:46:45 -08:00
Meghan Denny
c3f63bcdc4
zig: make throwInvalidArguments use JSError ( #15305 )
2024-11-21 16:19:13 -08:00
Jarred Sumner
2283ed098f
Remove Amazon Linux 2023 tests for now
2024-11-21 02:52:56 -08:00
Michael H
43dcb8fce1
docs: --bail [n] -> --bail=[n] ( #15301 )
2024-11-20 21:46:57 -07:00
Ciro Spaciari
0eb6a4c55e
fix(Bun.file) throw OOM if read is too big ( #15253 )
2024-11-20 19:56:00 -08:00
Pham Minh Triet
144db9ca52
Fix typo in 15276.test.ts ( #15304 )
2024-11-20 19:11:12 -08:00
Jarred Sumner
a6a4ca1e49
fix(install): ensure aliases hash map is initialized ( #15280 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-20 18:52:34 -08:00
Meghan Denny
314b4d9b44
fix fuzzy-wuzzy test ( #15297 )
2024-11-20 17:21:27 -08:00
Meghan Denny
0e3e33072b
zig: rename CallFrame.arguments to .arguments_old to free up decl name ( #15296 )
2024-11-20 16:18:56 -08:00
Ciro Spaciari
3681aa9f0a
fix(root_cert) use a more reliable source for the latest cert ( #15262 )
2024-11-20 15:57:35 -08:00
Meghan Denny
c9d0fd51a9
zig: make throwTODO use JSError ( #15264 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-20 15:16:51 -08:00
Meghan Denny
4fe8b71437
ci: bootstrap.sh: musl download of bun no longer has to be special-cased ( #15265 )
2024-11-20 13:31:06 -08:00
Meghan Denny
1efab7f42d
zig: JSValue: make .get and .toSliceOrNull use JSError ( #15270 )
2024-11-20 13:26:41 -08:00
Meghan Denny
61a3f08595
bindings: make throwInvalidArgumentTypeValue print the value like the real ERR_INVALID_ARG_TYPE ( #14804 )
2024-11-19 22:35:25 -08:00
Meghan Denny
363595fd31
bunjs: print received value when Bun.write is passed a bad argument ( #14805 )
2024-11-19 22:34:41 -08:00
Meghan Denny
173f67d81e
zig: make throwError use JSError ( #15267 )
2024-11-19 22:21:02 -08:00
Meghan Denny
05d5ab7489
ci: disable testing on debian 10
2024-11-19 20:32:08 -08:00
Meghan Denny
b7bd5a4cf5
zig: remove noop JSGlobalObject.ptr() ( #15268 )
2024-11-19 19:45:40 -08:00
Ashcon Partovi
ab4da13785
ci: Disable changed files detection until bugs are fixed
2024-11-19 20:44:06 -07:00
Meghan Denny
ab3cb68f66
zig: make throwNotEnoughArguments use JSError ( #15266 )
2024-11-19 19:07:14 -08:00
Meghan Denny
795f14c1d1
zig: align getTruthy to use JSError ( #15199 )
2024-11-19 18:46:08 -08:00
Ashcon Partovi
708ed00705
ci: Expand automated build images to Debian, Ubuntu, and Amazon Linux ( #15250 )
2024-11-19 19:31:15 -07:00
Jarred Sumner
ff4eccc3b4
bump
2024-11-19 15:53:26 -08:00
Ashcon Partovi
ededc168cf
Bun v1.1.36 [release]
2024-11-19 14:28:20 -08:00
Ashcon Partovi
46c750fc12
Bun v1.1.36 [release]
2024-11-19 14:27:46 -08:00
Meghan Denny
fc94db1efb
ci: changedFiles can be undefined
2024-11-19 02:23:54 -08:00
Meghan Denny
958e531cc5
ci: always build images when core ci files change ( #15229 )
2024-11-19 02:19:56 -08:00
Meghan Denny
206d2edf12
docker:alpine: update to 3.20 and use bun musl build ( #15241 )
2024-11-19 00:57:40 -08:00
Meghan Denny
ecb0098b89
us_bun_verify_error_t: ensure c struct matches zig extern ( #15244 )
2024-11-19 00:52:38 -08:00
Meghan Denny
ba767aa5ba
Revert "fix(tls) fix type matching" ( #15243 )
2024-11-19 00:08:25 -08:00
Kai Tamkun
46515d4865
Call Bun__onExit + std.os.windows.kernel32.ExitProcess to exit on Windows ( #15237 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-11-18 22:58:19 -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
Ashcon Partovi
daece6a0ed
Revert "cmake: Set explicit rustc target"
...
This reverts commit cba3bda8ec .
2024-11-18 20:04:55 -08:00
Jarred Sumner
adaee07138
[Bun.sql] Support TLS ( #15217 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-11-18 19:38:23 -08:00
pfg
8a0666acd1
Fix setTimeout with node:util.promisify ( #15230 )
2024-11-18 19:29:55 -08:00
pfg
fd1d6b10d4
Fix docs on todo tests ( #15233 )
2024-11-18 19:28:28 -08:00
Ciro Spaciari
d19c18580b
fix(tls) fix type matching ( #15224 )
2024-11-18 19:23:27 -08:00
Ashcon Partovi
f8e9adeb64
ci: Do not check changed files on main
2024-11-18 18:52:02 -08:00
Zack Radisic
3c95d5d011
Fix bundler crash with onLoad plugins on copy-file loaders used on entrypoints ( #15231 )
2024-11-18 18:50:01 -08:00
Jarred Sumner
9ad3471fb0
Support Headers & URLSearchParams in expect().toEqual() ( #15195 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
2024-11-18 18:49:29 -08:00
Ashcon Partovi
cba3bda8ec
cmake: Set explicit rustc target
2024-11-18 18:33:28 -08:00
Ashcon Partovi
5b1808b90b
Revert "Ensure that lolhtml builds the target platform"
...
This reverts commit b023bb805b .
2024-11-18 18:08:54 -08:00
Ashcon Partovi
b023bb805b
Ensure that lolhtml builds the target platform
2024-11-18 17:59:01 -08:00
Dennis Dudek
98bb5999a3
Fixed Responses to OPTIONS Requests ignore Body ( #15108 )
2024-11-18 17:55:50 -08:00
Pham Minh Triet
d5a118e25f
Fix(doc): update cluster.md ( #15214 )
2024-11-18 03:04:36 -08:00
Ciro Spaciari
1911fa1e75
fix(HttpParser) always check if content length is valid before calling requestHandler ( #15179 )
2024-11-16 19:41:59 -08:00
Meghan Denny
6dbf1bff4f
musl: fix test/js/node/process/process.test.js ( #15185 )
2024-11-16 02:57:20 -08:00
Jarred Sumner
a5a0539f26
Fixes #15177 ( #15180 )
2024-11-16 02:18:13 -08:00
Meghan Denny
3393b0e1d3
musl: fix third_party/prisma.test.ts ( #15186 )
2024-11-16 01:44:53 -08:00
Dylan Conway
910efec0b7
fix auto-install on windows when symlinks aren't available ( #15182 )
2024-11-16 00:43:12 -08:00
Meghan Denny
dafd8156b0
ci: skip running tests on main branch
2024-11-15 22:18:55 -08:00
Meghan Denny
befb269b2d
zig: align fromJS methods to using JSError ( #15165 )
2024-11-15 22:14:18 -08:00
Ashcon Partovi
39d8ade27c
ci: musl builds ( #15154 )
...
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
2024-11-15 21:01:55 -08:00
Meghan Denny
4fedc41545
musl: fix 'bun upgrade' ( #15178 )
2024-11-15 20:58:23 -08:00
dave caruso
15f2bbb33a
docs: remove contributing instructions involving winget ( #15176 )
2024-11-15 13:06:51 -08:00
Jarred Sumner
4ddb63e7e2
Try linker script ( #15158 )
2024-11-15 13:02:10 -08:00
Grigory
3791146476
docs(contributing): group os-specific code tabs ( #15173 )
2024-11-15 12:50:28 -08:00
ippsav
910e479d29
Fix node:net not handling path in listen ( #15162 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-11-15 10:35:14 -08:00
Meghan Denny
266e033d6f
node:https: fix prototype chain of Agent ( #15160 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-11-14 19:03:16 -08:00
Ashcon Partovi
9a6f033206
ci: Fix changed files detection on forks
2024-11-14 18:34:13 -08:00
Meghan Denny
2810f39802
zig: make all JS constructors use JSError ( #15146 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-11-14 16:36:01 -08:00
Michael H
3170b88058
fix vscode debugger ( #14995 )
2024-11-14 14:24:18 -08:00
Jarred Sumner
357581c61a
Shrink Bun's binary by 3.5 MB ( #15121 )
2024-11-14 06:02:15 -08:00
pfg
d8987ccdb8
Remove assertion in js printer triggering for unicode comments ( #15143 )
2024-11-14 00:14:43 -08:00
Meghan Denny
fdd8d35845
allow zig js host functions to return JSError ( #15120 )
2024-11-13 21:11:56 -08:00
dave caruso
32ddf343ee
bake: csr, streaming ssr, serve integration, safer jsvalue functions, &more ( #14900 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-13 18:19:12 -08:00
Meghan Denny
bceb0a2327
ci: fix release script ( #15129 )
2024-11-13 18:29:14 -07:00
Meghan Denny
9b0cdf01f9
cpp: Bun::toStringRef: return dead when exception has been thrown ( #15127 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-13 17:03:59 -08:00
Meghan Denny
35513a9d6d
zig: remove JSValue.isEmpty ( #15128 )
2024-11-13 16:04:13 -08:00
Meghan Denny
f8979b05b1
rid nearly all use of ExceptionRef in zig ( #15100 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-11-13 15:23:52 -08:00
ippsav
ec91e91fda
Pass missing signal code for child_process.spawnSync ( #15137 )
2024-11-13 15:07:43 -08:00
Meghan Denny
956853f036
test: dont overwrite root package.json when running bun-ipc-inherit.test.ts ( #15126 )
2024-11-13 00:14:57 -08:00
Dylan Conway
c5df329772
#15059 follow-up ( #15118 )
2024-11-12 18:17:35 -08:00
Ciro Spaciari
e945146fde
fix(bundler) fix pretty path resolution ( #15119 )
2024-11-12 18:16:13 -08:00
Ciro Spaciari
873b0a7540
fix(socket) Support named pipes on Windows using forward slashes ( #15112 )
2024-11-12 16:09:43 -08:00
Dennis Dudek
c785ab921b
ci: Fix detection of changed files ( #15114 )
...
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-11-12 15:27:27 -07:00
Meghan Denny
797958082c
musl patches [v4] ( #15066 )
2024-11-11 19:23:58 -08:00
Jarred Sumner
2b9abc20da
Use linux syscall interface more in I/O ( #15067 )
2024-11-11 14:47:04 -08:00
Jarred Sumner
d713001e35
Fixes #14982
2024-11-11 14:40:11 -08:00
Jarred Sumner
b49f6d143e
Postgres client - more progress ( #15086 )
2024-11-11 14:40:02 -08:00
pfg
4cf9851747
Bump runtime transpiler cache version for #15009 ( #15094 )
2024-11-11 14:38:17 -08:00
pfg
56f7c8887b
Fix unicode imports, unicode-escaped variable names, and printClauseAlias not working for utf-8 ( #15009 )
2024-11-11 13:27:42 -08:00
Ciro Spaciari
62cabe9003
fix(tests) new grpc certs ( #15090 )
2024-11-11 13:00:58 -08:00
Jarred Sumner
781a392baa
Add micro-optimization to fs.readFile ( #15076 )
2024-11-11 10:35:17 -08:00
Jarred Sumner
d879f4370d
Update hashing.md
2024-11-09 02:27:50 -08:00
Jarred Sumner
ae6e23ab28
Update hashing.md
2024-11-09 02:25:18 -08:00
Jarred Sumner
7a9165555d
Update hashing.md
2024-11-09 02:19:24 -08:00
Michael H
b54137174b
Bench updates ( #15029 )
...
Co-authored-by: RiskyMH <RiskyMH@users.noreply.github.com >
2024-11-08 23:15:24 -08:00
Dylan Conway
635789944b
update
2024-11-08 21:14:42 -08:00
Jarred Sumner
a1c4f667d9
Support ${configDir} in tsconfig.json ( #15063 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-08 17:08:54 -08:00
Zack Radisic
07dc1ae547
.defer(), .onStart(), and some small CSS changes (#15041 )
2024-11-08 16:38:30 -08:00
Dylan Conway
8f5eab3c84
fix(install): package-lock.json migration and non-existent cafile fixes ( #15059 )
2024-11-08 14:34:44 -08:00
Jarred Sumner
6ec03b8b05
Add to documentation
2024-11-07 22:54:08 -08:00
Ciro Spaciari
183c661c40
net compatibility improvements ( #14933 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-07 22:03:53 -08:00
Meghan Denny
c2e7643aa9
musl patches [v3] ( #15031 )
2024-11-07 21:31:32 -08:00
Jarred Sumner
376b1b4f97
Support preload option in Worker ( #15045 )
2024-11-07 21:30:51 -08:00
Jarred Sumner
27067d2a6d
Allow using Proxy and module namespace objects in APIs ( #15043 )
2024-11-07 19:45:29 -08:00
Jarred Sumner
1e932ff38b
[VSCode extension] Add [eval with bun] code lens on untitled, unsaved scratch JavaScript files ( #14983 )
2024-11-07 12:30:38 -08:00
Meghan Denny
a116b2281e
musl patches [v2] ( #15028 )
2024-11-06 23:55:23 -08:00
Dylan Conway
66ba6ba061
fix 14957 ( #15025 )
2024-11-06 19:41:39 -08:00
Jarred Sumner
8d4bb080a3
Implement console.group ( #15026 )
2024-11-06 19:40:58 -08:00
Ashcon Partovi
bef50a9b9b
ci: misc fixes and test runner changes ( #15024 )
2024-11-06 18:15:55 -07:00
Jarred Sumner
56b57012ed
Bump!
2024-11-06 15:05:23 -08:00
Tim Ermilov
c39ae74d3e
Fix importing of ES modules from data URIs ( #14959 )
2024-11-06 15:00:24 -08:00
Christophe Eymard
fc071d3362
remove checks for self closing tags ( #14990 )
2024-11-06 14:58:31 -08:00
Jarred Sumner
1a9d20e50a
Support debugging builtin modules ( #15018 )
2024-11-06 14:57:35 -08:00
Jarred Sumner
8d8a6bc5c3
Fix prototypical inheritance issue in node:zlib and add a $toClass helper ( #15015 )
2024-11-06 14:56:10 -08:00
Jarred Sumner
076d1d3d36
Never try using epoll_pwait2 on old linux kernels ( #14980 )
2024-11-06 03:42:24 -08:00
Jarred Sumner
484c3de861
Show if napi_module_register or dlopen was called in crash reports ( #15008 )
2024-11-05 20:57:55 -08:00
Meghan Denny
27a1b2413b
patches to allow linux-musl to bootstrap ( #14994 )
2024-11-05 17:22:05 -08:00
Amit Dhamu
3950873272
Fix typo for configuring specific registry ( #15001 )
2024-11-05 08:11:57 -08:00
pfg
6fb73f2011
Visually center logo in readme ( #14969 )
2024-11-04 15:28:16 -07:00
pfg
497fa59bf0
Fix #14865 ( #14953 )
2024-11-02 17:13:31 -07:00
Jarred Sumner
5e5e7c60f1
Fix release build
2024-11-01 20:41:20 -07:00
Ciro Spaciari
85fd471d9d
fix(net) fix bytesWritten drain ( #14949 )
2024-11-01 19:43:42 -07:00
Jarred Sumner
6914c5e32c
Fixes #13816 ( #13906 )
...
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: Ryan Gonzalez <git@refi64.dev >
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Dave Caruso <me@paperdave.net >
2024-11-01 18:38:01 -07:00
Jarred Sumner
ce2afac827
Align "encoding" option in node fs with node ( #14937 )
2024-11-01 18:16:04 -07:00
Ciro Spaciari
5236d974b5
revert
2024-11-01 17:25:59 -07:00
Ciro Spaciari
6e448619d0
fix drain event, drain must be called only after internal buffer is drained
2024-11-01 17:23:00 -07:00
Jarred Sumner
c89a958299
Fixes #11754 ( #14948 )
2024-11-01 15:35:28 -07:00
Jarred Sumner
d75488124d
Inline process.versions.bun in bun build --compile ( #14940 )
2024-11-01 14:45:19 -07:00
Ashcon Partovi
4d269995ad
Run tests from npm packages, elysia to start ( #14932 )
2024-11-01 11:57:47 -07:00
190n
71fdb59918
Fix napi property methods on non-objects ( #14935 )
2024-10-31 21:02:26 -07:00
Dylan Conway
62881ee36b
Redact secrets in bunfig.toml and npmrc logs ( #14919 )
2024-10-31 18:44:24 -07:00
Dylan Conway
6933208790
fix(install): only globally link requested packages ( #12506 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-31 18:21:04 -07:00
Jarred Sumner
b1e9e3b31b
Add bytesWritten property to Bun.Socket, fix encoding issue in node:net ( #14516 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-10-31 17:54:07 -07:00
Jarred Sumner
7035a1107e
Fixes #14918 ( #14921 )
2024-10-31 14:26:19 -07:00
Ashcon Partovi
353d44f1ae
ci: If only tests change, use artifacts from last successful build ( #14927 )
2024-10-31 12:50:09 -07:00
Jarred Sumner
4b8ca51b87
Clean up some code in node validators ( #14897 )
2024-10-31 12:28:07 -07:00
Ciro Spaciari
f8d5b2e6e2
Fix module resolution cache keys ( #14901 )
...
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-10-30 22:06:21 -07:00
190n
9647291d73
Implement NAPI type tagging ( #14915 )
2024-10-30 19:57:48 -07:00
Jarred Sumner
eaa088ba55
Fix missing symbol errors and add a test ( #14907 )
...
Co-authored-by: Jarred Sumner <jarred@bun.sh >
2024-10-30 19:55:42 -07:00
Gerd Jungbluth
955cc6265b
fix(docs): add missing character in drizzle guide ( #14911 )
2024-10-30 08:42:38 -07:00
Dylan Conway
489890deb1
fix(install): check cached package.jsons ( #14899 )
2024-10-29 18:55:52 -07:00
pfg
d7710c6c67
Fix additional arguments when running a package.json script ( #14895 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-29 18:55:32 -07:00
Jarred Sumner
9f70f68f00
EventEmitter.name should be "EventEmitter" instead of "EventEmitter2" (#14898 )
2024-10-29 18:42:24 -07:00
Jarred Sumner
240b2a539f
Introduce Bun.randomUUIDv7 ( #14858 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-10-29 16:39:09 -07:00
Jarred Sumner
b9e5420571
Add https://github.com/uNetworking/uWebSockets/pull/1792 ( #14864 )
2024-10-29 12:56:25 -07:00
Jarred Sumner
b5a73130ad
Reduce memory usage in long-running processes ( #14885 )
2024-10-29 12:56:10 -07:00
Jarred Sumner
d5f9978007
Fix missing symbol error on llvm 18
2024-10-29 00:08:29 -07:00
pfg
698e87aa67
Fix #14187 ( #14884 )
2024-10-28 18:11:03 -07: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
Jarred Sumner
f005e8c057
Fix HTTP spec issues by upgrading uWS version ( #14853 )
2024-10-27 12:34:45 -07:00
dave caruso
e93c5ad993
feat(bake): css, production build, dev separateSSRGraph=false ( #14622 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-10-27 01:57:36 -07:00
Meghan Denny
5237869101
bun-install-registry.test.ts: remove ini format hint here ( #14803 )
2024-10-26 16:51:19 -07:00
Jarred Sumner
2456d70ac7
Fixes #14716 ( #14834 )
2024-10-26 15:15:13 -07:00
Meghan Denny
50d80a805d
pm: fix weird package.json formatting after install ( #14801 )
2024-10-26 01:36:25 -07:00
Meghan Denny
2d9a73fc07
test: fix expected value of 'should perform bin-linking across multiple dependencies' ( #14833 )
2024-10-26 01:02:24 -07:00
Jarred Sumner
d0b3802a79
github actions
2024-10-25 23:50:12 -07:00
Jarred Sumner
7053212566
Update associate-issue-with-sentry.ts
2024-10-25 23:47:15 -07:00
Jarred Sumner
4f5660a6f7
Add sentry id to crash report comment
2024-10-25 23:40:27 -07:00
Dylan Conway
87279392cf
fix 9395 ( #14815 )
2024-10-25 19:58:45 -07:00
Bjorn Beishline
7f5860331e
Fixed compilation issues with no outdir ( #14717 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
2024-10-25 18:43:58 -07:00
Dylan Conway
b895738156
fix(install): migrate package-lock.json with dependency on root package ( #14811 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-25 01:32:17 -07:00
Dylan Conway
61534c7efe
Remove warning for unused registry options from npmrc ( #14813 )
2024-10-25 01:31:39 -07:00
Jarred Sumner
ec4c9f8f84
Update mimalloc ( #14814 )
2024-10-25 01:31:24 -07:00
Jarred Sumner
35a64d8585
Bump WebKit ( #14812 )
2024-10-25 01:31:12 -07:00
Minsoo Choo
eb6995e09b
Update SvelteKit usage guide ( #14777 )
2024-10-25 00:04:32 -07:00
Meghan Denny
1391e5269b
Revert "ci: merge clang-format and clang-tidy into single pipeline" ( #14809 )
2024-10-25 00:04:13 -07:00
Dylan Conway
9621b641a1
update test/bun.lockb ( #14746 )
2024-10-25 00:03:52 -07:00
Dylan Conway
5eaa7301eb
fix(install): patches with bin in package.json ( #14807 )
2024-10-25 00:03:19 -07:00
Arthur
f21870a06c
chore(console): updated jsdoc table ( #14792 )
2024-10-24 21:20:46 -07:00
Don Isaac
0e4006eefd
ci: merge clang-format and clang-tidy into single pipeline ( #14798 )
2024-10-24 15:26:05 -07:00
Dylan Conway
9643a924e1
bump
2024-10-24 14:24:08 -07:00
Dylan Conway
247456b675
fix(install): continue install if optional postinstall fails ( #14783 )
2024-10-23 21:58:53 -07:00
Meghan Denny
6f60523e6c
" -> ' (#14776 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-23 19:21:36 -07:00
Jarred Sumner
2de2e9f600
48 -> 64
2024-10-23 18:27:02 -07:00
Ciro Spaciari
29bf8a505d
fix(tests) pq -> pg + populate before ( #14748 )
2024-10-23 18:01:06 -07:00
Jarred Sumner
93d115f9b7
Reduce default max network connection limit from 256 to 48 in bun install ( #14755 )
2024-10-23 15:34:16 -07:00
Ashcon Partovi
74e440d58a
ci: Set prioritization based on fork, main branch, or queue
2024-10-23 09:16:48 -07:00
Ashcon Partovi
aa4dde976d
ci: Fix pipeline script when on main branch
2024-10-23 09:03:06 -07:00
Ashcon Partovi
eb0e9b9bde
ci: Skip builds when only docs are changed ( #14751 )
2024-10-23 08:54:53 -07:00
Liran Tal
a656cc1b70
docs: fix missing code highlight in spawn.md ( #14761 )
2024-10-23 01:01:21 -07:00
Ashcon Partovi
4044ff740d
ci: add scripts for building macOS images ( #14743 )
2024-10-22 16:07:12 -07:00
Ashcon Partovi
b9240f6ec7
cmake: only enable LTO when release + linux + ci
2024-10-22 13:10:58 -07:00
Eckhardt (Kaizen) Dreyer
3db0191409
fix(install): Skip optional dependencies if false in bunfig.toml ( #14629 )
2024-10-22 11:55:10 -07:00
Oliver Medhurst
00b055566e
contributing: fix fedora llvm install steps ( #14726 )
2024-10-22 11:40:46 -07:00
snwy
517cdc1392
fix jsx symbol collisions when importing own variables with same names ( #14343 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-22 00:17:18 -07:00
Pham Minh Triet
8b4b55725e
Fix(doc): update Next.js guide ( #14730 )
2024-10-22 00:16:15 -07:00
Jarred Sumner
38d39109b3
Fix assertion failure
2024-10-21 21:46:17 -07:00
Jarred Sumner
ec29311c7a
Bump
2024-10-21 18:05:10 -07:00
Ciro Spaciari
fe8d0079ec
tls(Server) fix connectionListener and make alpnProtocol more compatible with node.js ( #14695 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-10-21 01:58:14 +00:00
Jarred Sumner
8063e9d6b8
Fixes #14411 ( #14691 )
2024-10-20 22:02:44 +00:00
Vaggelis Papadogiannakis
ae8de1926e
Update instructions to run a bun application via pm2 with the use… ( #14704 )
2024-10-20 15:06:45 -07:00
Minsoo Choo
b9b94de5ed
icu required on openSUSE for local webkit build ( #14690 )
2024-10-20 01:08:42 -07:00
Jarred Sumner
070e5804ad
Implement crypto.hash() ( #14683 )
2024-10-19 12:14:23 -07:00
Jarred Sumner
67b4478137
Fixes #14333 ( #14679 )
2024-10-19 01:14:13 -07:00
Jarred Sumner
522c9fa22d
Clarify some of this
2024-10-19 00:26:30 -07:00
Jarred Sumner
4b63ffeceb
Clarify node-fallbacks
2024-10-19 00:23:57 -07:00
Pham Minh Triet
fe45b1e9b9
Fix(doc): SNI typo ( #14508 )
2024-10-18 22:37:57 -07:00
Jarred Sumner
d41ca824dd
Bump
2024-10-18 22:32:42 -07:00
Meghan Denny
663331c56f
fix regression in BunJSGlobalObjectDebuggable from most recent webkit upgrade ( #14675 )
2024-10-18 22:31:39 -07:00
Meghan Denny
64d0b626b9
Bun.color: fill out missing options and examples for outputFormat ( #14656 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2024-10-18 22:29:53 -07:00
Dylan Conway
e5c00ab4b4
fix(CryptoHasher): throw error if update or digest are called after digest ( #14677 )
2024-10-19 02:21:41 +00:00
Meghan Denny
4f2d924db3
Bun.color: match accepted outputFormat options to error ( #14657 )
2024-10-19 00:34:56 +00:00
Ashcon Partovi
bf8a75a63f
Revert "Remove soft_fail from Buildkite since merge queue is enabled"
...
This reverts commit 253cc15a9f .
2024-10-18 16:04:58 -07:00
Ashcon Partovi
253cc15a9f
Remove soft_fail from Buildkite since merge queue is enabled
2024-10-18 13:28:24 -07:00
Meghan Denny
fbf4b30e70
bun-types: add missing options to DigestEncoding ( #14654 )
2024-10-18 19:17:10 +00:00
Dylan Conway
f3b658d9f7
fix double free with invalid TLSOptions ( #14648 )
2024-10-18 05:16:21 +00:00
Ciro Spaciari
b652136cf7
update docs ( #14620 )
2024-10-18 01:26:50 +00:00
Ashcon Partovi
8376b82371
Fix merge queue ( #14646 )
2024-10-18 01:22:35 +00:00
Ashcon Partovi
7bb39023b8
Merge queue ( #14639 )
2024-10-18 01:14:42 +00:00
Meghan Denny
850cdb0587
vscode: set the launch configs' cwd to the root ( #14643 )
2024-10-17 16:24:10 -07:00
Ciro Spaciari
2f2a24f625
bench: fix grpc and scripts ( #14638 )
2024-10-17 13:30:47 -07:00
Dylan Conway
e448c4cc3b
fs.mkdir empty string bugfix (#14510 )
2024-10-16 18:55:49 -07:00
Ciro Spaciari
2d0b557ff7
add grpc-js bench ( #14601 )
2024-10-16 11:11:53 -07:00
Meghan Denny
15f5ba3e26
jest: print received value when expect().toThrow() doesnt throw ( #14608 )
2024-10-16 11:11:26 -07:00
refi64
1385f9f686
cmake: force the c-ares libdir to always be 'lib' ( #14602 )
2024-10-16 10:13:20 -07:00
Ciro Spaciari
07ccec0fd8
H2 fixes ( #14606 )
2024-10-16 09:06:56 -07:00
Dylan Conway
7283453eed
use memset_patternN in Buffer.fill ( #14599 )
2024-10-15 21:16:57 -07:00
Ciro Spaciari
1a08cfcd6b
fix h2 tests failures ( #14598 )
2024-10-15 18:36:23 -07:00
Meghan Denny
06e733cc64
ci: run clang-format on .h files too ( #14597 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-10-15 16:54:49 -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
Meghan Denny
d15eadaa2c
tsconfig.json: update excludes ( #14578 )
2024-10-15 15:39:09 -07:00
dave caruso
5532e1af10
feat(bake): hot-reloading error modal ( #14573 )
2024-10-15 00:02:58 -07:00
Meghan Denny
68e6304c73
node:child_process: 'ineherit' stdio should make getters be null ( #14576 )
2024-10-14 23:41:34 -07:00
Meghan Denny
709cd95c30
test: use isWindows from harness ( #14577 )
2024-10-14 21:19:09 -07:00
Meghan Denny
3830b0c499
more passing node buffer tests ( #14371 )
2024-10-14 20:22:14 -07:00
Meghan Denny
291b59eb19
bun-types: small fixes ( #12794 )
2024-10-14 20:15:03 -07:00
190n
035f97ba13
WIP: nuke EventSource as it doesn't work anyway ( #14421 )
2024-10-14 19:55:06 -07:00
huseeiin
fef9555f82
fix typo. constributors -> contributors ( #14531 )
2024-10-14 19:50:17 -07:00
Meghan Denny
ae0106b651
delete legacy node test runner ( #14572 )
2024-10-14 17:31:34 -07:00
Meghan Denny
355dc56db0
scripts/runner.node.mjs: print list of failing tests when run locally ( #14571 )
2024-10-14 17:22:06 -07:00
Jarred Sumner
5fc53353fb
Allow disabling keep-alive ( #14569 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-10-14 16:58:42 -07:00
dave caruso
d2fe1ce1c8
feat(bake): handle bundle errors, re-assemble full client payloads, initial error modal ( #14504 )
2024-10-14 16:49:38 -07:00
Jarred Sumner
29d287261b
Fix several bugs when printing exceptions from Error.captureStackTrace ( #14548 )
2024-10-14 13:43:06 -07:00
Sebastian
6dbd679c06
docs: fix typo ( #14565 )
2024-10-14 13:29:28 -07:00
Meghan Denny
a5006a13a8
fetch-tcp-stress.test.ts: todo failing on macos ci ( #14514 )
2024-10-14 12:48:42 -07:00
Meghan Denny
bebf762bcf
streams.test.js: todo failing macos test ( #14513 )
2024-10-14 12:48:04 -07:00
Minsoo Choo
e6ea389e4e
Next.js dev server now runs on Bun ( #14566 )
2024-10-14 12:11:30 -07:00
Timo Sand
47ff4748bd
Remove duplicate in import-json.md ( #14521 )
2024-10-13 15:34:38 +11:00
Don Isaac
09b031d044
fix(parser): uncaught mismatch between JSX opening/closing tags ( #14528 )
2024-10-12 19:49:45 -07:00
Zack Radisic
6b8fd718c2
Various CSS stuff ( #14499 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-12 07:00:20 -07:00
Jarred Sumner
9ed3858e40
Some types and docs
2024-10-12 06:19:46 -07:00
Dylan Conway
6cf9c41d1f
fix(install): ensure read permissions when extracting files ( #14511 )
2024-10-12 02:37:51 -07:00
Dylan Conway
183a8f61d8
fix bun-build-api.test.ts ( #14503 )
2024-10-12 00:48:22 -07:00
Jarred Sumner
85fbd1e273
we really need a merge queue
2024-10-11 21:51:40 -07:00
Mathieu Schroeter
9744684b10
Attempt to add support for iterate() with SQLite statements ( #14361 )
2024-10-11 21:42:59 -07:00
Jarred Sumner
43a5c4a044
Implement Bun.inspect.table ( #14486 )
2024-10-11 21:35:49 -07:00
Dylan Conway
d3323c84bb
fix(publish): missing bins bugfix ( #14488 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-11 21:28:47 -07:00
Jarred Sumner
f870293d30
Add timeout warning ( #14478 )
2024-10-11 21:20:55 -07:00
Jarred Sumner
4c26a257ac
Fixes #14398 ( #14401 )
2024-10-11 21:18:07 -07:00
Jarred Sumner
c77fc5daa0
Implement --drop ( #14492 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-10-11 20:52:23 -07:00
Dylan Conway
bbb41beadc
bump webkit ( #14497 )
2024-10-11 19:44:53 -07:00
Meghan Denny
3f92ec8af3
fix label in 3-typescript-bug-report.yml ( #14502 )
2024-10-11 19:39:30 -07:00
Dylan Conway
5fd0a61ae2
CA support for bun install ( #14416 )
2024-10-11 13:16:26 -07:00
Meghan Denny
9fe6e25372
pm: fix assertion failure when printing lockfile summary after adding git transitive dependency ( #14461 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-11 03:43:37 -07:00
190n
50e9be0dc7
Fix napi_value<=>integer conversions and napi_create_empty_array ( #14479 )
2024-10-10 23:50:39 -07:00
pfg
ba9db6cdb6
Fix console.table for numeric keys ( #14484 )
2024-10-10 23:50:02 -07:00
Meghan Denny
25fcbed8d1
enhance Buffer.from to support (de)serialization roundtrip ( #14201 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-10 22:08:16 -07:00
Meghan Denny
170fafbca9
fix fs-non-number-arguments-throw.test.js ( #14312 )
2024-10-10 22:07:41 -07:00
Meghan Denny
874c9dbb24
fix fs-open.test.js ( #14311 )
2024-10-10 22:04:33 -07:00
Jarred Sumner
05f53dc70f
Fixes #14464 ( #14473 )
2024-10-10 21:50:03 -07:00
Meghan Denny
584a8ceb84
enable iterator-helpers in webkit ( #14455 )
2024-10-10 15:47:59 -07:00
Michael H
05f68d79c8
docs: --conditions flag ( #14463 )
2024-10-10 04:04:58 -07:00
huseeiin
e650ee7967
Update bun.d.ts ( #14429 )
2024-10-10 02:35:53 -07:00
190n
50bb5fa1f6
Fix napi_throw_*/napi_create_*_error ( #14446 )
2024-10-10 02:35:38 -07:00
Dylan Conway
3452f50c96
update webkit ( #14449 )
2024-10-10 02:35:23 -07:00
snwy
ff476313a8
'let' statements before using statements are now properly converted into 'var' statements ( #14260 )
2024-10-09 19:14:22 -07:00
Jarred Sumner
def454d859
Bump
2024-10-09 18:20:19 -07:00
Grigory
73537de184
docs(bundler): add missing codetabs closing tag ( #14443 )
2024-10-09 15:13:42 -07:00
Meghan Denny
1bccd62784
actions: update help text for 'needs repro' label ( #14428 )
2024-10-09 10:44:31 -07:00
Jarred Sumner
c608a724a6
Update installation.md
2024-10-09 02:36:24 -07:00
Meghan Denny
ca6013acef
move .clang-format up a folder so it affects all our c/cpp files ( #14400 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-10-08 23:04:05 -07:00
snwy
05e1832c68
remove function hoisting from _parse ( #14419 )
2024-10-08 18:04:18 -07:00
Jarred Sumner
7a6d17bb99
chore: Make hash formatter reusable ( #14372 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-10-08 13:30:17 -07:00
Ashcon Partovi
05fb367c5f
Move generated files to codegen/ directory ( #14392 )
2024-10-08 10:32:16 -07:00
versecafe
7996d06b8f
--footer esbuild & rollup style! ( #14396 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-08 02:32:37 -07:00
Jarred Sumner
a234e067a5
Make .get() ignore Object.prototype instead of using getOwn ( #14322 )
2024-10-08 00:34:31 -07:00
Meghan Denny
c20901fd4e
Update 7-install-crash-report.yml ( #14394 )
2024-10-07 20:45:30 -07:00
Meghan Denny
0d5eb73db0
test: add missing vm.runInContext stubs ( #14341 )
2024-10-07 20:38:31 -07:00
Kiwi
87c3b2f8d3
Update lockfile.md - fix typo ( #14385 )
2024-10-07 20:23:45 -07:00
Meghan Denny
1ce2d0e9f5
fix fs-read-empty-buffer.test.js ( #14316 )
2024-10-07 19:03:30 -07:00
Meghan Denny
c41ff9da93
fix fs-promises-file-handle-write.test.js ( #14315 )
2024-10-07 18:26:43 -07:00
190n
b0b38b42ba
Return undefined from napi_get_property when property does not exist ( #14366 )
2024-10-07 18:05:31 -07:00
versecafe
62da730060
add banner, .d.ts, cli, make sourcemap compat, and add tests + docs ( #14370 )
2024-10-07 18:05:06 -07:00
Dylan Conway
c071415664
add bun pm whoami ( #14387 )
2024-10-07 17:36:14 -07:00
dave caruso
fc85a2dc92
feat(bake): add dependencies to IncrementalGraph ( #14368 )
2024-10-07 14:18:26 -07:00
Meghan Denny
c5b1c9e302
ci: shorten label names ( #14314 )
2024-10-07 11:56:37 -07:00
Jarred Sumner
65a6803093
Fixes #14345 ( #14374 )
2024-10-05 06:00:17 -07:00
Jarred Sumner
6ca68cab65
Update JSType ( #14373 )
2024-10-05 03:37:24 -07:00
Jarred Sumner
6645eafa08
do not use std.debug.print
2024-10-05 01:16:45 -07:00
Jarred Sumner
29e1ba044d
Make this log better
2024-10-05 00:00:19 -07:00
Dylan Conway
fd15e22d64
comment
2024-10-04 23:38:39 -07:00
Dylan Conway
b2cb3603e2
fix(publish): ignore npm-notice when x-local-cache exists ( #14352 )
2024-10-04 23:36:34 -07:00
Dylan Conway
a15244a4c9
update webkit ( #14364 )
2024-10-04 22:32:48 -07:00
Zack Radisic
a01f9d8e1b
Integrate CSS with bundler ( #14281 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Zack Radisic <zackradisic@Mac.attlocal.net >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Zack Radisic <zackradisic@Zacks-MBP.attlocal.net >
2024-10-04 20:23:10 -07:00
lewismiddleton
3ab3dec34d
fix(docs): typo in bundler/index.md ( #13370 )
2024-10-04 20:21:04 -07:00
Dylan Conway
794e416642
Update CONTRIBUTING.md
2024-10-04 18:54:20 -07:00
Mathias
7885742345
fix segfault when decorating computed property #10887 ( #14304 )
2024-10-04 18:14:20 -07:00
versecafe
7063116c61
add missing docs for new bun pm commands ( #14347 )
2024-10-04 15:30:30 -07:00
Meghan Denny
4a5ec261ef
node: add more passing tests ( #14317 )
2024-10-04 11:33:46 -07:00
Ashcon Partovi
e3f4c9fd0b
ci: Fix analysis commands ( #14356 )
2024-10-04 09:13:23 -07:00
Dylan Conway
f307d2a6ef
test(publish): ci names in user-agent ( #14328 )
2024-10-04 00:15:22 -07:00
dave caruso
adc86c773b
chore: rename kit -> bake ( #14335 )
2024-10-03 15:34:53 -07:00
Dylan Conway
15427134e1
update
2024-10-03 15:11:44 -07:00
Dylan Conway
808e58cc4d
update
2024-10-03 14:50:23 -07:00
Eric Liu
a375ea94ef
docs: fix typo in bun publish ( #14334 )
2024-10-03 14:03:30 -07:00
Dylan Conway
39b1c0111e
add docs for bun publish ( #14327 )
2024-10-03 03:41:11 -07:00
Jarred Sumner
eda608d629
Tweak how we do symbol versioning for glibc ( #14272 )
2024-10-03 02:42:28 -07:00
Meghan Denny
9446fd60c9
fix Buffer method aliases not being equal to each other ( #14198 )
2024-10-03 02:31:23 -07:00
Meghan Denny
8e5255d753
node:stream: fix setDefaultHighWaterMark ( #14305 )
2024-10-03 02:15:39 -07:00
Meghan Denny
13ca4544f2
enhance INVALID_ARG_TYPE and cleanup some node:buffer error handling ( #14200 )
2024-10-03 02:13:14 -07:00
Jarred Sumner
4d4dd1c180
Refactor node:module ( #14227 )
2024-10-03 00:54:56 -07:00
dave caruso
dd6554294e
bake: release to canary only ( #14258 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-10-03 00:52:14 -07:00
Dylan Conway
50ed09654f
publish help text
2024-10-02 22:57:34 -07:00
190n
0a54c24bd3
Allow throwing exceptions from napi_async_complete_callback ( #14302 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-10-02 22:35:45 -07:00
versecafe
b39f49a5b9
remove bun pack in favor of bun pm pack ( #14319 )
2024-10-02 22:32:42 -07:00
snwy
e8fec640d8
hoisting of exports when there is top level using ( #14313 )
2024-10-02 22:32:04 -07:00
Ciro Spaciari
25abe67d43
update root certificates to NSS 3.104 ( #14276 )
2024-10-02 22:29:32 -07:00
Jarred Sumner
5f135a21b3
Update writing.md
2024-10-02 22:28:14 -07:00
Jarred Sumner
b88ed18245
On test timeout, kill any spawned processes ( #14310 )
2024-10-02 20:55:59 -07:00
Dylan Conway
f374ae6db1
add bun publish ( #14215 )
2024-10-02 20:47:22 -07:00
Jarred Sumner
94a656bc4f
Support bundling .node files in ESM & CJS when targeting Node.js ( #14294 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-10-02 20:15:29 -07:00
190n
54e177e2f9
Rename internal NapiHandleScope push/pop methods to open/close ( #14300 )
2024-10-02 15:05:38 -07:00
Meghan Denny
39342e34b1
node: define missing constants ( #14211 )
2024-10-02 14:35:16 -07:00
Mathias
e1cd7e510e
Update CONTRIBUTING.md, fix #14225 ( #14303 )
2024-10-02 13:44:54 -07:00
Meghan Denny
54a225953b
use bun.String.static instead of ZigString when immediately converting to JSValue ( #14169 )
2024-10-02 13:02:48 -07:00
Meghan Denny
419229d950
add ERR_BUFFER_OUT_OF_BOUNDS to internal/errors ( #14195 )
2024-10-02 07:59:24 -07:00
Meghan Denny
b8a2a11c6f
lazy load these requires so that node:cluster imports faster ( #14291 )
2024-10-02 02:30:19 -07:00
Meghan Denny
25083a4252
pm: print command name to stdout ( #14266 )
2024-10-02 02:24:37 -07:00
dave caruso
87424390e1
fix 14248 ( #14277 )
2024-10-02 02:23:54 -07:00
Dylan Conway
92e66691fa
fix bun getcompletes index out of bounds ( #14289 )
2024-10-02 02:23:36 -07:00
Meghan Denny
edebd6faa3
windows: watcher: that line wasnt meant to go to stdout ( #14288 )
2024-10-02 00:26:20 -07:00
Meghan Denny
531d78aa97
BunProcess: dont use for-loop for isSignalName ( #14285 )
2024-10-01 23:42:52 -07:00
Meghan Denny
e831bbf4ca
node: implement more validators in native code ( #14177 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-10-01 21:55:05 -07:00
dave caruso
9870314ff6
fix 13394 ( #14278 )
2024-10-01 21:27:50 -07:00
Meghan Denny
e44d10cf17
node: lowercase primitive expectations of ERR_INVALID_ARG_TYPE ( #14284 )
2024-10-01 20:37:13 -07:00
Ashcon Partovi
db0750e90c
cmake: Fix version detection
2024-10-01 15:48:13 -07:00
Ashcon Partovi
98e09efd02
cmake: Improve command detection ( #14166 )
2024-10-01 15:37:57 -07:00
Ashcon Partovi
944f342072
Revert "Remove old clang-tidy workflow"
...
This reverts commit 16917f7922 .
2024-10-01 15:32:18 -07:00
Ashcon Partovi
16917f7922
Remove old clang-tidy workflow
2024-10-01 15:31:42 -07:00
Ashcon Partovi
27a157b6c1
Improve command detection in CMake
2024-10-01 13:50:15 -07:00
Jarred Sumner
07fd814629
Update index.md
2024-10-01 04:32:02 -07:00
Jarred Sumner
e348fef1c6
Update index.md
2024-10-01 04:26:19 -07:00
Jarred Sumner
68b910cbd9
Update index.md
2024-10-01 04:25:30 -07:00
Meghan Denny
e2f20d794f
clang-format: add InsertNewlineAtEOF ( #14267 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-10-01 03:49:10 -07:00
Jarred Sumner
faa524bf67
Fix missing va_end call
2024-10-01 02:06:56 -07:00
Meghan Denny
016ebf7b9b
cmake: only run prettier explicitly ( #14228 )
2024-09-30 23:43:29 -07:00
Jarred Sumner
2f7ff95e5c
Introduce bytecode caching, polish "cjs" bundler output format ( #14232 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-09-30 22:37:42 -07:00
Meghan Denny
857a472033
ci: fix build error ( #14262 )
2024-09-30 22:20:21 -07:00
Jarred Sumner
7720d23da1
Make v8 stack trace parser code more careful ( #14205 )
2024-09-30 19:09:14 -07:00
Dylan Conway
ecc3e5e187
fix 14250 ( #14256 )
2024-09-30 19:08:13 -07:00
snwy
dcaaeecfa3
allow importing of files with top level awaits in bundler ( #14218 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-30 16:50:50 -07:00
dave caruso
9ab51983b8
chore: make watcher use an anyopaque pointer context ( #14224 )
2024-09-28 01:44:55 -07:00
Jarred Sumner
af82a446df
Support hmac in Bun.CryptoHasher ( #14210 )
2024-09-27 23:33:22 -07:00
190n
dd12715071
Propagate exceptions in napi_run_script ( #14222 )
2024-09-27 22:27:57 -07:00
dave caruso
514d37b3d2
kit: implement server components dev server ( #14025 )
2024-09-27 20:53:39 -07:00
Jarred Sumner
d09df1af47
Deflake a test
2024-09-27 14:22:59 -07:00
Meghan Denny
05afe42f31
fix Buffer.fill with a non-null empty fill including uninitialized bytes ( #14199 )
2024-09-27 02:50:32 -07:00
Meghan Denny
123b5219e0
include code in detached buffer error for Buffer.isUtf8 and Buffer.isAscii ( #14197 )
2024-09-27 02:49:38 -07:00
Meghan Denny
7113206a7d
fix MAX_STRING_LENGTH constant value ( #14196 )
2024-09-27 02:48:04 -07:00
Andres Kalle
89fc3ef34d
types: clarified parameter name ( #14209 )
2024-09-27 02:09:37 -07:00
Meghan Denny
392a58b0ed
remove duplicate root.h includes ( #14194 )
2024-09-26 22:01:05 -07:00
Ciro Spaciari
02fb802b25
add req.json leak test ( #14191 )
2024-09-26 22:00:40 -07:00
Meghan Denny
69d33bb1d0
fix small leak in node:process.execArgv getter ( #14154 )
2024-09-26 17:10:14 -07:00
190n
4e51f7d85b
Refactoring and bug fixes in the V8 API ( #13754 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-26 16:54:37 -07:00
Robert Shuford
5e97fb8d97
Support reading from $HOME/.npmrc ( #13990 )
2024-09-26 14:41:28 -07:00
Meghan Denny
d42c032eec
cleanup some error handling in BunProcess ( #14178 )
2024-09-26 14:20:35 -07:00
Jarred Sumner
afe974a175
Update color.md
2024-09-26 13:47:09 -07:00
Zack Radisic
274e5a2022
CSS Parser ( #14122 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-26 13:39:26 -07:00
Jarred Sumner
18822b9f45
Support AbortSignal in Bun.spawn ( #14180 )
2024-09-26 10:54:54 -07:00
Meghan Denny
7b058e24ff
fix memory leak in Bun.shellEscape return value ( #14130 )
2024-09-25 18:13:28 -07:00
Meghan Denny
ec7078a006
dont leak the address string in UDPSocket.addressToString ( #14127 )
2024-09-25 18:12:32 -07:00
snwy
af12ff104a
fix utf8 handling when importing json ( #14168 )
2024-09-25 17:50:11 -07:00
Meghan Denny
80db770521
rework node:zlib to match internal js api and properly support async writes ( #14079 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-09-25 15:55:53 -07:00
Meghan Denny
c4c3019cb0
no need to cache protocol in NewServer when its statically known ( #14128 )
2024-09-25 14:47:50 -07:00
Ashcon Partovi
1f0f666210
Fix zig build again ( #14165 )
2024-09-25 13:02:56 -07:00
Ashcon Partovi
73f90c3359
Remove unused .docker directory
2024-09-25 12:43:47 -07:00
Ashcon Partovi
291a50aff5
Fix zig build ( #14163 )
2024-09-25 12:42:47 -07:00
Ashcon Partovi
128c658f91
Use ephemeral vendor path for now
2024-09-25 11:19:42 -07:00
Ashcon Partovi
a87341b239
Fix download zig script
2024-09-25 10:55:22 -07:00
Ashcon Partovi
3ab990e615
cmake: Fix zig build issue
2024-09-25 10:45:43 -07:00
Ashcon Partovi
ecf5d79e01
bun run clang-tidy (#14162 )
2024-09-25 10:31:38 -07:00
Ashcon Partovi
b9a56a6087
cmake: Add target to download Node.js headers
2024-09-25 09:39:06 -07:00
Jarred Sumner
5722ae8d04
Make prototype pollution attacks harder in most Bun APIs that accept objects ( #14119 )
2024-09-25 01:16:29 -07:00
Meghan Denny
2856267fda
add missing defers to JSBundler.Plugin.hasAnyMatches ( #14129 )
2024-09-25 01:15:32 -07:00
Meghan Denny
da70c891df
dont leak the message when node:util.getSystemErrorName is passed an invalid code ( #14126 )
2024-09-25 01:13:22 -07:00
Wilmer Paulino
6f27b5559d
Switch RSA asymmetric sign implementation to BoringSSL ( #14125 )
2024-09-25 01:12:50 -07:00
Ashcon Partovi
117e1b3883
bun run prettier (#14153 )
...
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
2024-09-24 22:46:18 -07:00
Ashcon Partovi
1e1025ca37
bun run zig-format (#14152 )
2024-09-24 22:10:12 -07:00
Ashcon Partovi
30dc72c17b
bun run clang-format (#14148 )
...
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
2024-09-24 20:39:29 -07:00
Jarred Sumner
17d719fa4e
Make server.stop return a Promise that fulfills when all opened connections are closed ( #14120 )
2024-09-24 14:07:29 -07:00
Meghan Denny
0ac2a7da0a
dont leak return value in crash_handler jsGetFeaturesAsVLQ ( #14131 )
2024-09-24 12:26:58 -07:00
Dylan Conway
9d23ce16ec
fix(install): relative paths to tarballs in workspaces ( #14121 )
2024-09-23 22:44:24 -07:00
Ashcon Partovi
7d94c59545
Publish VSCode extension
2024-09-23 16:05:12 -07:00
Meghan Denny
33075394a4
cpp: always return empty JSValue value after throwing exception ( #13935 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-09-23 13:53:08 -07:00
Jarred Sumner
ff9560c82a
Fix unbalanced ref count involving file descriptors passed to Bun.connect ( #14107 )
2024-09-23 10:28:50 -07:00
Jarred Sumner
2f8c20ef82
Implement --registry CLI flag in bun install ( #14090 )
2024-09-22 21:27:33 -07:00
Jarred Sumner
d05070dbfd
Fix regression from #13414 ( #14092 )
2024-09-22 16:02:49 -07:00
Jarred Sumner
1244907a92
Bump
2024-09-22 02:53:21 -07:00
Jarred Sumner
81e5ee26bd
Don't re-create the FIFO in streams every time ( #14088 )
2024-09-22 02:13:11 -07:00
Jarred Sumner
27e7aa7923
Update from-npm-install-to-bun-install.md
2024-09-22 00:33:41 -07:00
Jarred Sumner
f89623aa5e
Update from-npm-install-to-bun-install.md
2024-09-22 00:31:01 -07:00
Jarred Sumner
3cc51ceb98
Update from-npm-install-to-bun-install.md
2024-09-22 00:30:08 -07:00
Jarred Sumner
e944bb3638
Update from-npm-install-to-bun-install.md
2024-09-22 00:29:23 -07:00
Jarred Sumner
797750ef42
Update from-npm-install-to-bun-install.md
2024-09-22 00:27:47 -07:00
Jarred Sumner
c267d76f05
Update from-npm-install-to-bun-install.md
2024-09-22 00:25:47 -07:00
Jarred Sumner
c5c1e8ff3a
Update from-npm-install-to-bun-install.md
2024-09-22 00:24:56 -07:00
Jarred Sumner
1eab8ec107
Update from-npm-install-to-bun-install.md
2024-09-22 00:23:44 -07:00
Jarred Sumner
60d8c8ad4c
Update from-npm-install-to-bun-install.md
2024-09-22 00:17:41 -07:00
Jarred Sumner
dba108f8c4
Update from-npm-install-to-bun-install.md
2024-09-21 23:32:34 -07:00
Jarred Sumner
18251e1b60
Create from-npm-install-to-bun-install.md
2024-09-21 23:29:16 -07:00
Xmarmalade
0bc21b3ddf
docs: add ccache for Windows System Dependencies ( #14080 )
2024-09-21 01:35:01 -07:00
Jarred Sumner
c298b23c45
Fix process.cwd on windows ( #14081 )
2024-09-21 01:32:23 -07:00
snwy
722e3fa481
fix for windows debug support ( #14048 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-21 00:20:33 -07:00
Jarred Sumner
3fc092d23f
Fix ci issue
2024-09-20 22:13:16 -07:00
Jarred Sumner
6e0847ca49
Fix searching for lld in $PATH on Linux
2024-09-20 22:09:21 -07:00
Jarred Sumner
7a190de2f1
Fix upload-s3.ts script
2024-09-20 21:34:50 -07:00
Dylan Conway
57a1d7b4ee
update
2024-09-20 20:38:52 -07:00
Dylan Conway
3e0e99176a
udpate
2024-09-20 20:37:49 -07:00
Ashcon Partovi
fabb18208b
Revert "Upload features.json"
...
This reverts commit 4f02152690 .
2024-09-20 18:57:20 -07:00
Ashcon Partovi
4f02152690
Upload features.json
2024-09-20 16:51:16 -07:00
Jarred Sumner
64f4831059
Clarify WASI not WASM
2024-09-20 16:41:49 -07:00
Jarred Sumner
f9a8bed5c2
Make require.cache inspectable ( #14072 )
2024-09-20 15:27:10 -07:00
190n
08a77267da
Keep event loop alive when refConcurrently has been called ( #14068 )
2024-09-20 14:57:55 -07:00
Jarred Sumner
73c553b25a
Update ffi.d.ts
2024-09-20 00:07:26 -07:00
Jarred Sumner
6d43b36622
Allow TCP connections for BUN_INSPECT_NOTIFY ( #14056 )
2024-09-19 23:55:06 -07:00
Jarred Sumner
8dfa2abb53
Update nav.ts
2024-09-19 23:26:05 -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
Jarred Sumner
ab07cf444d
Bump
2024-09-19 21:52:39 -07:00
Jarred Sumner
f263436911
Experiment: Add buffer type and inline pointer ( #14036 )
2024-09-19 21:26:50 -07:00
Dylan Conway
e938791f77
fix(Bun.build): handle non-object plugins ( #14050 )
2024-09-19 19:37:28 -07:00
Dylan Conway
cff7b9843d
fix 14037 ( #14047 )
2024-09-19 15:25:38 -07:00
Kevin Gibbons
260a0d16eb
docs: Add new methods to binary-data.md ( #14044 )
2024-09-19 13:36:08 -07:00
Dylan Conway
47e4b826fa
fix snapshot regression ( #14031 )
2024-09-19 13:27:42 -07:00
Jarred Sumner
6415296e96
Support napi inside of bun:ffi ( #14028 )
2024-09-19 03:19:08 -07:00
dave caruso
866a6d9180
fix(bundler): disable moving identifiers ( #14033 )
2024-09-19 03:18:16 -07:00
Jarred Sumner
181b8722e2
Enable cc test ( #14026 )
2024-09-18 21:55:49 -07:00
Jarred Sumner
572bcf0097
Fixes #14014 ( #14023 )
2024-09-18 19:06:33 -07:00
Dylan Conway
cf4e9cb69e
disable most DOMJIT ( #14005 )
2024-09-17 21:43:38 -07:00
Jarred Sumner
6d98bccd8b
TinyCC: -framework support, __attribute__(deprecated(string)) in enum, fix dlsym issue ( #13993 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-09-17 15:50:02 -07:00
Dylan Conway
c74ec5ab18
compare major
2024-09-17 10:54:46 -07:00
Dylan Conway
3d68a9483f
fix cloning dependencies
2024-09-16 12:18:53 -07:00
Jarred Sumner
b66d622c56
Bump WebKit ( #13970 )
2024-09-15 04:37:23 -04:00
190n
163e76ef96
Fix memory corruption in napi_open_escapable_handle_scope ( #13955 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-15 01:39:18 -04:00
Jarred Sumner
14c63229a1
Revert "various node:buffer fixes" ( #13971 )
2024-09-14 23:41:33 -04:00
Jarred Sumner
f4391e7023
Support compiling and running C from JavaScript ( #13403 )
2024-09-14 04:57:44 -04:00
snwy
b9a5e4410f
forward IPC to child process if running package script ( #13934 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-14 04:40:00 -04:00
Meghan Denny
3c2e798eab
various node:buffer fixes ( #13757 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-14 04:09:20 -04:00
Mattias Leino
a60d5211ca
Add documentation for using bun with Testing Library ( #13960 )
2024-09-14 02:24:10 -04:00
Meghan Denny
ac53310fe9
misc node:zlib fixes [v2] ( #13958 )
2024-09-14 02:01:04 -04:00
Jarred Sumner
d9d4cff303
Micro-optimize path.resolve(), path.resolve("") ( #13930 )
2024-09-14 01:42:49 -04:00
Dylan Conway
5af782344f
fix(watch): use case insensitive path comparison ( #13909 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-14 01:41:33 -04:00
Dylan Conway
7ef0f04acd
fix #13942 ( #13943 )
2024-09-14 01:22:28 -04:00
Meghan Denny
8b1c53dd36
Fix debug builds on macOS arm64 ( #13952 )
...
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-09-13 16:01:17 -07:00
Ashcon Partovi
44841d8924
Fix clang-cl flag: /O0 -> /Od
2024-09-13 16:00:16 -07:00
Dylan Conway
3c0327df3a
debug libraries
2024-09-13 15:58:22 -07:00
Dylan Conway
e5e8861fde
debug icu
2024-09-13 15:57:58 -07:00
Dylan Conway
620b7b101e
update webkit ( #13931 )
2024-09-13 02:43:22 -07:00
Jarred Sumner
34e4447aea
Update some paths
2024-09-13 00:40:49 -07:00
190n
3aef88842e
Make setInterval leak test not flaky ( #13929 )
2024-09-12 18:57:06 -07:00
Ashcon Partovi
76191bed44
Various fixes for CMake ( #13928 )
2024-09-12 18:08:59 -07:00
190n
b146449ed5
Increase timeouts for shell-hang.test.ts ( #13932 )
2024-09-12 17:23:33 -07:00
dave caruso
c2c2048072
framework api: init / work in progress ( #13215 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-12 16:44:03 -07:00
Jarred Sumner
ff6f8bd2d1
Update path-resolve.mjs
2024-09-12 15:00:52 -07:00
Ciro Spaciari
b1ca81a10d
fix(node:net, node:tls) add named pipe support on node:net and node:tls modules ( #13838 )
2024-09-12 14:06:45 -07:00
Jarred Sumner
d9b851e426
Don't panic when a package.json manifest registry api name doesn't match the local name ( #13907 )
2024-09-12 14:05:45 -07:00
Jarred Sumner
872c7f0d91
Why is path slow ( #13908 )
2024-09-12 14:05:16 -07:00
Jarred Sumner
0a6594395c
Add a couple uv symbols ( #13808 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
2024-09-12 00:13:49 -07:00
snwy
043dfa4cc9
fix .env loader printing to stderr when running bun bun.lockb ( #13905 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-12 00:10:03 -07:00
Jarred Sumner
173f465fbe
✂️ dead code
2024-09-11 22:04:32 -07:00
Jarred Sumner
51adc273a6
Add message on crash with old CPU ( #13886 )
2024-09-11 20:14:17 -07:00
190n
522493afa8
Attempt to fix spawn-streaming-stdin.test.ts on Windows ( #13860 )
2024-09-11 20:14:10 -07:00
Jarred Sumner
c48997050d
Avoid creating a Napi handle scope within a finalizer ( #13870 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
2024-09-11 20:05:44 -07:00
Jarred Sumner
2064876a7d
Fix crash in socket.upgradeTLS ( #13884 )
2024-09-11 20:05:06 -07:00
snwy
c3197948c4
fixes --conditions for bun test ( #13902 )
2024-09-11 18:04:21 -07:00
Ashcon Partovi
f5b7a6708d
Move dependencies from src/deps/ to vendor/ ( #13901 )
2024-09-11 17:46:03 -07:00
190n
b33d6b1416
Fix ReadFileUV not reading to the end of a non-regular file on Windows ( #13900 )
2024-09-11 17:33:01 -07:00
190n
f6841a06c5
Make NAPI garbage collection tests faster ( #13898 )
2024-09-11 16:59:03 -07:00
Dylan Conway
749632f125
fix(spawn): update cwd before searching for executable to run ( #13845 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-09-11 16:58:24 -07:00
Jarred Sumner
de9557b19e
Fix edgecase with "os" and "cpu" in bun install ( #13848 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-11 16:47:38 -07:00
Jarred Sumner
ed8e6115bb
Fix using decimal numbers for file descriptors ( #13881 )
2024-09-11 15:52:53 -07:00
Jarred Sumner
0378e5a277
Update launch.json
2024-09-11 15:41:41 -07:00
Jarred Sumner
3689978b98
Update clangd
2024-09-11 15:14:59 -07:00
Ashcon Partovi
3939e16664
Fix build.mjs ( #13893 )
2024-09-11 09:45:42 -07:00
Ashcon Partovi
03285f2490
Reapply "Update build.mjs"
...
This reverts commit 03d7d9aadd .
2024-09-11 08:25:24 -07:00
Ashcon Partovi
19ef3eecd0
Reapply "Make configure faster with local WebKit build"
...
This reverts commit a832954c94 .
2024-09-11 08:25:05 -07:00
Ashcon Partovi
d39e422b20
Reapply "Convert build scripts to CMake ( #13427 )"
...
This reverts commit 374bb15db6 .
2024-09-11 08:24:50 -07:00
Dylan Conway
3e904303ac
fix hot/hot.test.ts, hot/watch.test.ts, and watch/watch.test.ts ( #13876 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-09-11 01:24:46 -07:00
Jarred Sumner
97baeb80f0
Move EventLoopTask into a separate file because it causes clangd to crash ( #13875 )
2024-09-11 00:24:48 -07:00
Dylan Conway
4a58a97fa0
fix sleep tests in bun-install-registry.test.ts ( #13874 )
2024-09-10 22:28:57 -07:00
Dylan Conway
7e705b9d40
fix expo.test.ts ( #13872 )
2024-09-10 20:52:29 -07:00
Jarred Sumner
1f1e4a08d8
Update nodejs-apis.md
2024-09-10 20:40:34 -07:00
Jarred Sumner
58c74e1a75
Update nodejs-apis.md
2024-09-10 20:35:35 -07:00
Jarred Sumner
d483535693
Update nodejs-apis.md
2024-09-10 20:32:00 -07:00
Dylan Conway
374bb15db6
Revert "Convert build scripts to CMake ( #13427 )"
...
This reverts commit 354df17d16 .
2024-09-10 19:57:19 -07:00
Dylan Conway
a832954c94
Revert "Make configure faster with local WebKit build"
...
This reverts commit 1694ca0e89 .
2024-09-10 19:56:37 -07:00
Dylan Conway
03d7d9aadd
Revert "Update build.mjs"
...
This reverts commit 24bb8d95b0 .
2024-09-10 19:56:36 -07:00
Dylan Conway
ff9b003a9b
Revert "Fix permissions on Zig download"
...
This reverts commit fb5ebe5ceb .
2024-09-10 19:56:34 -07:00
Jarred Sumner
ac17735cac
Retry after chmod when cp fails
2024-09-10 19:30:13 -07:00
Ashcon Partovi
fb5ebe5ceb
Fix permissions on Zig download
2024-09-10 19:01:09 -07:00
Jarred Sumner
24bb8d95b0
Update build.mjs
2024-09-10 18:54:52 -07:00
Ashcon Partovi
1694ca0e89
Make configure faster with local WebKit build
2024-09-10 17:40:12 -07:00
Ashcon Partovi
354df17d16
Convert build scripts to CMake ( #13427 )
2024-09-10 17:01:40 -07:00
Jarred Sumner
8d7d58606b
Add generator for $ERR_* as fake private globals ( #13843 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-10 16:07:22 -07:00
Jarred Sumner
d7f9346f67
Fix broken link
2024-09-10 15:22:08 -07:00
Jarred Sumner
80cb9e77bc
Use absolute links in docs
2024-09-10 15:11:16 -07:00
Lev
036e030342
Add the missing 'linked' option to --sourcemap in bun build --help ( #13855 )
2024-09-10 04:08:52 -07:00
190n
2071507a1b
Fix flaky process.cpuUsage tests ( #13842 )
2024-09-10 02:38:40 -07:00
Jarred Sumner
c7b874447f
Add missing timers.promises ( #13834 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-09 17:17:52 -07:00
190n
282b92d6e1
Fix issues with NAPI tests ( #13831 )
...
Co-authored-by: 190n <190n@users.noreply.github.com >
2024-09-09 17:08:40 -07:00
Ciro Spaciari
2b50554596
fix(node:http) always set headersSent to true after end ( #13794 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-09-09 17:08:17 -07:00
Jarred Sumner
8f5d78f498
Fix default value for zlib options ( #13800 )
2024-09-09 17:06:41 -07:00
Jarred Sumner
ee2d666e8e
Add missing perf_hooks constants ( #13833 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-09 16:54:09 -07:00
Jarred Sumner
3e8a50ba57
workerData should default to null instead of undefined ( #13835 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-09 16:48:12 -07:00
Jarred Sumner
945175961c
Set process._exiting to false by default ( #13832 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-09 16:45:24 -07:00
dave caruso
d38f937d3d
fix(transpiler): remove react element inlining ( #13694 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-09 15:03:13 -07:00
Jarred Sumner
07e4b5f3d3
Update run-lint-cpp.yml
2024-09-09 14:32:55 -07:00
Wilmer Paulino
a0939ca4f1
Switch asymmetric encryption implementation to BoringSSL ( #13786 )
2024-09-08 03:19:23 -07:00
Danny Kirkham
09cbb51c81
Fix typo in http.md ( #13793 )
2024-09-08 00:56:31 -07:00
Dylan Conway
50d2f76075
fix(pack): don't automatically include CHANGELOG when files is populated ( #13789 )
2024-09-08 00:56:21 -07:00
github-actions[bot]
09fb2d1db0
Bump to 1.1.27 ( #13805 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-08 00:48:15 -07:00
Dylan Conway
267afa2934
implement bun pm pack ( #13723 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-09-07 03:55:09 -07:00
Jarred Sumner
08103aa7ae
Fix 2 memory leaks in zlib from #11770 ( #13787 )
2024-09-07 02:12:09 -07:00
190n
084734db64
Implement napi_handle_scope and napi_escapable_handle_scope ( #13756 )
2024-09-07 00:55:19 -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
Jarred Sumner
f0a4b9f96f
Copy fix from #13756 into separate PR ( #13783 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-06 20:16:20 -07:00
Meghan Denny
8cd515f533
node:zlib: move deflate and gzip into native code ( #11770 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-06 18:49:19 -07:00
Jarred Sumner
1458fcca4a
Run formatter
2024-09-06 18:13:08 -07:00
Jarred Sumner
4dbd246c49
Update 7-install-crash-report.yml
2024-09-06 18:01:03 -07:00
Jarred Sumner
17553e8ea3
Update 7-install-crash-report.yml
2024-09-06 18:00:14 -07:00
Jarred Sumner
2507ff515a
Update 7-install-crash-report.yml
2024-09-06 17:58:58 -07:00
Ciro Spaciari
1011b44d78
fix(node:http) implement request.setTimeout and server.setTimeout ( #13772 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-06 17:52:38 -07:00
Ashcon Partovi
cbb57e5c5b
Fix bun run being terminated randomly in CI
...
This was basically a chaos monkey in our CI
2024-09-06 17:37:49 -07:00
Jarred Sumner
ed6554314e
github actions
2024-09-06 17:28:19 -07:00
Jarred Sumner
bd38aaab36
Update sqlite3_local.h
2024-09-06 17:25:51 -07:00
Jarred Sumner
6fe2d99a51
Github actions
2024-09-06 17:18:28 -07:00
Jarred Sumner
e8c65a009f
clang fmt github action ( #13724 )
2024-09-06 17:15:07 -07:00
Jarred Sumner
3f9ad7cefc
Add a debug assertion
2024-09-06 16:58:08 -07:00
Jarred Sumner
69f97cecf0
Ensure shell keeps process alive while running ( #13777 )
2024-09-06 16:28:50 -07:00
Meghan Denny
ed7741a662
node:https: provide proper Agent definition ( #11826 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-06 16:11:19 -07:00
Jarred Sumner
9adf42b373
Handle oom in Buffer.byteLength ( #13746 )
2024-09-06 14:38:55 -07:00
Jarred Sumner
d3bc0ca722
Add if workers spawned / terminated to crash reports ( #13763 )
2024-09-06 14:34:33 -07:00
Jarred Sumner
debaa2cc34
Fix CTRL + C behavior in bun run so it doesn't ^[[A ( #13762 )
2024-09-06 13:54:01 -07:00
Jarred Sumner
ea12db4084
Deflake a test
2024-09-06 13:49:26 -07:00
Meghan Denny
981f1d4a60
fix bad translation in child-process-exec-timeout-kill.test.js ( #13765 )
2024-09-06 13:26:57 -07:00
Pham Minh Triet
419277f691
fix small typo in semver.md ( #13767 )
2024-09-06 13:26:20 -07:00
190n
da2a5661af
Increase randomIntegrityAuditRate from 0.05 to 1.0 in CI ( #13775 )
2024-09-06 13:03:23 -07:00
Ciro Spaciari
d8e2c24d70
fix(fetch) fix lifecycle of SSL Proxy, fix lifecycle of tls_props, fix handling chunked encoded redirects when proxing. ( #13752 )
2024-09-06 01:50:02 -07:00
マルコメ
6010c33137
Add .toml extension to .gitattributes ( #13761 )
2024-09-05 23:52:12 -07:00
Ciro Spaciari
36c5f843ec
feat(tls) add duplex upgrade ( #13718 )
2024-09-05 19:37:31 -07:00
Jarred Sumner
d38fc909e3
Support ReadableStream in request.clone & response.clone() ( #13744 )
2024-09-05 17:55:59 -07:00
Solomon ogu
cd7f6a1589
fix: typo in docs and types for sqlite ( #13727 )
2024-09-04 15:46:05 -07:00
Jarred Sumner
a9cf463eeb
Introduce fast path for buffered ReadableStream ( #13704 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-04 04:16:47 -07:00
Jarred Sumner
f3da37e486
Fixes #13725
2024-09-04 03:26:11 -07:00
Jarred Sumner
ebe070487b
github actions
2024-09-03 21:51:04 -07:00
Jarred Sumner
f4539431a0
Update format.yml
2024-09-03 21:44:29 -07:00
Jarred Sumner
c91afdb35c
Github actions
2024-09-03 21:43:34 -07:00
Jarred Sumner
128d69dcbe
Update format.yml
2024-09-03 21:34:52 -07:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
Jarred Sumner
5108e3e0d9
Add snapshot tests for dependency/version parsing ( #13658 )
2024-09-02 15:12:00 -07:00
Wilmer Paulino
bd3e62df40
Use JSMapIterator and JSSetIterator for deep equal comparisons ( #13674 )
2024-09-02 15:10:33 -07:00
Jarred Sumner
1668fde0a9
Support hot reloading when .css or any other imported file changes ( #13665 )
2024-09-02 15:07:25 -07:00
Jarred Sumner
12174e0577
Call cancel on ReadableStream when Bun.serve() response is aborted ( #13687 )
2024-09-02 09:40:03 -07:00
Jarred Sumner
c50f8d82d5
Remove outdated callout
...
Still very active! More stable though.
2024-09-02 05:07:05 -07:00
Jarred Sumner
d30767ea68
Fix crash when throwing an exception from napi ( #13664 )
2024-09-02 05:00:46 -07:00
Jarred Sumner
6b30c1b30d
Add missing OOM exception check in Bun.escapeHTML ( #13677 )
2024-09-01 23:37:07 -07:00
Jarred Sumner
b64f1e15b5
Fixes #13629 ( #13660 )
2024-09-01 22:40:31 -07:00
Jarred Sumner
5f6015bb79
Fixes #13657 ( #13667 )
2024-09-01 18:21:34 -07:00
Jarred Sumner
f123814d87
Fix missing ERR_INVALID_ARG_TYPE in 2 buffer methods ( #13617 )
2024-09-01 04:40:14 -07:00
Jarred Sumner
ef4bcb314c
Use -mmacos-version-min instead of -mmacosx-version-min ( #13640 )
2024-09-01 04:39:32 -07:00
Mohit Srivastava
fd2ad27b6f
Change contributing docs to use llvm 18 on macos ( #13651 )
2024-09-01 00:31:45 -07:00
Jarred Sumner
03de99afcf
Add tests for static routes + support server.reload for static routes ( #13643 )
2024-08-31 03:32:08 -07:00
Wilmer Paulino
9ba63eb522
Fix AES-GCM encryption of empty messages ( #13646 )
2024-08-31 02:29:16 -07:00
Ciro Spaciari
bac38b8967
fix(tls/fetch) Better SSLWrapper for http proxy and start of Duplex support on tls ( #12750 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 23:22:58 -07:00
Wilmer Paulino
76c4145f0e
Return expected data when using Promises with crypto.generateKeyPair ( #13600 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 20:14:47 -07:00
Ciro Spaciari
adb54f1849
fix(Server) handle requestIP after async call ( #13532 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 19:13:53 -07:00
Jarred Sumner
0f4aa68575
Bump build.zig minimum to macOS 13 ( #13639 )
2024-08-30 19:12:53 -07:00
Jarred Sumner
6555248a04
Make the V8_UNIMPLEMENTED error include the function name ( #13559 )
...
Co-authored-by: 190n <ben@bun.sh >
2024-08-30 18:52:08 -07:00
Jarred Sumner
2f19b71e0f
Bump WebKit again ( #13641 )
2024-08-30 18:18:29 -07:00
Jarred Sumner
9076b369f0
Fixes #4432 ( #13597 )
2024-08-30 18:01:32 -07:00
Ciro Spaciari
9cb203f229
update(root_certs) update certs ( #13609 )
2024-08-30 16:51:09 -07:00
Félix C. Morency
5650ed470c
fix: lcov non-hit executable lines reporting ( #13633 )
2024-08-30 16:08:23 -07:00
Jarred Sumner
fc99dd27e3
Un-revert read .gitconfig ( #13637 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-08-30 16:04:47 -07:00
Jarred Sumner
4d61637e8a
Deflake bun-build-api test ( #13636 )
2024-08-30 14:59:47 -07:00
Michael H
aed0f58dfc
bun install global package include -g flag in untrusted message ( #13626 )
2024-08-30 14:58:41 -07:00
Jarred Sumner
a37694cec2
Fix hypothetical race condition in Bun.build API ( #13618 )
2024-08-30 14:56:59 -07:00
Jarred Sumner
b52f9923e2
Delete macOS 10.5 support polyfills ( #13635 )
2024-08-30 14:47:31 -07:00
Jarred Sumner
1bed7a7fd1
Introduce static option in Bun.serve() ( #13540 )
2024-08-30 01:36:18 -07:00
Grigory
59eb5515c5
fix(nodevm): align behavior with node ( #13590 )
2024-08-30 01:34:18 -07:00
Jarred Sumner
682b3730a1
Revert "fix overriding sshCommand and askpass from gitconfig" ( #13620 )
2024-08-30 00:59:00 -07:00
Ciro Spaciari
bd3c258af4
fix(FormData, Bun.file()) FormData can append file slices, Bun.file(..).slice(..).text() works as expected ( #13580 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-30 00:53:40 -07:00
Dylan Conway
9faaa9b982
fix overriding sshCommand and askpass from gitconfig ( #13612 )
2024-08-30 00:49:49 -07:00
Jarred Sumner
bd2eb40a39
Fix oom handling in Bun.file ( #13603 )
2024-08-29 18:54:33 -07:00
Dylan Conway
f3ed9eac4a
fix(outdated): match scoped names with * ( #13610 )
2024-08-29 16:06:41 -07:00
Jarred Sumner
b55670ddb7
Fixes #10084 ( #13601 )
2024-08-29 11:02:34 -07:00
Ashcon Partovi
39eecc7757
Disable auto-labeler for now
2024-08-29 11:00:57 -07:00
Jarred Sumner
6faf657e32
Implement --max-http-header-size ( #13577 )
2024-08-29 00:38:47 -07:00
Jarred Sumner
e48369ddab
Fixes #4443 ( #13596 )
2024-08-28 21:17:06 -07:00
Jarred Sumner
743f40b473
Make the panic message better when this assertion failure happens ( #13579 )
2024-08-28 19:07:22 -07:00
Jarred Sumner
b4e552dbeb
WebKit upgrade ( #13578 )
2024-08-28 19:06:29 -07:00
Jarred Sumner
952d44b675
Fixes #13581 ( #13583 )
2024-08-28 13:54:57 -07:00
Jake Boone
8cb0b5db21
Fix alignment in bun outdated example grid ( #13573 )
2024-08-27 17:52:00 -07:00
Dylan Conway
1976e5bc00
fix #13563 and #12440 ( #13575 )
2024-08-27 17:46:16 -07:00
Jarred Sumner
f520715622
Update label-issue.ts
2024-08-27 14:13:21 -07:00
Jarred Sumner
a4264cef23
Update label-issue.ts
2024-08-27 03:56:06 -07:00
Jarred Sumner
09f002934c
Update labeled.yml
2024-08-27 03:53:05 -07:00
Jarred Sumner
89dfe9beb6
Update label-issue.ts
2024-08-27 03:43:57 -07:00
Jarred Sumner
4ac415f58d
Update labeled.yml
2024-08-27 03:39:13 -07:00
Jarred Sumner
acd8567fa0
Add issue labeler
2024-08-27 03:37:42 -07:00
Dylan Conway
ba2ea6fbb2
add --filter and package pattern arguments to bun outdated ( #13557 )
2024-08-27 00:18:27 -07:00
Pocky
36c621b6b1
docs: sync Statement.all and Statement.get docs with types ( #13544 )
2024-08-26 18:30:22 -07:00
Pocky
bab5fec95f
Fix Date in SQLite Example Comment ( #13558 )
2024-08-26 18:29:34 -07:00
Jake Bailey
e6b30a90de
Use more compatible screen clearing ANSI escape ( #13553 )
2024-08-26 18:17:31 -07:00
Jarred Sumner
fea302ee1d
Add missing destroySoon ( #13555 )
2024-08-26 18:09:05 -07:00
Jarred Sumner
2ffcccc5b4
Fixes #5591 ( #13541 )
2024-08-26 16:09:48 -07:00
Ciro Spaciari
11d7a9d5e9
fix(randomInt) allow negatives and improve args validation ( #13527 )
2024-08-25 23:16:25 -07:00
Jarred Sumner
55cdf69415
Make the error better on Windows when you do Bun.file(path).writer() ( #13536 )
2024-08-25 22:29:52 -07:00
Jarred Sumner
ac8f9052a2
Deflake fs.test.ts ( #13538 )
2024-08-25 21:43:16 -07:00
Jarred Sumner
5a525d3042
Deflake test/js/web/fetch/fetch-tcp-stress.test.ts ( #13537 )
2024-08-25 21:24:36 -07:00
Ciro Spaciari
6fd06dd023
fix(Bun.serve) ensure timeout reset when we write data ( #13525 )
2024-08-25 20:27:49 -07:00
Ciro Spaciari
df9d18659c
revert d8ac4c59ff
2024-08-25 19:43:24 -07:00
Ciro Spaciari
d8ac4c59ff
deflaky
2024-08-25 19:35:35 -07:00
Ciro Spaciari
3309a8479c
temporary disable this
2024-08-25 13:44:18 -07:00
Ashcon Partovi
3896b0e29f
Fix build-bun.sh
2024-08-25 09:48:38 -07:00
Ashcon Partovi
c4f4d7c872
Fix build-bun.sh
2024-08-25 09:29:29 -07:00
Ashcon Partovi
ebdd678da5
Upload features.json to Buildkite
2024-08-25 09:19:42 -07:00
github-actions[bot]
7529cd76b5
Bump to 1.1.26 ( #13504 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-08-24 16:12:43 -07:00
Jarred Sumner
9eeef3f5df
Update release.yml
2024-08-24 01:29:28 -07:00
Jarred Sumner
2b1a10629b
Update upload-npm.ts
2024-08-24 01:22:33 -07:00
Jarred Sumner
0a37423baf
Expose subscriberCount in WebSocket server ( #13498 )
2024-08-23 23:12:01 -07:00
Dylan Conway
1a9307da08
bun outdated docs (#13497 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-08-23 23:11:52 -07:00
Jarred Sumner
b005ef43d4
Deflake fs.test.ts
2024-08-23 22:55:30 -07:00
Jarred Sumner
078fdd3787
Make the test runner work on older versions of Bun
2024-08-23 22:55:12 -07:00
Jarred Sumner
dc58c42453
Fix test harness in older versions
2024-08-23 22:48:49 -07:00
Jarred Sumner
b53c25e5f8
Redo napi cleanup hooks ( #13487 )
2024-08-23 21:09:56 -07:00
Jarred Sumner
e97c65fd1e
Add 59 more node tests + copy node test fixtures ( #13495 )
2024-08-23 19:06:35 -07:00
Ciro Spaciari
5a108c5027
fix(fetch) always make sure that abort tracker is cleaned, revise ref count ( #13459 )
2024-08-23 17:08:57 -07:00
Jarred Sumner
0f1d5d5dab
Align getMockName and mockName behavior with jest ( #13494 )
2024-08-23 15:46:04 -07:00
Dylan Conway
6415cc3e92
implement bun outdated ( #13461 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-08-23 02:15:13 -07:00
Jarred Sumner
8d34846d19
Bump
2024-08-23 01:13:55 -07:00
Jarred Sumner
781998cf00
You shouldn't need --only to only run test.only tests ( #13465 )
2024-08-23 00:06:57 -07:00
Jarred Sumner
02a75070fb
Preserve "use strict"; directive in CommonJS modules at top of file ( #13485 )
2024-08-22 23:51:27 -07:00
Jarred Sumner
ac8db43485
Throw ERR_INVALID_THIS in DOM types ( #13484 )
2024-08-22 23:25:41 -07:00
Jarred Sumner
94ee538dc6
About 13% of node's test suite ( #13468 )
2024-08-22 18:00:25 -07:00
Dylan Conway
9cdda49485
fix(node:util): use Object.setPrototypeOf in inherits ( #13480 )
2024-08-22 17:58:00 -07:00
Jarred Sumner
2c84840222
Fix crash in buffer found in node tests ( #13460 )
2024-08-22 16:16:25 -07:00
Jarred Sumner
dafa9946e4
Disable DOMJIT for crypto.getRandomValues() ( #13470 )
2024-08-22 15:52:38 -07:00
Ciro Spaciari
74d5b93ffc
fix(dns.resolveSrv) ( #13478 )
2024-08-22 15:36:22 -07:00
Jarred Sumner
886c31f0c5
Fix expect.assertions() and done callback ( #13463 )
2024-08-22 15:26:58 -07:00
Jarred Sumner
1bac09488d
Copy some node tests ( #13458 )
2024-08-21 23:09:09 -07:00
Jarred Sumner
83a256013f
Support asymmetric matchers in expect().toThrow ( #13455 )
2024-08-21 21:06:05 -07:00
Ciro Spaciari
384988f26c
feat(Bun.serve idleTimeout) allow custom timeouts ( #13453 )
2024-08-21 18:13:03 -07:00
190n
fe62a61404
Fix V8 API memory management and implement more APIs ( #13426 )
2024-08-20 19:32:44 -07:00
Jarred Sumner
ef8fd12e43
Include "name" and lastModified when console.log'ing Blob or File ( #13435 )
2024-08-20 19:27:38 -07:00
Jarred Sumner
999324a50c
Add standalone_executable to crash reporter feature list ( #13431 )
2024-08-20 19:25:45 -07:00
Ciro Spaciari
8ace981fbc
fix(node:http/node:https) emit continue ( #13434 )
2024-08-20 17:10:21 -07:00
Jarred Sumner
02ff16d95c
Support Worker, relative file paths in standalone executables, and partially directories ( #13421 )
2024-08-20 13:05:40 -07:00
Ciro Spaciari
1d188dbc55
fix(subprocess) use deref and use new ( #13429 )
2024-08-20 12:45:46 -07:00
Jarred Sumner
f16d802eb1
Implement V8::String::{Utf8Length, IsOneByte, ContainsOnlyOneByte, IsExternal, IsExternalTwoByte, IsExternalOneByte} ( #13417 )
2024-08-20 11:51:23 -07:00
Ciro Spaciari
eb8ed27a4a
fix(ipc/subprocess) ( #13414 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-20 05:19:23 -07:00
190n
5eb053fa3b
Use bun instead of npm even for Node.js build in V8 tests ( #13352 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-19 19:06:12 -07:00
Ciro Spaciari
f9af7be5ae
fix(net) make sure to always end the connection when destroy is called ( #13412 )
2024-08-19 15:55:05 -07:00
Ciro Spaciari
1367e5e85a
fix(ipc) fix closing edge case ( #13413 )
2024-08-19 15:53:36 -07:00
Jarred Sumner
d55b5cc169
Enable reusePort in Bun.serve() by default when using node:cluster ( #13381 )
2024-08-18 22:34:58 -07:00
Dylan Conway
fa2e00f109
fix freeing semver ranges ( #13399 )
2024-08-18 22:34:38 -07:00
Roman
9993d72fee
docs: remove extra assignment ( #13389 )
2024-08-18 10:52:00 -07:00
Meghan Denny
fd75ca7585
implement node:cluster ( #11492 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: cirospaciari <ciro.spaciari@gmail.com >
2024-08-18 00:12:42 -07:00
Jarred Sumner
a53db001db
Fixes #13343 ( #13360 )
2024-08-17 20:22:12 -07:00
Jarred Sumner
1a5c05adca
Another attempt to fix aarch64 mock module test failure ( #13356 )
2024-08-17 18:10:35 -07:00
Zack Radisic
58d02e467f
Fix shell backticks crash ( #13375 )
2024-08-17 18:07:03 -07:00
Ciro Spaciari
63596c3f8c
fix(sockets) always uncork when closing ( #13358 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-17 02:53:10 -07:00
Meghan Denny
996847bcad
ci: disable bun-jsc.test.ts 'profile async' on windows for now ( #13363 )
2024-08-17 02:50:48 -07:00
Jarred Sumner
33c91fe3fa
Bump WebKit ( #13355 )
2024-08-16 22:40:29 -07:00
Meghan Denny
7fd072f4af
node:fs: use bun.assert to fix zig linter ( #13353 )
2024-08-16 18:23:45 -07:00
Ciro Spaciari
15a8e72790
fix(ws test) deflaky ( #13348 )
2024-08-16 16:15:12 -07:00
Jarred Sumner
64d77e33f6
Fixes #13331 ( #13340 )
2024-08-16 15:42:11 -07:00
190n
babc907bfe
Support Unicode strings in V8 APIs ( #13335 )
2024-08-16 15:16:39 -07:00
190n
83c5d8a942
Support doubles in v8::Number ( #13336 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-16 14:34:04 -07:00
MARCROCK22
5a8e98cec2
add missing Timer types and Bun.build sourcemap "linked" ( #13349 )
2024-08-16 14:26:44 -07:00
Meghan Denny
d4237b0757
node:fs: mode+flags message cleanup ( #13332 )
2024-08-15 23:19:25 -07:00
Jarred Sumner
766a9cf4f2
Fix some argument validation issues in fetch() ( #13337 )
2024-08-15 23:14:59 -07:00
Jarred Sumner
98a709fb1b
Further clang-analyzer ( #13324 )
2024-08-15 15:01:36 -07:00
Meghan Denny
715ff7f323
node:fs: add additional error handling for flags and mode ( #13321 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-15 13:13:11 -07:00
Jarred Sumner
df1744f0da
Bump
2024-08-15 13:12:32 -07:00
Dylan Conway
5bd344281f
fix(TextEncoder): domjit crash in encode ( #13320 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-15 03:35:58 -07:00
Viktor L
b70458c3e4
Fix "bun exec" examples ( #13318 )
2024-08-15 00:31:29 -07:00
Jarred Sumner
3f686222d4
Micro-optimize Module._resolveFilename ( #13322 )
2024-08-14 23:36:46 -07:00
Jarred Sumner
36fc324523
Fixes #13311 ( #13319 )
2024-08-14 22:46:45 -07:00
Meghan Denny
a5bd94f582
node:net.Server listen handler should be bound to the server ( #13290 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-14 19:00:57 -07:00
Jarred Sumner
4fae1b4475
Increase max concurrent connection count for connecting sockets ( #13294 )
2024-08-14 19:00:31 -07:00
Jarred Sumner
2fa60f2d12
Appease clang-tidy ( #13312 )
2024-08-14 19:00:20 -07:00
Jarred Sumner
6d79edaa15
Fixes https://github.com/oven-sh/bun/issues/13001 ( #13313 )
2024-08-14 18:11:10 -07:00
190n
dc2929d4e1
Start implementing internal V8 APIs ( #12821 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-14 17:51:12 -07:00
Meghan Denny
5bc45e2721
node:net.Socket#{ref,unref} are supposed to return this ( #13291 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-14 17:23:39 -07:00
Dylan Conway
fe7f5fa731
switch nodemailer test to mailgun ( #13314 )
2024-08-14 17:18:03 -07:00
Meghan Denny
30edb594a8
node:fs: use libuv callbacks instead of custom workpool for some operations on windows ( #13278 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-14 14:57:25 -07:00
Ashcon Partovi
1961a9acc8
Fix using tmpdir for clean builds
2024-08-14 14:09:07 -07:00
Ashcon Partovi
9482a0afdf
Fix CI cache not working on macOS & Linux
2024-08-14 14:02:29 -07:00
Ashcon Partovi
a1312066b3
Fix secrets in CI tests ( #13306 )
2024-08-14 11:13:09 -07:00
Jarred Sumner
85a3299115
CI fixes
2024-08-14 02:09:30 -07:00
Jarred Sumner
3ea71a9672
Update env.sh
2024-08-14 02:07:01 -07:00
Jarred Sumner
bf945f6dbb
Update env.sh
2024-08-14 02:05:16 -07:00
Jarred Sumner
a366135bd2
Update runner.node.mjs
2024-08-14 01:53:27 -07:00
Ciro Spaciari
eec5abd0da
fix(net) remove unnecessary closeNT call ( #13282 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-14 01:51:40 -07:00
Jarred Sumner
cede04b019
Ensure secrets are set in CI ( #13285 )
2024-08-14 01:50:57 -07:00
Jarred Sumner
cf1863236a
Do not skip tests due to missing credentials in CI. ( #13284 )
2024-08-13 22:44:52 -07:00
Jarred Sumner
bd3517197c
Fix flaky process.cpuUsage test on linux ( #13279 )
2024-08-13 21:16:39 -07:00
Daniel M.
2c93e917a9
Fix typo ( #13266 )
2024-08-13 21:10:44 -07:00
Jarred Sumner
5e6b509100
Bump
2024-08-13 17:52:15 -07:00
Ciro Spaciari
c229da8d9a
fix(expect) fix behavior of .not.throw when receiving a string ( #13272 )
2024-08-13 17:51:18 -07:00
Jarred Sumner
4304368fc0
Clean up error codes in napi somewhat ( #13179 )
2024-08-13 12:42:10 -07:00
Ciro Spaciari
460d6edbda
fix(net/tls) we need to call end when we got FIN if allowHalfOpen is false ( #13212 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-13 00:24:37 -07:00
Meghan Denny
9628ee76fc
windows: fix fs-promises-writeFile-async-iterator.test.ts [v2] ( #13164 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-13 00:24:23 -07:00
Jarred Sumner
9fd6a04460
Fix importing empty toml file at runtime ( #13252 )
2024-08-13 00:21:18 -07:00
Meghan Denny
a13a020d4c
console: remove further uses of unbuffered_writer ( #13257 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-13 00:09:23 -07:00
Jarred Sumner
3a245dd248
upgrade webkit ( #13192 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-08-12 23:17:17 -07:00
Ciro Spaciari
b972ed6540
fix(IPC) make IPC on windows compatible with node.js ( #13258 )
2024-08-12 20:14:43 -07:00
Ciro Spaciari
dfa3a9a369
fix(sockets) fix connecting sockets not reporting close when context or the socket it self is closed manually ( #13249 )
2024-08-12 13:30:10 -07:00
Jarred Sumner
444766833c
Fixes #13226 ( #13234 )
2024-08-11 01:18:40 -07:00
Jarred Sumner
f7d459eea5
Create text-decoder-stream.mjs
2024-08-10 17:09:51 -07:00
Jarred Sumner
7d018fb323
Update text-encoder-stream.mjs
2024-08-10 03:20:14 -07:00
Jarred Sumner
5f08478229
Update text-encoder-stream.mjs
2024-08-10 03:15:11 -07:00
Jarred Sumner
d861347dc5
Optimize TextEncoderStream, part 1 ( #13222 )
2024-08-10 02:13:36 -07:00
Meghan Denny
1eb5ecb563
ci: fix setInterval.test.js on windows ( #13213 )
2024-08-10 00:53:23 -07:00
Meghan Denny
6661ab6022
console: implement cutoff for large arrays ( #13220 )
2024-08-10 00:53:02 -07:00
dave caruso
23aa4f2959
fix(bundler): tagged templates can never be moved ( #13193 )
2024-08-09 19:32:23 -07:00
Dylan Conway
9302b42919
revert 84c91bf7e1 ( #13214 )
2024-08-09 19:28:08 -07:00
Ciro Spaciari
b9ead441c1
fix(sockets) add socket wrapper and refactor context ownership handling in socket.zig ( #13176 )
2024-08-09 18:34:17 -07:00
Ciro Spaciari
24dbef7713
fix(server) fix flushing ( #13207 )
2024-08-09 18:20:04 -07:00
Ciro Spaciari
28c40babd2
fix(ws) fix handling of messages ( #13210 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-09 16:27:29 -07:00
Jarred Sumner
35465d3a29
Set -ffile-prefix-map ( #13190 )
2024-08-09 14:36:44 -07:00
Jarred Sumner
7aaf935711
Handle OOM better ( #13142 )
2024-08-09 00:43:54 -07:00
Dylan Conway
bfca627dfa
fix node:vm and DOMJIT ( #13185 )
2024-08-09 00:33:49 -07:00
Jarred Sumner
22e37a5c8d
Add more debug exception checks ( #13188 )
2024-08-08 22:49:26 -07:00
Jarred Sumner
960514364e
Bump
2024-08-08 22:02:31 -07:00
Jarred Sumner
98078e7639
Fix leak when throwing exception in Response constructor ( #13186 )
2024-08-08 21:48:17 -07:00
Jarred Sumner
62d973f19f
throw("Out of memory") -> throwOutOfMemory() (#13182 )
2024-08-08 20:53:43 -07:00
Jarred Sumner
5cbb6926f5
Add test for file descriptor leaks in FileSink ( #13181 )
2024-08-08 18:33:41 -07:00
Ciro Spaciari
077ee55211
fix fast shutdown ( #13156 )
2024-08-08 15:54:54 -07:00
Jarred Sumner
adb31c0752
Fixes #12881
2024-08-08 15:01:55 -07:00
Meghan Denny
ab55477c2d
vscode/launch.json: audit and tidy ( #13162 )
2024-08-08 14:27:36 -07:00
Meghan Denny
ef23b8e60c
package.json: add build:windows:release script ( #13163 )
2024-08-08 14:27:01 -07:00
Jarred Sumner
e6528f81c9
Update stale.yaml
2024-08-08 13:27:18 -07:00
Jarred Sumner
1481cc2730
Update stale.yaml
2024-08-08 13:24:46 -07:00
Jarred Sumner
e6c87bddee
Update stale.yaml
2024-08-08 13:20:31 -07:00
Jarred Sumner
f7b2e2a795
Add stale label
2024-08-08 13:18:21 -07:00
huseeiin
3aaa240233
Add bytes() to Blob ( #13166 )
2024-08-08 10:23:08 -07:00
Meghan Denny
9d74b5bdc8
crash_handler: support printing windows version ( #13157 )
2024-08-07 21:34:07 -07:00
Ashcon Partovi
d74a192345
Fix submodules script
2024-08-07 14:03:20 -07:00
Ashcon Partovi
76a3dc268d
Skip canary release on release build
2024-08-07 13:56:46 -07:00
Ashcon Partovi
d2c821bbf6
Potential fix for dependencies script
2024-08-07 13:54:06 -07:00
Ashcon Partovi
ff334da585
Rebuild dependencies if release build
2024-08-07 13:46:41 -07:00
huseeiin
d96629e053
Better MDN reference ( #13144 )
2024-08-07 13:22:41 -07:00
Ciro Spaciari
c527058f14
implement NODE_EXTRA_CA_CERTS ( #13150 )
2024-08-07 13:21:52 -07:00
Ciro Spaciari
3efd445084
refactor(fetch) make handshake less confuse ( #13145 )
2024-08-07 13:20:05 -07:00
Ashcon Partovi
84c91bf7e1
Revert TextDecoderStream until next release ( #13151 )
2024-08-07 12:34:04 -07:00
Dylan Conway
9f7c6e34cb
Add TextDecoderStream, TextEncoderStream, and TextDecoder.decode("", { stream: true}) ( #13115 )
2024-08-07 02:36:29 -07:00
Meghan Denny
d44969769f
darwin: implement node:os.freemem() ( #12870 )
2024-08-07 02:31:45 -07:00
Meghan Denny
ff0f9d5f4d
node:worker_threads: fix assertion when require is used with 'eval:true' ( #13108 )
2024-08-07 02:30:40 -07:00
Meghan Denny
c63c55cbb1
node:fs: fix assertion when chown is passed non-numbers ( #13113 )
2024-08-07 02:29:50 -07:00
Meghan Denny
6d09772a13
ci: build windows in ReleaseSafe ( #13140 )
2024-08-07 02:24:54 -07:00
Jarred Sumner
df33f2b2a2
Make getIfPropertyExists binding safer ( #13134 )
2024-08-06 19:23:01 -07:00
Ashcon Partovi
923303047f
Fix S3 upload URL for canary assets
2024-08-06 18:51:06 -07:00
Jarred Sumner
3876ecfde8
Add test for calling websocket server publish/send methods repeatedly on closed sockets ( #13131 )
2024-08-06 16:22:21 -07:00
dave caruso
2680deb5d3
feat: bun build --compile --sourcemap ( #13047 )
2024-08-06 13:51:11 -07:00
Jarred Sumner
e1aadd0d7a
Fix missing user-provided reason in fs.watch abort ( #13118 )
2024-08-06 00:37:17 -07:00
Jarred Sumner
7a6efad44e
Skip creating JSValue for abort when it's not necessary in more cases ( #13117 )
2024-08-06 00:37:03 -07:00
dave caruso
4ed0c36063
fix(bundler): handle assigning to exports ( #13119 )
2024-08-06 00:33:32 -07:00
Meghan Denny
b75c605a75
node:http: fix assertion when request() is given options.headers thats non-object ( #13112 )
2024-08-05 23:54:51 -07:00
Jarred Sumner
7da9e7c45d
Add test to #13082 and use WTF_MAKE_FAST_ALLOCATED ( #13105 )
...
Co-authored-by: FuPeiJiang <42662615+FuPeiJiang@users.noreply.github.com >
2024-08-05 22:07:49 -07:00
dave caruso
30d06dec47
fix(bundler): use visited enum value ( #13101 )
2024-08-05 18:35:04 -07:00
Ashcon Partovi
3674493aa4
Potential fix for canary artifacts missing
2024-08-05 17:49:12 -07:00
Jarred Sumner
cacbaba524
Make signal.abort() from native code fast ( #13064 )
2024-08-05 15:50:36 -07:00
Jarred Sumner
0d7d789ebd
Implement aborted() in node:util and getEventListeners in node:events ( #13100 )
2024-08-05 15:47:52 -07:00
Jarred Sumner
1aa35089d6
Enable more sanitizers and fix mimalloc debug configuration ( #13086 )
2024-08-04 21:25:00 -07:00
Jarred Sumner
1de1745085
Bump LLVM 18 in C++ lint
2024-08-04 21:24:31 -07:00
Jarred Sumner
639e9a83d5
Add nullability annotations ( #13048 )
2024-08-04 21:16:41 -07:00
Jarred Sumner
9db3379cc5
Fix missing source code preview in Next.js dev server ( #13073 )
2024-08-04 20:13:27 -07:00
Jarred Sumner
c5c55c7ce4
Fixes #13049 ( #13069 )
2024-08-04 19:50:53 -07:00
Jarred Sumner
43326b0b2d
Fixes #12894 ( #13067 )
2024-08-04 19:49:49 -07:00
Jarred Sumner
680f842948
Fix missing error log in Bun.serve ( #13066 )
2024-08-04 17:54:43 -07:00
Ciro Spaciari
363a4934d0
fix(server) ( #13078 )
2024-08-04 17:34:31 -07:00
Andrew Johnston
98f9e276b0
fix(build): retry webkit download on failure, resume download with curl ( #13061 )
...
Co-authored-by: Andrew Johnston <andrew@bun.sh >
2024-08-04 09:00:00 -07:00
guest271314
ce1286efef
Try to fix formatting in rendered guides document ( #13077 )
2024-08-04 08:59:00 -07:00
guest271314
fd84ace83b
Document Bun supports Import Attributes and JSON modules syntax ( #13074 )
2024-08-04 07:44:38 -07:00
Andrew Johnston
483af7c33c
fix (worker-eval): fail worker with source when eval = false ( #13062 )
...
Co-authored-by: Andrew Johnston <andrew@bun.sh >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-03 23:49:36 -07:00
Meghan Denny
6fbe3d8214
properly propogate exit code if process onexit handler throws ( #13058 )
2024-08-03 16:29:52 -07:00
Ciro Spaciari
c552cb40d1
fix(server/tls/streams) fix onReadFile, streams, avoid shutdown on fatal errors, ensure ssl loop data and server ref count refactor ( #12979 )
2024-08-03 01:41:18 -07:00
Jarred Sumner
63cf732ab4
Support async iterators in fs.promises.writeFile ( #13044 )
2024-08-02 23:05:48 -07:00
Dylan Conway
6303af3ce0
fix(TextDecoder): decoding sequences starting with 192 or 193 ( #13043 )
2024-08-02 23:01:34 -07:00
Ashcon Partovi
9104bd7210
Fix debug builds on macOS
2024-08-02 13:02:14 -07:00
Jarred Sumner
b5c91a4b7e
Upgrade WebKit ( #12873 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-08-02 04:58:31 -07:00
Jarred Sumner
82239371ab
Enable -Werror=int-conversion and -Werror=nonnull ( #13025 )
2024-08-02 01:59:08 -07:00
Jarred Sumner
26526cba38
Fix UDP socket tests on macOS 13. ( #13022 )
2024-08-02 00:21:57 -07:00
Jarred Sumner
214b3ccca0
Make zig cache dir relative to the cmake dir instead of global
2024-08-01 21:04:52 -07:00
dave caruso
ada020b69f
fix(bundler): printing e_commonjs_export_identifier when it got deoptimized. ( #13017 )
2024-08-01 21:02:54 -07:00
Ashcon Partovi
deb6ff5e6c
Fix typo
2024-08-01 18:30:14 -07:00
Ashcon Partovi
f25599a6e8
Fix LTO setting on Linux
2024-08-01 18:29:06 -07:00
Ashcon Partovi
de64683b22
Fix ccache environment variable
2024-08-01 18:22:52 -07:00
Ashcon Partovi
c6d508972f
Deflake some build issues
...
* Disable sccache on Windows
* Add workaround for EBUSY/UNKNOWN spawn errors
2024-08-01 18:20:20 -07:00
Jarred Sumner
2f30e19835
Disable LTO on Windows and macOS in BuildKite
2024-08-01 18:04:25 -07:00
Meghan Denny
0081ab4738
ci: disable BUN_ENABLE_CRASH_REPORTING ( #13013 )
2024-08-01 17:49:43 -07:00
Jarred Sumner
6f6ea0d6f3
Add -Xclang -fno-c++-static-destructors on Windows ( #13014 )
2024-08-01 17:49:01 -07:00
dave caruso
622432e843
feat(bundler): inlining/dead-code-elimination for import.meta.main (and --compile) ( #12867 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Andrew Johnston <apjohnsto@gmail.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-08-01 17:25:38 -07:00
dave caruso
80eb6d00e8
followup to recent feedback ( #13009 )
2024-08-01 17:21:24 -07:00
Meghan Denny
b6715d2c64
test/package-json-lint.test.ts: add back test/package.json to suite ( #13011 )
2024-08-01 16:56:29 -07:00
Meghan Denny
f371a78568
fix test/package-json-lint.test.ts ( #13010 )
2024-08-01 16:47:53 -07:00
dave caruso
c2cf528953
bundler: Add --ignore-dce-annotations, and other DCE annotation related stuff ( #12808 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-01 15:00:38 -07:00
Jarred Sumner
9911407f26
Sort heapStats() object type counts ( #12989 )
2024-08-01 14:09:54 -07:00
Jarred Sumner
59c5c0fe48
Fix memory leak when requiring or importing modules that get GC'd later ( #12997 )
2024-08-01 12:05:37 -07:00
dave caruso
e585f900c9
escape windows in bun upgrade ( #12985 )
2024-08-01 01:04:20 -07:00
Jarred Sumner
dc620ea837
Fix a small memory leak when requiring CommonJS modules ( #12984 )
2024-07-31 22:30:01 -07:00
Jarred Sumner
49ab4c147a
Shrink the list of setTimeout/setInterval timers after awhile ( #12957 )
2024-07-31 20:50:34 -07:00
Ciro Spaciari
b2a4df68c3
fix(server) fix extra data sent in HTTP after sendfile + Date headers ( #12978 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-31 20:22:52 -07:00
Jarred Sumner
4c0a1f2983
Add a note
2024-07-31 18:38:19 -07:00
Ciro Spaciari
bec04c7341
change Body.Value.Error to not always allocate JSValues ( #12955 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-31 02:26:14 -07:00
Jarred Sumner
a44b7e41d2
Pass --force to git submodule update in CI
2024-07-30 23:03:35 -07:00
Jarred Sumner
de5e56336c
Use example.com as the test domain in a test
2024-07-30 22:44:47 -07:00
Ciro Spaciari
1c648063fa
fix(tls/socket/fetch) shutdown fix + ref counted context ( #12925 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-30 22:41:54 -07:00
Jarred Sumner
1c3354bc95
Deflake setInterval test
2024-07-30 22:33:04 -07:00
dave caruso
d5d4f53e82
fix(bundler): put unwrapped cjs imports at top level for minifyrenamer ( #12951 )
2024-07-30 21:30:09 -07:00
Pipythonmc
7ab4dc738f
doc: fix incorrect documentation relating to the --define flag ( #12952 )
2024-07-30 19:17:32 -07:00
dave caruso
ebc7045ca4
fix crash handler test failures ( #12932 )
2024-07-30 16:52:59 -07:00
Ashcon Partovi
848ad19d9e
Attempt to fix flaky Windows builds
2024-07-30 10:55:13 -07:00
Ashcon Partovi
1da3436266
Attempt to fix flaky build-deps on Windows
2024-07-30 10:48:24 -07:00
Ashcon Partovi
49e496399a
Attempt to fix missing GitHub assets on release
2024-07-30 10:44:44 -07:00
Ashcon Partovi
9b8340a5b3
Attempt to fix 'spawn error' on Windows tests
2024-07-29 19:16:29 -07:00
Meghan Denny
8efcc61a7b
windows: cleanup logging of NODE_CHANNEL_FD ( #12930 )
2024-07-29 19:16:02 -07:00
Meghan Denny
4d6480050c
NodeError: add more and use them in child_process and dgram ( #12929 )
2024-07-29 19:15:23 -07:00
Meghan Denny
fc2c134bc6
test: rewrite "should call close" to use promise instead of done ( #12931 )
2024-07-29 19:05:44 -07:00
m1212e
4c4db1da37
docs: Add hint for memory timeline in debugger ( #12923 )
2024-07-29 19:05:13 -07:00
dave caruso
77e14c8482
fix template addition folding 12904 ( #12928 )
2024-07-29 19:04:59 -07:00
Ashcon Partovi
fba5d65003
Make the release script faster
2024-07-29 17:38:06 -07:00
Jarred Sumner
c181cf45a7
Fixes #12910 ( #12911 )
2024-07-29 17:19:47 -07:00
Ashcon Partovi
5aeb4d9f79
Fix missing assert in release script
2024-07-29 16:57:22 -07:00
Dariush Alipour
1d9a8b4134
fix: child_process test with specified shell for windows ( #12926 )
2024-07-29 16:36:46 -07:00
Ashcon Partovi
30881444df
Fix flaky C++ build with missing submodules
2024-07-29 16:34:01 -07:00
Ashcon Partovi
a2b4e3d4c2
Fix syntax in env.ps1
2024-07-29 16:25:50 -07:00
Ashcon Partovi
e5662caa33
Fix release script, again
2024-07-29 16:21:55 -07:00
Ashcon Partovi
1f1ea7bf24
Fix release script
2024-07-29 15:29:46 -07:00
Ashcon Partovi
175746e569
Only upload canary artifacts when the build is canary
2024-07-29 14:54:29 -07:00
Ashcon Partovi
005dd776b6
Allow creating release builds with 'RELEASE=1'
2024-07-29 14:50:26 -07:00
Ashcon Partovi
81dec2657f
Enable buildkite ( #12653 )
2024-07-29 14:39:50 -07:00
Jarred Sumner
dbd320ccfa
Remove some dynamic memory allocations in uWebSockets ( #12897 )
2024-07-29 15:10:55 -03:00
Jarred Sumner
8f8d3968a3
Enable concurrent transpiler on Windows ( #12915 )
2024-07-29 06:25:38 -07:00
Jarred Sumner
0bbdd880e6
Fix various Windows build issues
2024-07-29 04:31:39 -07:00
Jarred Sumner
51257d5668
Add BUN_FEATURE_FLAG_DISABLE_ASYNC_TRANSPILER feature flag
2024-07-29 01:37:59 -07:00
Jarred Sumner
a2ae28d158
Add named allocator
2024-07-28 21:27:08 -07:00
Jarred Sumner
f04991f6bb
Fix debug build issue
2024-07-28 19:38:03 -07:00
Andrew Johnston
80e651aca3
fix(build): use specific version of lld for link on unix ( #12907 )
2024-07-28 18:38:01 -07:00
Jarred Sumner
a5ba02804f
Use typed allocators in more places ( #12899 )
2024-07-28 18:37:35 -07:00
Jarred Sumner
4199fd4515
Fix memory leak in RuntimeTranspilerStore ( #12900 )
2024-07-28 08:30:32 -07:00
Dylan Conway
848327d333
textencoder: remove DOMJIT ( #12868 )
2024-07-28 07:46:53 -07:00
Jarred Sumner
bfb72f84c4
In debug builds on macOS, add malloc_zone_check when GC runs
2024-07-28 05:13:50 -07:00
Jarred Sumner
e4022ec3c7
Bump versions of things
2024-07-27 02:02:48 -07:00
Jarred Sumner
a7f34c15fc
Slightly better error.stack ( #12861 )
2024-07-27 01:02:46 -07:00
Meghan Denny
a0ebb051b0
implement node:util.getSystemErrorName() ( #12837 )
2024-07-27 00:20:50 -07:00
dave caruso
70ca2b76c3
fix: check if we are crashing before exiting gracefully ( #12865 )
2024-07-26 20:00:02 -07:00
Jarred Sumner
e5ac4f94fa
Handle errors in node:http better ( #12641 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-26 19:53:36 -07:00
dave caruso
d547d8a30e
fix a bundler crash ( #12864 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-07-26 19:39:37 -07:00
Meghan Denny
32d9bb3ced
ci: format: switch to mlugg/setup-zig ( #12863 )
2024-07-26 18:47:02 -07:00
dave caruso
75df73ef90
fix: make raiseIgnoringPanicHandler ignore the panic handler ( #12578 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-26 18:36:53 -07:00
Dylan Conway
13907c4c29
fix(build): assertion failure when cross-compiling on windows ( #12862 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-07-26 17:29:01 -07:00
Jarred Sumner
87169b6bb3
Configure libcpp assert to avoid macOS 13.0 issue ( #12860 )
2024-07-26 16:03:16 -07:00
Jarred Sumner
244100c32f
When crash reporter is disabled also disable resetSegfaultHanlder
2024-07-26 14:50:56 -07:00
Jarred Sumner
8a78b2241d
Rename JSC.Node.StringOrBuffer -> StringOrBuffer
2024-07-26 14:50:30 -07:00
dave caruso
bf8b6922bb
Fix memory leak when printing any error's source code. ( #12831 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-26 14:14:16 -07:00
Dylan Conway
7aa05ec542
bump webkit ( #12858 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-07-26 14:13:58 -07:00
Meghan Denny
f95ae9baee
launch.json: remove BUN_DEBUG_ALL=1 from 'bun run' ( #12845 )
2024-07-26 04:14:45 -07:00
Meghan Denny
f7cb2da542
use .undefined literal instead of jsUndefined() call ( #12834 )
2024-07-26 04:03:55 -07:00
Meghan Denny
d966129992
bindings: better use of jsc api in Path_functionToNamespacedPath ( #12836 )
2024-07-26 04:02:31 -07:00
Meghan Denny
6cb5cd2a87
node:v8: expose DefaultDeserializer and DefaultSerializer exports ( #12838 )
2024-07-26 03:58:47 -07:00
Meghan Denny
080a2806af
uws: tidy use of ssl intFromBool ( #12839 )
2024-07-26 03:58:01 -07:00
Meghan Denny
92c83fcd9e
ipc: make IPCInstance.context void on windows instead of u0 ( #12840 )
2024-07-26 03:56:13 -07:00
Meghan Denny
277ed9d138
bindings: fix zig extern def of Bun__JSValue__deserialize ( #12844 )
2024-07-26 03:48:30 -07:00
Meghan Denny
879cb23163
cpp: missing uses of propertyNames ( #12835 )
2024-07-26 03:47:41 -07:00
Jarred Sumner
d321ee97c5
Move napi_new_instance to c++ ( #12658 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-07-25 18:51:01 -07:00
Jarred Sumner
3bfeb83e7e
Fix [Symbol.dispose] on Bun.listen() & Bun.connect() + add types ( #12739 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-07-25 18:49:35 -07:00
Meghan Denny
5a18b7d2fc
fixes relationship between process.kill and process._kill ( #12792 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-25 18:46:30 -07:00
Gert Goet
e75ef69fb4
Fix spacing of patch-command help ( #12769 )
2024-07-25 18:44:52 -07:00
Dylan Conway
78021e34ae
fix(bun:test): make sure test.each doesn't return .zero ( #12828 )
2024-07-25 18:24:16 -07:00
Dylan Conway
d7187592c0
fix(brotli): protect and unprotect buffer values ( #12829 )
2024-07-25 18:24:01 -07:00
Jarred Sumner
5f1b569c52
Fix crash when creating a new Worker with a numeric environment varia… ( #12810 )
2024-07-25 18:10:57 -07:00
dave caruso
e54fe5995b
fix(bundler): dont tree-shake imported enum if inlined and used ( #12826 )
2024-07-25 17:29:20 -07:00
Jarred Sumner
a2f68989a0
Retry on 5xx errors from npm registry ( #12825 )
2024-07-25 17:28:59 -07:00
Jarred Sumner
4a1e01d076
Use bun.New more ( #12811 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-07-25 15:35:02 -07:00
Jarred Sumner
dd8b0a5889
Clean up socket_async_http_abort_tracker after a lot of requests ( #12816 )
2024-07-25 15:34:48 -07:00
Jarred Sumner
8cadf66143
Add malloc zones to heapStats() on macOS in debug builds ( #12815 )
2024-07-25 15:33:43 -07:00
Jarred Sumner
77cd03dad1
Workaround for BUN-2WQ ( #12806 )
2024-07-25 15:33:17 -07:00
Meghan Denny
82b42ed851
node: more process.exitCode fixes ( #12809 )
2024-07-25 15:18:41 -07:00
Dylan Conway
2de82c0b3b
fix regression test
2024-07-25 14:07:57 -07:00
Jarred Sumner
30df04cd35
Add a couple feature flags
2024-07-25 05:52:50 -07:00
Jarred Sumner
585c8299d8
Clean up some stack trace printing logic ( #12791 )
2024-07-25 04:04:02 -07:00
Dylan Conway
375d8da8e6
fix(brotli): protect buffer jsvalues ( #12800 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-25 04:01:53 -07:00
Jarred Sumner
0bd8db7162
Slightly reduce pointer lookups in hot code path ( #12802 )
2024-07-24 23:07:51 -07:00
Meghan Denny
d97260869d
replace JSValue .callWithThis with always explicit .call ( #12789 )
2024-07-24 23:07:28 -07:00
Jarred Sumner
fdb58dc861
Fixes #9555 ( #12801 )
2024-07-24 23:07:04 -07:00
Meghan Denny
5f118704ec
web-apis.md: make this list diff better; does not change presentation ( #12795 )
2024-07-24 22:27:32 -07:00
dave caruso
610c7f5e47
fix memory lifetime of define expressions ( #12784 )
2024-07-24 22:27:14 -07:00
Meghan Denny
1e0b20f514
node: fix observable value of process.exitCode ( #12799 )
2024-07-24 22:26:07 -07:00
Meghan Denny
f6c89f4c25
JSValue.toFmt doesn't need a globalThis param because ConsoleObject.Formatter already has one ( #12790 )
2024-07-24 22:03:51 -07:00
Meghan Denny
907cd8d45d
fix crash in populateStackTrace() ( #12793 )
2024-07-24 21:08:25 -07:00
Dylan Conway
ac4523e903
fix(napi): unref threadsafe functions on finalize ( #12788 )
2024-07-24 18:57:01 -07:00
Jarred Sumner
24574dddb2
Ensure LLVM 18 with Homebrew on macOS
2024-07-24 15:56:05 -07:00
Dylan Conway
2da57f6d7b
napi_threadsafe_function async tracker (#12780 )
2024-07-24 15:27:51 -07:00
dave caruso
e2c3749965
fix(bundler): become smarter with __esm wrappers ( #12729 )
2024-07-24 02:00:20 -07:00
Jarred Sumner
57c6a7db35
libdeflate ( #12741 )
2024-07-24 01:30:31 -07:00
ippsav
c37891471a
Fix alignment calculation in Zone.create function ( #12748 )
2024-07-24 01:30:11 -07:00
Jarred Sumner
8ba0791dc8
Use one JSC::SourceProvider instead of 322 ( #12761 )
2024-07-24 01:26:09 -07:00
dave caruso
f9371e59f2
fix(bundler): fix part liveness calculation ( #12758 )
2024-07-23 23:49:01 -07:00
Jarred Sumner
79ddf0e47a
Fix assertion failure in bun build when entry point is a file loader ( #12683 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-07-23 22:02:51 -07:00
David Stevens
177f3a8622
Fixes #12182 - update default port when server is created ( #12201 )
2024-07-23 11:07:38 -07:00
Ciro Spaciari
5a5f3d6b30
fix(http) timeout ( #12728 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-23 01:13:43 -07:00
Ivan Baksheev
4e5d759c37
fix(bundler): ignore external rules for entrypoint ( #12736 )
2024-07-23 00:33:18 -07:00
Jarred Sumner
1a702dfdc7
Add canary to cache key
2024-07-22 22:16:27 -07:00
Jarred Sumner
3ef84816a6
Update WebKit
2024-07-22 20:47:53 -07:00
Jarred Sumner
6e9b592c56
try using LLVM 18 on macOS ( #12727 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-22 20:44:29 -07:00
Jarred Sumner
a6b5543bd8
Don't set fuse-ld=lld in boringssl script
2024-07-22 15:41:41 -07:00
Jarred Sumner
a4759eb147
Bump minimum macOS build to 13.0
2024-07-22 14:50:23 -07:00
Dariush Alipour
732ed2b7df
Fix: test coverage node_modules exclusion in Windows ( #12691 )
2024-07-22 13:25:42 -07:00
Jarred Sumner
63fab9a82b
Update fetch.md
2024-07-22 04:06:00 -07:00
Jarred Sumner
ff17b427c8
Update fetch.md
2024-07-22 04:02:48 -07:00
Jarred Sumner
ca44df7c88
Update fetch.md
2024-07-22 03:57:29 -07:00
huseeiin
9daa7ea555
Update bun.d.ts ( #12719 )
2024-07-22 03:55:14 -07:00
Jarred Sumner
2f0020f00f
Update fetch.md
2024-07-22 03:52:33 -07:00
Jarred Sumner
599d27d93e
Update fetch.md
2024-07-22 03:50:22 -07:00
Jarred Sumner
696f209ec1
Update fetch.md
2024-07-22 03:49:32 -07:00
Jarred Sumner
1a6ead667b
Introduce bun --fetch-preconnect <url> ./my-script.ts ( #12698 )
2024-07-22 03:41:59 -07:00
Jarred Sumner
bbf2f5d716
Experiment: disable C++ static destructors ( #12652 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-21 21:32:52 -07:00
ippsav
9574044083
Fix expect.toThrow(expect.any()) matcher to correctly handle ExpectAny objects ( #12670 )
2024-07-21 20:35:18 -07:00
Jarred Sumner
822b725bec
Fix BUN-2M9, take two
2024-07-21 08:49:00 -07:00
Jarred Sumner
dc775f75f0
Fix BUN-2M9
2024-07-21 07:40:57 -07:00
Jarred Sumner
738947bdec
Deflake node-tls-connect test
2024-07-20 02:36:08 -07:00
Jarred Sumner
b7efeafc03
Deflake node-tls-connect test
2024-07-19 23:42:23 -07:00
Jarred Sumner
f5d1a17a5c
Fix crash in bun exec cd ( #12676 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-19 22:57:52 -07:00
Jarred Sumner
03024e6b4e
Fix truncating in BigIntStats ( #12643 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-19 20:00:32 -07:00
Jarred Sumner
1d61676c7b
Check for file or directory
2024-07-18 13:56:21 -07:00
Jarred Sumner
23fb63f45c
Fixes #12360 ( #12364 )
2024-07-18 09:10:15 -07:00
Jarred Sumner
0be71edf3f
Upload .dSYM file
2024-07-18 03:19:48 -07:00
Jarred Sumner
6b50deb7b7
Move dev dependencies to "devDependencies"
...
Spammy vulnerability scanning software can't tell we aren't using these in the "bun" npm package.
2024-07-18 01:13:36 -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
HibanaSama
b1dce1e241
build(windows): fix esbuild errors when bundling node-fallbacks ( #12628 )
2024-07-17 19:40:25 -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
Jarred Sumner
ecf5aea071
Ensure undici primordials are pristine ( #12635 )
2024-07-17 18:56:22 -07:00
Jarred Sumner
79d21a0d02
Bump internal bun versions
2024-07-17 17:21:14 -07:00
dave caruso
43949151b1
fix(bundler): importing modules with trailing slash no longer uses a builtin ( #12632 )
2024-07-17 17:17:00 -07:00
Ciro Spaciari
16aad326e4
fix(setSystemTime) fix number parameter behavior ( #12630 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-07-17 17:09:24 -07:00
Jarred Sumner
1a6f2d38da
Github actions
2024-07-17 03:31:12 -07:00
Jarred Sumner
c6149d36b3
Bump
2024-07-17 02:40:42 -07:00
Jarred Sumner
34e493f945
Experiment: disable -fPIC and relro ( #12582 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-17 02:33:46 -07:00
dave caruso
866b301626
bundler: make import() calls visit the options object ( #12617 )
2024-07-16 23:21:34 -07:00
dave caruso
cabc0fa0e6
fix typescript namespace merging with functions and classes ( #12610 )
2024-07-16 19:39:27 -07:00
HibanaSama
d703354fcd
docs: close details block ( #12533 )
2024-07-16 17:50:47 -07:00
Ciro Spaciari
37036f2eb0
fix(serve) fix abrupt close when downloading data ( #12581 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-07-16 16:39:37 -07:00
190n
ff0dc62314
Accept undefined as explicit second argument for path.*.basename ( #12609 )
2024-07-16 16:37:21 -07:00
Ciro Spaciari
f05f13780e
fix(CryptoHasher) check of .empty/null/undefined in update ( #12607 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-07-16 16:33:35 -07:00
190n
4d74855fd7
Prevent unref from hanging on uninitialized dgram socket ( #12585 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-16 16:31:07 -07:00
Jarred Sumner
5088a360b5
Avoid stale reference to Body.Value when erroring ( #12579 )
2024-07-16 12:33:19 -07:00
dave caruso
891b1907ae
feat(bundler): implement non-isolated hashes ( #12576 )
2024-07-15 20:34:15 -07:00
dave caruso
ae988642fb
fix .use_count integer underflow ( #12584 )
2024-07-15 18:36:42 -07:00
190n
75e442c170
Change .mjs to .mts during TypeScript module resolution ( fixes #12471 ) ( #12580 )
2024-07-15 18:12:18 -07:00
Jarred Sumner
8808af1c99
Replace some Identifier::fromString usages with vm->propertyNames ( #12575 )
2024-07-15 16:15:56 -07:00
Jarred Sumner
b9d2a03ffc
Make creating a BufferList (used in node:stream) slightly faster ( #12577 )
2024-07-15 16:15:10 -07:00
Jarred Sumner
157b56cca5
Update launch.json
2024-07-15 15:12:57 -07:00
Eric L. Goldstein
caaeae123a
Add documentation for mock.restore() ( #12553 )
2024-07-14 21:20:33 -07:00
Ivan Baksheev
20235a0d22
Add packages option to remove all dependencies from bundle ( #12562 )
2024-07-14 15:20:27 -07:00
Dylan Conway
ae19489250
bump
2024-07-12 19:45:10 -07:00
Dylan Conway
242c48f302
bump
2024-07-12 19:42:18 -07:00
dave caruso
110849355c
make the windows binary smaller ( #12523 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-12 00:20:28 -07:00
Jarred Sumner
36fd3115f1
Try icf=safe ( #12524 )
2024-07-11 22:37:04 -07:00
Jarred Sumner
7d9b876968
Use armv8a+crc
2024-07-11 20:59:37 -07:00
Jarred Sumner
40f0da1254
Use armv8-a
2024-07-11 20:30:21 -07:00
Jarred Sumner
aea3964abd
Set -march instead of -mcpu
2024-07-11 20:14:43 -07:00
Jarred Sumner
780bff781d
Set the cpu model in the right place
2024-07-11 19:00:06 -07:00
Jarred Sumner
c6a2ab5165
Revert "Don't set mtune"
...
This reverts commit ef1c660708 .
2024-07-11 18:58:24 -07:00
Jarred Sumner
ef1c660708
Don't set mtune
2024-07-11 18:40:52 -07:00
Ciro Spaciari
11f8d3cb24
fix(server) fix abrupt stop ( #12472 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-07-11 18:22:23 -07:00
dave caruso
3ac9c3cc1c
make bun static link the c redistributable ( #12521 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-07-11 17:35:35 -07:00
Jarred Sumner
aa0f54cb93
Fixes #12076 ( #12504 )
2024-07-11 16:59:14 -07:00
huseeiin
8a3f882ef7
Update README.md ( #12512 )
2024-07-11 07:24:13 -07:00
Jarred Sumner
b7dd57ac32
Fix zig build error on Windows
2024-07-11 00:08:05 -07:00
Jarred Sumner
cf1c7772f3
See if .dSYM will upload ( #12502 )
2024-07-10 23:53:17 -07:00
Jarred Sumner
329d5e2af5
Disable this debug log
2024-07-10 23:25:55 -07:00
Jarred Sumner
0098678a1d
Upload .dSYM file in CI
2024-07-10 23:04:06 -07:00
Jarred Sumner
bf4c2caa11
Bump
2024-07-10 22:48:28 -07:00
Jarred Sumner
226f42e04a
Rewrite js_ast.NewBaseStore ( #12388 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-07-10 21:57:40 -07:00
Ciro Spaciari
96d19fcfe2
fix(fetch.tls.test) make test more reliable ( #12499 )
2024-07-10 21:52:34 -07:00
Dylan Conway
58483426cd
fix(install): call GetFinalPathNameByHandle on cwd for postinstall scripts ( #12497 )
2024-07-10 21:09:14 -07:00
Dylan Conway
25f7ef7338
Revert "Nest test results under describe scopes ( #12189 )"
...
This reverts commit 6a43f7f52d .
2024-07-10 21:05:47 -07:00
Jarred Sumner
412806bb22
Make expect().toThrow faster ( #12494 )
2024-07-10 20:46:29 -07:00
Ciro Spaciari
4c87406391
fix(ssl) fix ssl shutdown ( #12492 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-10 20:29:54 -07:00
Dylan Conway
5f7b96b58f
fix(install): optional peer dependency bugfix ( #12485 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-07-10 20:04:32 -07:00
Jarred Sumner
f1151a84ad
On Windows, fix fs.writeFile(1, fs.writeFile(2, fs.writeFile(\\nul ( #12410 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-07-10 19:49:36 -07:00
Zack Radisic
cdc68a2237
.npmrc follow up ( #12390 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-07-10 19:35:21 -07:00
Jarred Sumner
e866793eb3
Fix Windows assertion failures
2024-07-10 18:08:04 -07:00
Dylan Conway
cf9c418bcb
revert
2024-07-10 17:22:16 -07:00
Jarred Sumner
138ef1328e
webcrypto tests are slow
2024-07-10 17:18:39 -07:00
Dylan Conway
e5e6d7ca43
comma
2024-07-10 17:03:19 -07:00
Jarred Sumner
cb81fc5445
Make ${encoding}Slice & ${encoding}Write work on Uint8Array ( #12491 )
2024-07-10 16:58:01 -07:00
Dylan Conway
d8caf7f9fa
install all at once
2024-07-10 16:48:40 -07:00
Dylan Conway
6f8ceb0ea9
windows: bump llvm to 18.1.8 ( #12490 )
2024-07-10 16:45:54 -07:00
dave caruso
02b589b2ce
fix a crash in remapping stacks ( #12477 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-10 16:39:05 -07:00
Jarred Sumner
55d59ebf1f
Try disabling the vs2022 build tools workaround
2024-07-10 02:01:29 -07:00
Jarred Sumner
e1bc6c55d5
Speculative fix for crash in visitChildren in BufferList ( #12427 )
2024-07-10 01:44:52 -07:00
Dylan Conway
e42dede529
upgrade webkit ( #12474 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-07-10 01:38:26 -07:00
arnab
73ef93ffa3
Fix spelling - following ( #12479 )
2024-07-09 23:35:06 -07:00
Derrick Farris
475f71a2a1
fix(jest): beforeEach, afterEach not called for test.todo ( #12406 )
2024-07-09 23:15:27 -07:00
Ciro Spaciari
af6035ce36
fix(server) wait for readFile on abort/process exit cases ( #12441 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-09 22:38:32 -07:00
Jarred Sumner
bfa395d1d5
Warn when installing a global binary and global bin is not in path ( #12454 )
2024-07-09 22:32:56 -07:00
Jarred Sumner
76bb5b8619
Set __DARWIN_NON_CANCELABLE ( #12354 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-09 17:48:31 -07:00
Imgodmaoyouknow
6354e608a7
chore(docs): fix wrongly written at binary-data.md ( #12451 )
2024-07-09 17:39:01 -07:00
Le Michel
28d9527189
Update cache.md ( #12231 )
2024-07-09 17:26:18 -07:00
Victor Homyakov
fbcd843c58
Make JSX in react-hello-world.node.jsx the same as others ( #12259 )
2024-07-09 17:25:54 -07:00
lmmfranco
6b0c2383d5
Adding proper bash quote escaping on install.sh ( #5002 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-09 17:10:43 -07:00
silverwind
f1a748fcab
Add -u alias to bun test ( #10097 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-09 16:53:35 -07:00
Vladimir Pouzanov
87296405a7
Remove the case-insensitive bit from the docs. ( #4858 )
2024-07-09 16:47:48 -07:00
张新伟
4dfbabd590
chore(docs): add notes for ubuntu developers ( #12296 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-09 16:31:26 -07:00
Jarred Sumner
ea1135a464
[bundows] Skip unnecessary GetFinalPathNameByHandle ( #10338 )
...
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-09 16:21:13 -07:00
Dmitrii
f1755df6f0
docs: update drizzle-kit cli command in drizzle.md ( #11666 )
2024-07-09 16:18:42 -07:00
Bjön Limell
b01f67857f
Added missing commands to bun.bash ( #7181 )
2024-07-09 16:15:34 -07:00
Nikola Ristić
9fe7ea340d
Add a note about bun add --exact alias to docs ( #6968 )
2024-07-09 16:09:24 -07:00
Ivan Baksheev
68ba6b9e79
docs: sync Database.run docs with types ( #9993 )
2024-07-09 15:47:15 -07:00
patricio
a703d2d019
fix(docs): correct value for BUN_CONFIG_NO_CLEAR_TERMINAL_ON_RELOAD ( #9647 )
2024-07-09 15:37:45 -07:00
dave caruso
5137213f86
heavy revision on heap_breakdown's safety ( #12445 )
2024-07-09 14:29:00 -07:00
Danny Lin
c98da7daf7
docs: Simplify Homebrew install command ( #4595 )
2024-07-09 13:32:30 -07:00
Jarred Sumner
25252c9b46
Use memmove in path handling code ( #12413 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-09 11:22:54 -07:00
Imgodmaoyouknow
21ff566d69
chore(docs): fix wrongly written at binary-data.md ( #12452 )
2024-07-09 01:44:47 -07:00
Dylan Conway
a36a01e235
fix(--watch): ref or create new module specifier strings ( #12442 )
2024-07-08 19:55:21 -07:00
Jarred Sumner
9ae870546b
On Windows, support Bun.stdin, Bun.stdout, Bun.stderr in Bun.write when the other argument is a file ( #12411 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-07-08 18:03:48 -07:00
Jarred Sumner
a4b0817cd3
Print list of CPU features in crash reports ( #12350 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-08 15:08:07 -07:00
Jarred Sumner
c2a5451e93
Fix argument validation with callbacks in node:fs ( #12412 )
2024-07-07 20:18:07 -07:00
Jarred Sumner
150ae032e8
Flip conditional
2024-07-07 09:47:30 -07:00
Jarred Sumner
37ee951448
Add unusable postgres client behind a canary-or-debug-only feature flag ( #11920 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-07 09:43:48 -07:00
Jarred Sumner
b8c70ba6cf
Deflake node-tls-connect test
2024-07-07 09:28:53 -07:00
Jarred Sumner
cbcf9506d9
Update CONTRIBUTING.md
2024-07-06 20:36:09 -07:00
Jarred Sumner
92bd629e60
Support promises in profile method in bun:jsc ( #12165 )
2024-07-06 20:24:21 -07:00
Jarred Sumner
e7031b07ae
Fix memory leak in withFileTypes: true in fs.readdir ( #12393 )
2024-07-06 20:22:55 -07:00
Jarred Sumner
41a5ebe09f
Fix memory leak in new Request(request) ( #12387 )
2024-07-05 22:11:09 -07:00
Jarred Sumner
cd97c21038
Handle OOM in btoa ( #12353 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-05 22:02:07 -07:00
dave caruso
57d22908d1
fix(transpiler): Fix non-inlined nested namespaces ( #12386 )
2024-07-05 21:59:23 -07:00
dave caruso
749c51d71a
simpler version of simplifyUnusedExpr rewrite ( #12384 )
2024-07-05 20:20:45 -07:00
Noah Friedman
80bbad6568
setup-bun action bumped to v2 in docs (#12315 )
2024-07-05 18:54:53 -07:00
Jarred Sumner
da1b3d2007
Check that ccache points to a regular file instead of a non-empty string ( #12382 )
2024-07-05 18:33:00 -07:00
Andrew Johnston
050a4b5c71
fix(formdata): handle file names correctly when setting on formdata ( #12379 )
...
Co-authored-by: Andrew Johnston <andrew@bun.sh >
2024-07-05 18:29:12 -07:00
Jarred Sumner
6f52b649da
Make debug log more useful
2024-07-05 17:28:48 -07:00
Zach Olivare
bbc621adff
docs(argv): Correct cli file name ( #12373 )
2024-07-05 16:05:12 -07:00
Jarred Sumner
71c223e111
Handle EINTR in usockets ( #12357 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-05 15:40:10 -07:00
Jarred Sumner
ee25618197
Use bun.ComptimeStringMap instead of std.StaticStringMap ( #12351 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-04 23:05:51 -07:00
Vadzim
4f3ef07455
Fix crash on aborted timer ( #12348 )
2024-07-04 16:20:59 -07:00
Jarred Sumner
fad58168d2
Configure LTO on Windows ( #12290 )
2024-07-04 16:20:18 -07:00
Dylan Conway
4fefb8507c
respect package.json indentation in bun install ( #12328 )
2024-07-03 23:10:34 -07:00
Jarred Sumner
39d5c8a8a5
Remove proto installation method from docs
...
We cannot recommend people install Bun using an installation method that makes Bun take 1 second to print the version number
https://github.com/oven-sh/bun/issues/12294
2024-07-03 20:55:18 -07:00
Jake Boone
6a43f7f52d
Nest test results under describe scopes ( #12189 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-07-03 20:46:55 -07:00
Jarred Sumner
c486a049a8
Implement buffer.resolveObjectURL ( #12324 )
2024-07-03 19:17:20 -07:00
Jarred Sumner
5a0b935231
Bump libarchive ( #12314 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-03 11:56:17 -07:00
dave caruso
688ddbda74
feat(bundler): implement enum inlining / more constant folding ( #12144 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-03 04:23:17 -07:00
Dylan Conway
b9fba61153
fix(install): patching in root package with workspaces ( #12313 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-03 03:52:15 -07:00
Jarred Sumner
dfca8147df
Bump WebKit submodule ( #12310 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-03 03:08:11 -07:00
Umar Faruq Chowdhury
b85c30cd89
Remove unused details section ( #12311 )
2024-07-03 02:14:56 -07:00
Jarred Sumner
f83e42de20
GitHub actions
2024-07-03 01:46:46 -07:00
Jarred Sumner
927dde7b34
GitHub actions
2024-07-03 01:22:49 -07:00
Jarred Sumner
c85576b15d
GitHub actions
2024-07-03 01:21:16 -07:00
Jarred Sumner
db60af1a44
GitHub actions
2024-07-03 01:14:52 -07:00
Jarred Sumner
292035efcb
GitHub actions
2024-07-03 01:10:37 -07:00
Jarred Sumner
823d790b1c
GitHub actions
2024-07-03 01:07:40 -07:00
Jarred Sumner
5573b2e899
Add comment when updating a submodule
2024-07-03 01:05:49 -07:00
Jarred Sumner
2f0789af7c
Always set enable_logs in development
2024-07-01 23:38:03 -07:00
Jarred Sumner
f8e640c018
Remove callconv from a couple functions
2024-07-01 23:35:28 -07:00
Jarred Sumner
b0018465cc
WebKit upgrade ( #12246 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-01 23:27:59 -07:00
Justin Ho
dd057613b9
Update Buffer implementation status in nodejs-apis.md ( #12274 )
2024-07-01 22:08:09 -07:00
Zack Radisic
bf14a09a23
install: fix issues with patching hoisted dependencies in workspaces ( #12141 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-07-01 17:44:18 -07:00
Filip Skokan
81711faebe
fix: add Symbol.toStringTag to KeyObject instances ( #12278 )
2024-07-01 15:13:34 -07:00
Eric L. Goldstein
86fd13643b
base64 decode the request body instead of encoding it a second time ( #12219 )
2024-07-01 11:59:33 -07:00
Zack Radisic
861be5560e
Support reading from .npmrc ( #11979 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-29 18:11:23 -07:00
Jarred Sumner
7f3e6f23f6
Refactor ZigString -> toJS ( #12242 )
2024-06-29 00:21:42 -07:00
Jarred Sumner
5f34387bea
Fix crash in dns.lookup, ensure getaddrinfo() only returns IPv4-only or IPv6-only results when it should, normalize node:dns errors ( #12223 )
2024-06-28 18:45:10 -07:00
Zack Radisic
e22383dff9
fix bad test/snapshot in glob/scan.test.ts ( #12239 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-28 18:39:53 -07:00
Dylan Conway
c1a5b4acc5
fix napi.test.ts ( #12241 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-28 18:38:37 -07:00
Jarred Sumner
61b343cf7d
GitHub actions
2024-06-28 18:01:29 -07:00
Jarred Sumner
ec3487867c
Update build-windows.yml
2024-06-28 17:42:02 -07:00
Jarred Sumner
3c52344b53
Hardcode this
2024-06-28 17:40:23 -07:00
Jarred Sumner
f37d89afb1
Revert BuildKite for now
2024-06-28 17:38:27 -07:00
Jarred Sumner
a0b5006b78
Re-enable GitHub actions CI ( #12240 )
2024-06-28 17:31:38 -07:00
Jarred Sumner
1a10f2b46e
Bump
2024-06-28 17:23:15 -07:00
Dylan Conway
acc0fe6db4
comment
2024-06-28 17:02:36 -07:00
Dylan Conway
6e89419250
fix(install): bugfix for tarball "overrides" ( #12234 )
2024-06-28 16:54:35 -07:00
Dylan Conway
d5aa7265df
fix(install): bun pm trust with updated dependencies ( #12215 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-28 16:51:06 -07:00
Ashcon Partovi
fe27a181d3
Increase macOS test parallelism to 3 [skip ci]
2024-06-28 11:05:43 -07:00
Ashcon Partovi
145b9e7d09
Skip no-lto builds on main branch [skip ci]
2024-06-28 10:24:41 -07:00
Ashcon Partovi
fab33be408
Fix release script
2024-06-28 09:56:55 -07:00
Dylan Conway
da27f22622
fix(install): install binaries for packages installed multiple times ( #11886 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-06-28 03:24:39 -07:00
Kelvin Luck
20d33e480b
Mark semver.order as this:void ( #12224 )
2024-06-28 02:59:14 -07:00
Ashcon Partovi
066e2f2589
Skip tests on main [no ci]
2024-06-27 16:33:17 -07:00
Per Karlsson
9697a2b058
docs: Update docker.md ( #12197 )
2024-06-27 16:24:56 -07:00
Isaiah Banks
b37f94d396
Fix typo in pm_trusted_command.zig ( #12162 )
2024-06-27 16:12:00 -07:00
Jake Boone
eff2ea6271
Fix "lines" and "functions" in coverage threshold guide ( #12217 )
2024-06-27 16:00:13 -07:00
Ashcon Partovi
d105b048b1
Use Buildkite for CI ( #11477 )
2024-06-27 14:56:07 -07:00
Ashcon Partovi
d356e27a4d
Remove debug workflow
...
No longer needed
2024-06-26 23:54:51 -07:00
Ashcon Partovi
96e84b276b
Add a debug workflow
...
Github actions only triggers the `status` event if the workflow is in the main branch. This can be removed later.
2024-06-26 18:38:56 -07:00
Jarred Sumner
60ef13e079
Fix assertion failure in Bun.escapeHTML with latin1 input ( #12185 )
2024-06-26 18:25:02 -07:00
Jarred Sumner
10ce5ddd24
Fixes #12188
2024-06-26 18:07:19 -07:00
Erik Dunteman
cab78045b7
Make console.log(someFunction) print AsyncFunction when appropriate ( #12136 )
...
Co-authored-by: Erik Dunteman <erik@MacBook-Pro.attlocal.net >
Co-authored-by: Erik Dunteman <erik@Eriks-MBP.attlocal.net >
2024-06-25 13:00:24 -07:00
Jarred Sumner
d5e3ea0ab7
Make node:v8 getHeapStatistics more plausible ( #12139 )
2024-06-25 00:17:51 -07:00
Dylan Conway
9f2533e24c
update test
2024-06-24 22:45:36 -07:00
Jarred Sumner
bb66bba1bf
Make PackageManifest.Serializer.readArray more careful ( #12106 )
2024-06-24 19:22:10 -07:00
Jarred Sumner
ccd92a98e5
Copy a42b74ae8139738a14148f94543c659ec2d5b92b from libxev ( #12128 )
2024-06-24 19:21:40 -07:00
Jarred Sumner
d191ec5933
Add OS version to crash report message ( #12098 )
2024-06-24 19:17:48 -07:00
Jarred Sumner
5f72f207de
Make Lockfile.Buffers.readArray more careful ( #12105 )
2024-06-24 19:17:01 -07:00
Jarred Sumner
40858b4f25
Make reported node.js version a build option ( #12104 )
2024-06-24 15:34:28 -07:00
Jarred Sumner
de3ad9840b
5% faster fs.readdirSync for small directories on macOS ( #12101 )
2024-06-24 10:11:58 -03:00
Jarred Sumner
82c89bd8fc
Fixes #12040 ( #12072 )
2024-06-23 17:38:35 -07:00
nmarks
314666d8ae
Remove empty if statement in CMakeLists.txt ( #12073 )
2024-06-23 00:58:43 -07:00
Jarred Sumner
65df049fb4
Fixes #12070 ( #12071 )
2024-06-22 21:46:55 -07:00
Jarred Sumner
dfad48a6de
Bump
2024-06-22 19:58:37 -07:00
Jarred Sumner
bf7b327f68
Fixes #12039 ( #12066 )
2024-06-22 17:40:45 -07:00
Jarred Sumner
a9e800ad5f
Commit missing snapshot file
2024-06-22 15:31:29 -07:00
Jarred Sumner
1a8ec98fd0
Rename code coverage reporter for console -> text ( #12054 )
2024-06-22 14:46:40 -07:00
Ale Muñoz
484ce2ce60
Remove extraneous Bun.ArrayBufferSink mention. ( #12065 )
2024-06-22 14:46:22 -07:00
TATSUNO “Taz” Yasuhiro
4830e2d817
Implement initial LCOV reporter (no function names support) ( #11883 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-22 02:03:19 -07:00
Jarred Sumner
ff2080da1e
Fixes #12045 ( #12051 )
2024-06-21 22:45:28 -07:00
forcefieldsovereign
191a06207f
Fix TS experimental decorator crash ( #11902 )
2024-06-21 21:58:08 -07:00
Dylan Conway
ff15281b49
fix(install): fix potential flakiness with git dependencies ( #12030 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-06-21 21:34:23 -07:00
Zack Radisic
d563b6485a
Use slow move-based fallback for renameatConcurrently ( #12048 )
...
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-21 20:41:22 -07:00
Dylan Conway
3b199cde59
remove glibc memfd_create from required symbols ( #12050 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-06-21 19:02:27 -07:00
dave caruso
131d8f5c80
fix mock function crash ( #12023 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-06-21 18:48:14 -07:00
Dylan Conway
3b6f1bb20e
fix #4925 ( #12049 )
2024-06-21 18:45:05 -07:00
Kamaljot Singh
19bed6e05a
[FIX]: Made the LICENCE a markdown file to be previewable and minor fixes in markdown syntax ( #12025 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-21 15:14:22 -07:00
Zack Radisic
00f9410d92
Fix bun patch with workspaces and scoped packages ( #12022 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-06-21 14:16:14 -07:00
surprisedpika
36fbad3709
Fix minor spelling mistake in bun:test toThrowError() ( #12043 )
2024-06-21 12:23:47 -07:00
Eckhardt (Kaizen) Dreyer
087b83c56d
fix(install): use ssh keys for private git repos ( #11917 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-06-21 01:31:12 -07:00
Jarred Sumner
8c548d2593
Deflake weboscket.test.js
2024-06-20 18:34:41 -07:00
Jarred Sumner
2338f16b36
Fixes #12012 ( #12020 )
2024-06-20 18:10:40 -07:00
Jarred Sumner
eaa7858df4
Bump
2024-06-20 17:55:05 -07:00
dave caruso
21b5bdf8b5
fix: execArgv sometimes could include user args ( #11987 )
2024-06-20 16:14:54 -07:00
Jarred Sumner
864cbc1555
Fixes #301 ( #11988 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-06-20 16:14:26 -07:00
Jarred Sumner
c082ec5c9d
Fixes #1288 ( #11991 )
2024-06-20 16:14:14 -07:00
dave caruso
3908ac073b
fix(transpiler): mark non-ascii TS enum keys as UTF-16 ( #11994 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-06-20 16:14:03 -07:00
dave caruso
b76376f8a6
chore: upgrade zig to 0.13.0 ( #9965 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Grigory <grigory.orlov.set@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-06-20 13:48:39 -07:00
dave caruso
e58cf69f94
feat(bundler): Add --sourcemap=linked for //# sourceMappingURL comments ( #11983 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-20 13:46:49 -07:00
Dylan Conway
dd22c71612
fix(shell): handle cwd paths with non ascii characters ( #11990 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-19 23:53:50 -07:00
Jarred Sumner
a0032d1b5c
Replace libbase64 with simdutf ( #11982 )
2024-06-19 23:02:56 -07:00
dave caruso
ba6e421e3b
log the error when file watcher fails to start ( #11986 )
2024-06-19 22:37:45 -07:00
Dylan Conway
b23ba1fe18
fix(install): allow unresolvable optionalDependencies ( #11977 )
2024-06-19 15:23:51 -07:00
Jarred Sumner
3ff29955a1
Use stderr instead of stdout in bun patch errors ( #11966 )
2024-06-19 00:52:42 -07:00
Jarred Sumner
6df1bd5ed8
Oops
2024-06-19 00:51:13 -07:00
github-actions[bot]
43a5530f76
Bump to 1.1.14 ( #11965 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-06-19 00:34:53 -07:00
Jarred Sumner
33ca0921f2
Update patch.md
2024-06-18 22:13:21 -07:00
Jarred Sumner
995bd374d8
Update patch.md
2024-06-18 21:33:31 -07:00
Jarred Sumner
45f9ec70dd
Update patch.md
2024-06-18 21:33:13 -07:00
Jarred Sumner
a994bda80a
Update patch.md
2024-06-18 21:31:06 -07:00
Jarred Sumner
3003dcb58f
Update patch docs
2024-06-18 21:30:53 -07:00
Zack Radisic
7c27f3f9b4
Patch ( #11858 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
2024-06-18 16:34:10 -07:00
Jarred Sumner
604cbd0228
Add test for line and column property on Error instance ( #11940 )
2024-06-18 14:42:58 -07:00
huseeiin
85baa0f3c0
typo ( #11957 )
2024-06-18 13:39:20 -07:00
Ciro Spaciari
3a5077c622
fix(napi) napi_call_threadsafe_function should work with null data and napi_create_threadsafe_function should keep the process alive by default ( #11952 )
2024-06-18 13:38:04 -07:00
Jarred Sumner
3a17a2cb43
Update debugger.md
2024-06-17 23:41:32 -07:00
Jarred Sumner
52f2c22e3b
Update debugger.md
2024-06-17 23:40:46 -07:00
Jarred Sumner
623b73171c
Update debugger.md
2024-06-17 23:34:40 -07:00
Jarred Sumner
bf45791ae6
Update debugger.md
2024-06-17 23:31:21 -07:00
Jarred Sumner
7b9fe84cbd
Update debugger.md
2024-06-17 23:30:34 -07:00
Jarred Sumner
0189dbb1b5
Update debugger.md
2024-06-17 23:29:02 -07:00
Jarred Sumner
3493dc634e
Update debugger.md
2024-06-17 23:28:27 -07:00
Jarred Sumner
709b485294
Update debugger.md
2024-06-17 23:26:52 -07:00
Jarred Sumner
43733069bb
Add more docs on debugging
2024-06-17 23:17:04 -07:00
Zayd Krunz
9621721e3d
Change "what's new" link to bun blog instead of release page ( #11909 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-17 21:28:58 -07:00
Jarred Sumner
b07e15ac29
Add needs repro label comment
2024-06-17 20:23:36 -07:00
Zack Radisic
a09e633b6f
shell: Fix memory leak, lazily create ShellInterpreter object ( #11830 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-17 20:08:00 -07:00
Jarred Sumner
c12baa3485
GitHub actions
2024-06-17 20:03:40 -07:00
Jarred Sumner
24182a4de0
Bump version on release
2024-06-17 20:03:40 -07:00
github-actions[bot]
30ae61fb03
Bump to 1.1.13 ( #11935 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-06-17 19:58:29 -07:00
Jarred Sumner
478e2558e4
GitHub actions
2024-06-17 19:54:47 -07:00
Jarred Sumner
9dc36adf83
GitHub actions
2024-06-17 19:53:30 -07:00
Jarred Sumner
748209f79b
GitHub actions
2024-06-17 19:51:03 -07:00
Dylan Conway
8b4ec84fb1
fix(install): use correct lockfile when printing install summary ( #11930 )
2024-06-17 19:30:16 -07:00
Jarred Sumner
f5b0951191
Github actions
2024-06-17 18:14:13 -07:00
Jarred Sumner
fc0335b987
Github actions
2024-06-17 18:10:44 -07:00
Jarred Sumner
4ea31d474f
Github actions
2024-06-17 18:07:55 -07:00
Jarred Sumner
46610c7254
Update labeled.yml
2024-06-17 17:56:27 -07:00
Jarred Sumner
31cffe4ec0
Github actions
2024-06-17 17:54:37 -07:00
Jarred Sumner
bafaa9e80e
Use commas instead of newlines as the delimiter
2024-06-17 17:46:54 -07:00
Jarred Sumner
a4aa146a2a
Comment if crash report is on outdated version of Bun
2024-06-17 17:35:01 -07:00
dave caruso
ae656e8a4c
fix(windows): dont call SetConsoleMode on stdin ( #11927 )
2024-06-17 15:11:01 -07:00
Ciro Spaciari
422c17d76c
fix(http) mark completed true ( #11926 )
2024-06-17 15:09:20 -07:00
Jarred Sumner
8eabade199
Update sqlite.md
2024-06-17 13:55:09 -07:00
Jarred Sumner
72d925152c
Update sqlite.md
2024-06-17 06:59:44 -07:00
Jarred Sumner
537c62396d
Update sqlite.md
2024-06-17 06:52:51 -07:00
Jarred Sumner
77192072c8
[bun:sqlite] Support unprefixed bindings, safe integers / BigInt, as(Class) ( #11887 )
2024-06-16 23:44:07 -07:00
Dylan Conway
fa952b163c
fix(install): tarball extracting bugfix ( #11864 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-15 00:22:16 -07:00
Dylan Conway
eedb3e530c
fix(install): handle transitive folder dependencies ( #10445 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-06-15 00:08:40 -07:00
Jarred Sumner
fcfc68a43e
Update labeled.yml
2024-06-14 15:06:26 -07:00
Jarred Sumner
1224540c89
Update labeled.yml
2024-06-14 15:02:26 -07:00
Jarred Sumner
5ef5dbe764
Update labeled.yml
2024-06-14 15:00:55 -07:00
Jarred Sumner
ac8d1726b6
Update labeled.yml
2024-06-14 14:57:59 -07:00
Jarred Sumner
18ec3a2190
Update labeled.yml
2024-06-14 14:54:33 -07:00
Jarred Sumner
bcc2289ddb
Add platform label
2024-06-14 14:52:20 -07:00
Ciro Spaciari
48cefe14bd
fix(WebSocket) don't touch casing on custom headers and don't use lowercased versions of well know headers ( #11855 )
2024-06-14 11:36:33 -07:00
Jarred Sumner
1454e9a0a6
Don't wait for both connections to fail before starting the next one ( #11859 )
2024-06-14 11:36:18 -07:00
Jarred Sumner
22be784714
Print like curl ( #11865 )
2024-06-14 01:57:20 -07:00
Jarred Sumner
ae5b1280e1
Fixes #11866 ( #11867 )
2024-06-14 01:50:36 -07:00
Dylan Conway
e9d1e7ac5e
fix(install): return non-zero exit code when tarballs fail to download ( #11828 )
2024-06-14 01:15:53 -07:00
Jarred Sumner
baee597054
Bump!
2024-06-13 18:11:06 -07:00
Dylan Conway
9ad75c6b3a
fix(install): possible sentinel mismatch when reading workspaces ( #11856 )
2024-06-13 16:54:04 -07:00
Ciro Spaciari
2f7cd38d81
fix(SSL) Fix clients write retry ( #11849 )
2024-06-13 13:00:24 -07:00
Ciro Spaciari
b8ca523bfb
fix(Blob/stream) blob from fetch now reliable returns type, blob name can be set ( #11815 )
2024-06-13 12:55:41 -07:00
Grigory
3568702eca
chore(test/bunx): remove duplicate check ( #11837 )
2024-06-13 04:31:33 -07:00
Jarred Sumner
c44d489ed0
Support NODE_TLS_REJECT_UNAUTHORIZED=0 at runtime and implement BUN_CONFIG_VERBOSE_FETCH ( #11833 )
2024-06-13 04:30:15 -07:00
Jarred Sumner
6c55ff6008
Fixes #11747 ( #11829 )
2024-06-12 19:59:53 -07:00
Meghan Denny
ba5dd63eb6
allow node:fs.promises.{read,write,append}File to accept a FileHandle ( #11800 )
2024-06-12 18:26:15 -07:00
oscar
0a99416764
docs: Fix hyperlink ( #11827 )
2024-06-12 17:41:19 -07:00
Grigory
49516c8d40
fix(bun_shim_impl): pass env to CreateProcessW ( #11817 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-12 16:50:57 -07:00
Diogo
fab96a74ea
Add the 5 new bun:test matchers to writing.md docs ( #11803 )
2024-06-12 09:08:06 -07:00
Dylan Conway
bd6a605120
fix(install): ensure capacity of preinstall_state before cleaning lockfile ( #11792 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-11 14:56:21 -07:00
dave caruso
6e0f58bc05
fix(ci): make it so ci doesnt overwrite the release builds with canary's debug symbols ( #11769 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-11 13:35:29 -07:00
Ciro Spaciari
6ff074ae27
followup on PR #11788 organize test imports and assert ( #11791 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-06-11 13:31:47 -07:00
Jarred Sumner
dc144f9519
In AbortSignal, use Ref explicitly to ensure its alive ( #11790 )
2024-06-11 13:31:33 -07:00
Ciro Spaciari
7c8701c96e
fix(WebSocket) fix ref count so finalize is called ( #11788 )
2024-06-11 11:49:12 -07:00
Ciro Spaciari
27d0912f9d
fix(AbortSignal.any) fire dependents signals ( #11789 )
2024-06-11 11:42:48 -07:00
Ludvig Hozman
ee30e8660c
feat(https/fetch): Support custom ca/cert/key in fetch ( #11322 )
...
Co-authored-by: Liz3 (Yann HN) <accs@liz3.net >
2024-06-11 10:36:32 -03:00
Jarred Sumner
1b8a72e724
Fixes #11703 ( #11776 )
2024-06-11 03:52:40 -07:00
Nacho Martín
7f8143c5c9
Fix broken link in debugging docs (debugger.md) ( #11774 )
2024-06-11 02:24:48 -07:00
Dylan Conway
791ba794e8
add BUN_FEATURE_FLAG_LAST_MODIFIED_PRETEND_304 ( #11767 )
2024-06-10 20:58:02 -07:00
Jarred Sumner
5427646a30
Update .gitignore
2024-06-10 20:52:30 -07:00
Dylan Conway
5e619ee337
fix(install): manifest parsing and peer dependency bugfix ( #11763 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-10 20:29:16 -07:00
Dylan Conway
6e6c10bc1f
Remove duplicated code for binding for Object.values ( #11765 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-10 19:36:27 -07:00
Dylan Conway
5b48bb1d5d
Fix cloning File with structuredClone ( #11766 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-10 19:35:09 -07:00
Jarred Sumner
b521b06147
Speculative fix for #11742 ( #11743 )
2024-06-10 19:00:45 -07:00
Jarred Sumner
c451ef5f31
Avoid passing nullptr to memcpy
2024-06-10 18:04:49 -07:00
Jarred Sumner
99b9be7a34
Sentinel-terminate file contents ( #11738 )
2024-06-09 19:37:57 -07:00
Jarred Sumner
4786c6139e
Clean up some expect() matchers ( #11721 )
2024-06-09 03:42:36 -07:00
Jarred Sumner
72a33e487d
Deflake bunx.test on Windows
2024-06-09 00:28:05 -07:00
Jarred Sumner
25a09d8858
Disable bun patch in release builds until #11719 is fixed
...
cc @zackradisic
2024-06-08 23:08:00 -07:00
Jarred Sumner
731a85f80d
Prevent extremely unlikely division by zero
2024-06-08 23:08:00 -07:00
Jarred Sumner
c5010e9a12
Deflake child_process test
2024-06-08 23:08:00 -07:00
Ciro Spaciari
1ba57351b0
fix(Bun.serve) fix mimetype with utf16 ( #11695 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-08 22:34:06 -07:00
Jarred Sumner
ccb76c20e9
Fixes #11677 ( #11698 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-06-08 22:05:41 -07:00
Ciro Spaciari
376c02e62c
fix(Bun.serve) fix async upgrade using custom protocols ( #11707 )
2024-06-08 21:21:49 -07:00
Nithin K Joy
80e4e60e57
feat: Implemented some jest-extended methods ( #9741 )
...
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-06-08 20:59:43 -07:00
Dylan Conway
61cb11dc2f
remove sourceMap property
2024-06-08 15:50:33 -07:00
Ciro Spaciari
5df1c2689e
fix napi ref/unref ( #11690 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-08 14:39:23 -07:00
Ciro Spaciari
60af985863
fix(fs.watchFile) ( #11669 )
2024-06-07 22:54:10 -07:00
Ciro Spaciari
8ac8e4dc5f
fix(fs:watch) fix missing char in filename ( #11693 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-06-07 22:46:35 -07:00
Dylan Conway
d92ebf2a99
Fix windows build ( #11689 )
2024-06-07 22:24:34 -07:00
Meghan Denny
26201671d1
meta: update zig download url ( #11692 )
2024-06-07 19:13:59 -07:00
Jarred Sumner
1dcd1bba3d
Revert "fix(fs:watch) fix missing char in filename" ( #11691 )
2024-06-07 17:34:20 -07:00
Ciro Spaciari
0bbef7eb94
fix(fs:watch) fix missing char in filename ( #11686 )
2024-06-07 17:33:59 -07:00
Ciro Spaciari
386bc212b1
update root certs ( #11675 )
2024-06-07 04:19:19 -07:00
dave caruso
2e44ee019a
Fix crash when throwing an exception in setTimeout ( #11670 )
2024-06-06 22:15:27 -07:00
Dylan Conway
5b09384f01
add memrchr to strings.lastIndexOfChar on linux ( #11671 )
2024-06-06 22:01:28 -07:00
dave caruso
2cba070756
fix(bundler): Do not emit useless constructor ( #11668 )
2024-06-06 19:02:06 -07:00
Meghan Denny
c6187e3e3a
correct node:crypto.randomInt behavior and accept a callback ( #11505 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 18:24:26 -07:00
Zack Radisic
c85dd4e3bf
feat: bun patch ( #11470 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 17:48:05 -07:00
Dylan Conway
12f070d1a0
fix #11649 ( #11659 )
2024-06-06 17:26:39 -07:00
Dylan Conway
10608ea7d8
fix(bun:test): deepEquals undefined properties bugfix ( #11661 )
2024-06-06 17:01:45 -07:00
Dylan Conway
8d6f19516f
root lifecycle scripts inherit stdin ( #11647 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 05:10:43 -07:00
Dylan Conway
f3118d0f22
fix(install): git dependencies without package.json or a name ( #11644 )
2024-06-06 04:38:47 -07:00
Zack Radisic
7ac8ff6d8a
shell: Fix #11554 and #11561 ( #11574 )
2024-06-06 03:42:52 -07:00
Dylan Conway
456aa1fc00
Worker and websocket close fix (#11635 )
2024-06-06 03:25:36 -07:00
Dylan Conway
af95bfc7b1
Write registry hash and length before data in manifest cache ( #11632 )
2024-06-05 22:14:41 -07:00
Dylan Conway
c614d5b1da
fix(install): aliased workspace without version in package.json ( #11630 )
2024-06-05 22:04:57 -07:00
Jarred Sumner
6fd47d6846
Improve the error message when Bun.serve() is passed a non-Response object ( #11562 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-05 20:35:47 -07:00
Jarred Sumner
6a756bf979
Implement blob: URLs in fetch, import, and Worker ( #11537 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-05 18:49:03 -07:00
Jarred Sumner
bab8c0c0b2
fix(windows): handle invalid utf16le in command line arguments ( #11612 )
2024-06-05 18:48:08 -07:00
Dylan Conway
3e4c0918a4
fix(install): invalidate manifest cache on registry change ( #11606 )
2024-06-05 18:44:36 -07:00
Jarred Sumner
fe7b04085a
Implement expect(value, customMessage?: string) ( #11624 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-05 18:35:56 -07:00
MARCROCK22
e5ff1fdc25
fix: wrong help menu package names ( #11611 )
2024-06-05 18:31:26 -07:00
Dylan Conway
ac5f2e96c7
fix bun create test should create template from local folder ( #11503 )
2024-06-05 18:29:46 -07:00
Sushant Mishra
e76d212f18
fix: create_command telling to 'cd' when it should be omitted or cd . ( #11567 )
2024-06-05 13:30:22 -07:00
Jarred Sumner
c7a08f1ec5
Fixes #7263 ( #11585 )
2024-06-05 03:15:36 -07:00
dave caruso
bb8c0d97ba
Fix runtime stack trace computation ( #11581 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-06-05 00:26:03 -07:00
Jarred Sumner
2580d199a4
fix some worker-related stability issues ( #11494 )
2024-06-04 23:29:21 -07:00
Jarred Sumner
0184097ba0
See if ReferenceError works ( #11595 )
2024-06-04 17:17:02 -07:00
Jarred Sumner
dc5023e26e
Fix possible leak in fetch when checkServerIdentity is used ( #11580 )
2024-06-04 19:52:26 -03:00
Ashcon Partovi
29234f3ecb
Use needs triage labels
2024-06-04 14:29:14 -07:00
Jarred Sumner
10a60b5d91
Update 7-install-crash-report.yml
2024-06-04 00:37:32 -07:00
Jarred Sumner
75209021c8
Update 7-install-crash-report.yml
2024-06-04 00:36:48 -07:00
Jarred Sumner
42d5a4e506
Issue template
2024-06-04 00:36:03 -07:00
Jarred Sumner
57fa0dcee4
Update 6-crash-report.yml
2024-06-04 00:32:31 -07:00
Jarred Sumner
2e263db3da
Update 7-install-crash-report.yml
2024-06-04 00:31:23 -07:00
Jarred Sumner
d6fedd1d9d
Issue template update
2024-06-04 00:30:42 -07:00
Dylan Conway
347dc264ac
fix(install): bun update keeps pinned versions ( #11575 )
2024-06-03 20:13:25 -07:00
Jarred Sumner
16d08564e1
Fix speculative race in fetch ( #11579 )
2024-06-03 19:15:31 -07:00
Dylan Conway
f56e6c7d54
fix(install): semver mistaking . as the beginning of pre/build tags ( #11577 )
2024-06-03 16:50:21 -07:00
Jarred Sumner
8806bf9c4e
Update process.versions ( #11558 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-06-03 03:02:51 -07:00
Jarred Sumner
656ad7c7ae
Fix port exhaustion issue ( #11512 )
2024-06-03 02:16:58 -07:00
Jarred Sumner
4b3c873ca7
Auto-update the generated versions list on commit
2024-06-03 01:54:37 -07:00
Jarred Sumner
30a9c394e8
Update libarchive ( #11533 )
2024-06-03 01:07:37 -07:00
Jarred Sumner
ff905ba5f5
Backport parts of d0250818dd ( #11555 )
2024-06-03 01:07:10 -07:00
Dylan Conway
c2eef9eded
fix(install): manifest package name mismatch ( #11549 )
2024-06-02 22:56:57 -07:00
Ciro Spaciari
1d89c5988e
refactor OOM errors ( #11540 )
2024-06-02 22:56:26 -07:00
Timo Sand
eb31675af9
Fix typo in ENV variable name ( #11541 )
2024-06-02 21:08:05 -07:00
Dylan Conway
c65a911a57
fix(install): lockfile printing bugfix ( #11545 )
2024-06-02 18:49:07 -07:00
Dylan Conway
8f5fbd50cd
fix(install): bun update with unresolved package ( #11547 )
2024-06-02 18:16:59 -07:00
Jarred Sumner
a1c3ea0b33
Update pm.md
2024-06-02 04:09:02 -07:00
Jarred Sumner
7fb25acf5f
Update zstd ( #11534 )
2024-06-02 03:10:47 -07:00
Jarred Sumner
9523ea3aea
Update mimalloc ( #11532 )
2024-06-02 01:19:54 -07:00
Jarred Sumner
c717f52459
Update nodejs-apis.md
2024-06-01 19:29:32 -07:00
Jarred Sumner
d38890d30c
Update nodejs-apis.md
2024-06-01 19:29:07 -07:00
Jarred Sumner
814b48116a
Update nodejs-apis.md
2024-06-01 19:28:53 -07:00
Jarred Sumner
152a7e1bd3
Update nodejs-apis.md
2024-06-01 19:28:07 -07:00
Jarred Sumner
b10887c7cb
Update nodejs-apis.md
2024-06-01 19:25:33 -07:00
Jarred Sumner
43f0913c38
Bump
2024-06-01 02:34:36 -07:00
Jarred Sumner
6ca5896e86
Revert "feat: 🎨 Show better bun upgrade progress" ( #11515 )
2024-06-01 02:34:12 -07:00
dave caruso
784022785d
revert the last commit
...
we were testing if we could disable push-to-main permissions
i should probably just stop committing to main
2024-06-01 01:39:55 -07:00
dave caruso
bc64e6b8e5
hi
2024-06-01 01:39:08 -07:00
dave caruso
9dd22f0d8d
fix submodules
2024-06-01 01:35:40 -07:00
dave caruso
00472fbb1c
fix release script
2024-06-01 01:29:11 -07:00
Jarred Sumner
4fb6056f85
Update CMakeLists.txt
2024-06-01 00:20:34 -07:00
Jarred Sumner
30b0b49594
Deflake large_asset_regression test
2024-06-01 00:20:34 -07:00
dave caruso
18bba0dc44
revert sourcemap-related logging change ( #11510 )
2024-05-31 23:26:43 -07:00
dave caruso
0a5fa2dd8c
fix sourcemap printing with multiple chunks sharing the same file ( #11509 )
2024-05-31 23:10:02 -07:00
Ashcon Partovi
3a63f46dc0
Docs for bun update --latest
2024-05-31 18:35:53 -07:00
Ciro Spaciari
e3b7635fa4
fix(Bun.Socket) onDrain will only be called after handshake + docs update ( #11499 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-31 18:33:06 -07:00
Dylan Conway
dc051ae810
Revert "fix windows todo"
...
This reverts commit ec09e6e238 .
2024-05-31 17:44:35 -07:00
Dylan Conway
ec09e6e238
fix windows todo
2024-05-31 17:44:13 -07:00
Georgijs
d9f7d053d5
fix peer hoisting ( #11473 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-31 17:12:33 -07:00
Jarred Sumner
fd55cdae34
Try deflaking child process test again ( #11496 )
2024-05-31 04:17:59 -07:00
Jarred Sumner
75b64d9b8e
Deflake child_process test ( #11495 )
2024-05-31 02:21:51 -07:00
dave caruso
c467fd9381
fix high cpu usage when using bun.build ( #11455 )
2024-05-31 00:05:33 -07:00
refi64
f127dbd127
Restore support for dynamic function names in tracebacks ( #11475 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-31 00:04:28 -07:00
Dylan Conway
774d6a1efb
fix potential integer overflow ( #11491 )
2024-05-31 00:03:57 -07:00
Jarred Sumner
a6d0e64196
Attempt to deflake bun-create.test
2024-05-30 23:41:51 -07:00
Jarred Sumner
c3142e1ae0
Hopefully deflake bun create tests
2024-05-30 21:12:06 -07:00
Jarred Sumner
9693fc9183
Deflake child process test ( #11488 )
2024-05-30 21:05:57 -07:00
Jarred Sumner
61805b5344
Try fast timer then fallback to slow timer ( #11486 )
2024-05-30 20:16:21 -07:00
Toby Cm
8de0ec598b
feat: Show better bun upgrade progress ( #11402 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-05-30 17:47:48 -07:00
Jarred Sumner
fca20f1a43
Make sure this is set
2024-05-30 17:32:55 -07:00
Jarred Sumner
323011980c
Add fuzzer-like test of methods ( #11436 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-05-30 15:12:29 -07:00
Parmar Jai Atul
b49853c24f
Fix an ambiguous redirect in bun bash-completions ( #11468 )
2024-05-30 15:11:12 -07:00
Ashcon Partovi
f0bcc631d5
Undo commits meant for another branch
2024-05-30 14:43:44 -07:00
Ashcon Partovi
ce20abef5c
Remove extra commit diff
2024-05-30 14:41:10 -07:00
Ashcon Partovi
ecfe2a0f1b
Fix supruious sccache errors
2024-05-30 14:41:10 -07:00
Georgijs
6a7c35cb52
Fix crash with multiple Bun.stderr.text() calls ( #11472 )
2024-05-30 14:18:32 -07:00
Dylan Conway
8461a20d9b
update output ( #11474 )
2024-05-30 14:17:23 -07:00
Ashcon Partovi
ff9ab489b0
sharding tests
2024-05-30 14:16:09 -07:00
Ciro Spaciari
55c5ed3d3e
fix(tests) update http2 cert in tests ( #11462 )
2024-05-30 13:24:27 -07:00
Ciro Spaciari
a8fcb48609
fix(test) handle connect errors on node-tls-context ( #11463 )
2024-05-30 13:24:08 -07:00
Dylan Conway
4b8f89cb73
Allow bun update to edit package.json ( #11340 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-30 02:14:01 -07:00
Jarred Sumner
45d0c1432b
rewrite timers for setTimeout, setInterval, setImmediate ( #11419 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-30 02:11:12 -07:00
Dylan Conway
922f9191b0
fix(install): re-link workspaces if necessary ( #11457 )
2024-05-30 01:40:28 -07:00
Meghan Denny
c456622161
node:fs/promises.cp should make path if dest does not exist ( #11433 )
2024-05-30 01:15:20 -07:00
janos-r
b2c697296e
Fix bun.fish completions ( #11450 )
2024-05-29 16:59:13 -07:00
Meghan Denny
2285735abd
node:zlib: allow passing brotli params in encode+decode options ( #11429 )
2024-05-29 00:51:00 -07:00
Meghan Denny
7f1880cafb
Bun.CryptoHasher: fix byteLength and add test ( #11431 )
2024-05-29 00:13:02 -07:00
dave caruso
1f8c121652
increase test timeout time for sourcemap tests ( #11432 )
2024-05-29 00:11:54 -07:00
Georgijs
370db08891
Replace Streams.Readable with a JS implementation ( #11332 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-28 18:49:59 -07:00
Jarred Sumner
62b4c2141b
Bump WebKit
2024-05-28 18:11:31 -07:00
Jarred Sumner
5f55d45d3b
[internal] Fix showing source mappings for WebKit code in debugger
2024-05-28 18:09:43 -07:00
Jarred Sumner
4d03105614
Make dns tests use promises instead of done ( #11347 )
...
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-05-28 17:30:52 -07:00
Meghan Denny
367b69dff5
bindings: fix createTypeError and createRangeError inheritance ( #11341 )
2024-05-28 16:54:08 -07:00
dave caruso
96f29e8555
fix(bundler): some sourcemap generation bugs ( #11344 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Le Michel <95184938+Ptitet@users.noreply.github.com >
Co-authored-by: Дмитрий Заводской <zawodskoj2@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: HUMORCE <humorce@outlook.com >
Co-authored-by: huseeiin <122984423+huseeiin@users.noreply.github.com >
2024-05-28 16:51:35 -07:00
Jarred Sumner
634cc82dd0
Fix guide
2024-05-28 15:49:18 -07:00
Abhijeet Prasad
474d4cf3ce
docs: Add Sentry guide ( #11276 )
2024-05-28 15:14:34 -07:00
Jonny Burger
15603ab596
Lift http.createServer maxRequestBodySize ( #11426 )
2024-05-28 15:13:46 -07:00
Jarred Sumner
1041655ff6
Implement addAbortListener and getMaxListeners in node:events ( #11392 )
2024-05-28 15:13:27 -07:00
huseeiin
912bccb624
Update import-html.md ( #11417 )
2024-05-28 04:16:00 -07:00
Jarred Sumner
3d11e5042e
Use calloc when allocating loop on Windows ( #11409 )
2024-05-27 19:20:54 -07:00
Jarred Sumner
34b02ada14
Move Timer into a separate file ( #11408 )
2024-05-27 16:40:34 -07:00
Jarred Sumner
ad5340d971
Deflake serve-body-leak.test
2024-05-27 15:37:40 -07:00
Dylan Conway
06231b51bd
fix(node:path): toNamespacedPath bugfix ( #11406 )
2024-05-27 15:36:54 -07:00
Le Michel
856654a065
Added forgotten dot in utils.md ( #11362 )
2024-05-27 09:08:01 -07:00
Dylan Conway
d43922d3e1
follow up for #11387 ( #11393 )
2024-05-27 03:57:39 -07:00
Jarred Sumner
98b3aeb9ec
Update nodejs-apis.md
2024-05-27 02:28:24 -07:00
HUMORCE
cfedd70110
docs: Correct command line of package upgrading with Scoop ( #11391 )
2024-05-27 02:18:57 -07:00
Dylan Conway
470e523c52
fix(install): semver tag parsing bugfix ( #11387 )
2024-05-27 02:17:43 -07:00
Jarred Sumner
e1eb4a4753
Improve unhandled error reporting in bun:test ( #11386 )
2024-05-27 01:55:33 -07:00
Дмитрий Заводской
ad5574b86f
Run deinit() on CallbackJob regardless of result type ( #11379 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-26 20:02:32 -07:00
Le Michel
ec8e5d7cd3
Fixed typo in context.md ( #11373 )
2024-05-26 16:22:38 -07:00
Jarred Sumner
af4e844b62
Deflake test
2024-05-26 04:15:39 -07:00
Jarred Sumner
fdbccef110
Speed up a couple tests ( #11369 )
2024-05-26 04:09:28 -07:00
Le Michel
4539d168b4
Removed ambiguous quotes in utils.md ( #11363 )
2024-05-26 02:39:04 -07:00
Jarred Sumner
c50e837f34
Fix kqueue event handling code ( #11364 )
2024-05-26 02:24:41 -07:00
Jarred Sumner
99b979e5ca
Remove std.debug.print
...
@paperdave you left this
2024-05-25 23:22:29 -07:00
dave caruso
7be0669840
fix(bundler): more windows backslash stuff ( #11333 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-25 21:52:59 -07:00
Jarred Sumner
59bbedf251
Update c-ares ( #11361 )
2024-05-25 21:36:19 -07:00
Meghan Denny
aa3aa888d5
ci: windows: fix dns.getServers test ( #11309 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-25 01:43:13 -07:00
Jarred Sumner
c689b2b265
Speculative crash fix ( #11337 )
2024-05-24 18:29:50 -07:00
Jarred Sumner
5102a94430
Fixes #11297 ( #11331 )
2024-05-24 14:44:14 -07:00
Georgijs
5f7282fea3
Fire listeners that are removed during their event ( #11329 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-24 14:07:03 -07:00
Dylan Conway
6c9b3de217
add jest.setTimeout type
2024-05-24 02:15:26 -07:00
Jarred Sumner
d16c136e77
Fix linkat with O_TMPFILE on Ubuntu/non-privileged users
2024-05-24 01:10:28 -07:00
Dylan Conway
df83028546
fix(install): npm lockfile migration bugfix ( #11311 )
2024-05-24 00:19:56 -07:00
dave caruso
3d99c9af24
fix(bundler): unify code + codeWithSourceMapShifts ( #11315 )
2024-05-23 23:32:28 -07:00
dave caruso
ec082db67c
fix: fix sourcemap generation (rewrites bun.StringJoiner) ( #11288 )
2024-05-23 23:30:11 -07:00
Jarred Sumner
230c760b42
Fix formatting in guide
2024-05-23 22:25:06 -07:00
Dylan Conway
d3fdb17321
add jest.setTimeout to bun test ( #10687 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-05-23 20:24:54 -07:00
dave caruso
c3157e2c50
fix(windows spawn): use Job Object to manage subprocesses of subprocesses ( #11240 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-23 19:59:39 -07:00
Dylan Conway
d1ac51e442
fix bun-install-windowsshim.test.ts ( #11258 )
2024-05-23 19:55:53 -07:00
Jarred Sumner
0905e43049
Test gardening ( #11285 )
2024-05-23 19:54:36 -07:00
Jarred Sumner
0b821c6e25
Save to package manifest cache async, only check disk once ( #11304 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-05-23 19:54:18 -07:00
Meghan Denny
f339e51d84
ci: windows: skip bunshell stacktrace test ( #11306 )
2024-05-23 19:43:44 -07:00
Georgijs
2528caa598
fix out of bounds error for bun install ( #11308 )
...
Co-authored-by: Georgijs Vilums <=>
2024-05-23 17:54:12 -07:00
Jarred Sumner
260366f1a6
~2x faster uncached bun install on Windows ( #11293 )
2024-05-23 15:02:12 -07:00
Meghan Denny
bdc65d0f87
fix spawn-kill-signal.test.ts ( #11290 )
2024-05-23 12:53:22 -07:00
Georgijs
6566b8a6d6
limit concurrent connection count for happy eyeballs ( #11282 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-23 00:05:03 -07:00
Jarred Sumner
d06498bc96
Deflake serve-body-leak test
2024-05-22 19:22:22 -07:00
dave caruso
aff93ba9df
crash_handler: add note if this crash is from canary ( #11281 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-22 18:31:06 -07:00
Georgijs
d50acbc0bd
Fix refConcurrent and unrefConcurrent ( #11280 )
...
Co-authored-by: Georgijs Vilums <=>
2024-05-22 16:57:05 -07:00
Jarred Sumner
12bb5d03a2
Always propagate error in EventEmitter ( #11210 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-05-22 16:39:42 -07:00
Grigory
942061a40a
docs(building-windows): add info about winget ( #11204 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-05-22 15:46:16 -07:00
Ciro Spaciari
096cfeebc0
fix(fetch) allow Response to be GC'd before all the request body is received ( #10933 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-05-22 15:42:30 -07:00
dave caruso
f3e974102d
ci: upload extra data for crash handler
2024-05-22 14:05:42 -07:00
Georgijs
81cebc789a
Fix workers on windows taking a long time to exit ( #11271 )
2024-05-22 14:04:50 -07:00
Eigil Sagafos
ce8474b2a1
Update http2 NotImplementedErrors to report issue 8823 ( #11277 )
2024-05-22 14:03:43 -07:00
jess-render
cd5a97b383
docs: Add guide for deploying a Bun app to Render ( #11248 )
...
Co-authored-by: Jess Lin <jesslin@JesssMBPRender.home >
Co-authored-by: Jess Lin <jesslin@new-host-6.home >
2024-05-22 10:37:27 -07:00
Meghan Denny
9399b70138
ci: make bun-install-registry.test.ts less flaky on windows ( #11253 )
2024-05-21 23:14:10 -07:00
Meghan Denny
d4b3f16388
ci: skip next-pages/dev-server on windows ( #11256 )
2024-05-21 23:12:24 -07:00
Dylan Conway
cc0bce62e3
fix(install): adding packages in subdirectories of workspaces ( #11254 )
2024-05-21 22:46:26 -07:00
Meghan Denny
87cbaae4f0
meta: ci: dont linkify list of failing files ( #11257 )
2024-05-21 22:07:37 -07:00
Jarred Sumner
6e6cfcd839
Bump + crash reporter uploading
2024-05-21 21:54:53 -07:00
Meghan Denny
e5de03b8eb
replace [bun.MAX_PATH_BYTES + 1]u8 with bun.PathBuffer ( #11163 )
2024-05-21 20:53:34 -07:00
マルコメ
0d76c416ed
docs: update jest compatibility ( #11247 )
2024-05-21 19:25:49 -07:00
Dylan Conway
bb13798d98
fix(install): workspace version added to package.json ( #11241 )
2024-05-21 17:25:40 -07:00
Meghan Denny
ecb6c810c8
replace [bun.MAX_PATH_BYTES]u8 with bun.PathBuffer ( #11162 )
2024-05-21 15:55:49 -07:00
Georgijs
6c77d5e882
bypass getaddrinfo for ip addresses ( #11238 )
...
Co-authored-by: Georgijs Vilums <=>
2024-05-21 15:51:10 -07:00
dave caruso
e98c235e30
feat: load sourcemaps at runtime when using a bun build --target=bun bundle ( #10998 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-21 14:41:53 -07:00
Jarred Sumner
c03b35ecfc
Fix node:dns error code issue impacting MongoDB ( #11235 )
2024-05-21 14:41:00 -07:00
Georgijs
6e55612d36
fix http2 test on windows ( #11236 )
...
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-21 14:36:08 -07:00
dave caruso
0457d6a748
fix(win): bugs with files in roots / bugs with resolver and unc shares ( #11155 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-21 13:51:47 -07:00
Meghan Denny
1c99cfebeb
crypto: fix digestToBytes and add tests ( #11234 )
2024-05-21 13:51:00 -07:00
Dylan Conway
33aaf3376b
use count instead of index for error output
2024-05-21 13:42:20 -07:00
Dylan Conway
fbde05b339
one
2024-05-21 13:38:04 -07:00
Jarred Sumner
bbaeeaeed2
Implement expect().toHaveReturned() && expect().toHaveReturnedTimes(n) ( #11231 )
2024-05-21 13:11:26 -07:00
Meghan Denny
396dc78522
node:fs: add Dirent.path and .parentPath fields ( #11135 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-21 11:24:05 -07:00
Zack Radisic
adde0af7b4
fix which when bin or PATH is rlly long ( #11218 )
2024-05-21 11:21:29 -07:00
Jarred Sumner
40fcf25e01
Fixes "column must be greater than or equal to 0" error ( #11211 )
2024-05-21 11:19:18 -07:00
Gaurish Sethia
c66e290801
Alias util.debug to util.debuglog ( #11189 )
2024-05-21 10:45:14 -07:00
Grigory
b59868ced1
fix(scripts/env): also search for prerelease vs ( #11222 )
2024-05-21 10:18:48 -07:00
Jake Boone
b2b7ad235e
Remove expect.extend from list of missing features in migrate-from-jest.md ( #11214 )
2024-05-20 22:12:29 -07:00
Georgijs
4df387d59f
happy eyeballs ( #11206 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-20 22:12:14 -07:00
Jarred Sumner
440c7cde9e
Upgrade reported Node.js version to v22.2.0
2024-05-20 21:38:22 -07:00
Jarred Sumner
6d87c965bf
Fixes #10170 ( #11209 )
2024-05-20 21:30:44 -07:00
Jarred Sumner
cabfca4039
Fix adding packages in workspaces ( #11177 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-05-20 21:24:37 -07:00
Georgijs
06a9aa80c3
fix data race in us_internal_handle_dns_result ( #11201 )
...
Co-authored-by: Georgijs Vilums <=>
2024-05-20 15:06:07 -07:00
Zack Radisic
ff1db36aaa
shell: handle operators and delimiters better ( #11165 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-20 10:37:52 -07:00
Dylan Conway
a612d22e33
upgrade webkit ( #11188 )
2024-05-20 10:37:06 -07:00
Peter Ammon
ee13aabded
Optimize fish completions ( #11185 )
2024-05-19 18:31:05 -07:00
Jarred Sumner
09438eb50c
Add DNS docs page
2024-05-19 18:10:24 -07:00
Jarred Sumner
b15d47dfe8
Introduce bun.dns.prefetch API ( #11176 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Eric L. Goldstein <3359116+mangs@users.noreply.github.com >
2024-05-19 18:08:16 -07:00
Meghan Denny
16e0f6e671
make WindowsFileAttributes a packed struct and add a windows junction test ( #11161 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-19 14:28:43 -07:00
Kelvin Luck
dcec6906f6
Prefer import.meta.path in http server guide ( #11180 )
2024-05-19 13:37:17 -07:00
Jarred Sumner
8fffe01ef3
Fix crash in CodeCoverage
2024-05-19 11:43:25 -07:00
Jarred Sumner
b044387e58
Fix icu version test
2024-05-19 03:15:00 -07:00
Georgijs
814440b1c0
Asynchronous DNS for sockets ( #11097 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-05-18 05:11:21 -07:00
dave caruso
d0cacfc2ac
fix junction/pnpm on window ( #11157 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-17 19:32:44 -07:00
Zack Radisic
38122a99b2
shell: Fix some cd returning the wrong exit code ( #11092 )
2024-05-17 18:12:57 -07:00
Jarred Sumner
16920a552f
Make unhandled exceptions in Bun.serve() within a test() or expect() call fail the test like any other exception ( #11141 )
2024-05-17 18:11:43 -07:00
dave caruso
4e714ae9dc
fix: don't crash when seeing -1 in code cov ( #11131 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-17 15:53:19 -07:00
Jarred Sumner
902c258c1b
Use simdutf to validate utf8 in websocket server ( #11140 )
2024-05-17 04:03:37 -07:00
Jarred Sumner
dfb935dc73
Add test for ICU version
2024-05-17 03:41:30 -07:00
Jarred Sumner
593ad71891
[bun-types] Add missing serialization option to Bun.spawn
2024-05-17 02:58:14 -07:00
Jarred Sumner
b220254df4
Fix failing test
2024-05-16 23:48:48 -07:00
Meghan Denny
d35ea63e6d
node:http: convert Agent from class to function ( #11130 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-16 23:33:34 -07:00
Jarred Sumner
ca4d2fcbba
A couple fixes to TypeScript types
2024-05-16 23:26:42 -07:00
Meghan Denny
c7d7bc120a
node:crypto: add shake128 and shake256 ( #11134 )
2024-05-16 23:16:59 -07:00
Jarred Sumner
8c963f3430
macOS arm64 CI jobs are being enqueued for too long
2024-05-16 22:47:48 -07:00
Jarred Sumner
44891ee62d
Skip bun build of react-dom/server test when react-dom/server is unsupported
2024-05-16 21:47:58 -07:00
Jarred Sumner
ffeaa77370
Add a debug assertion
2024-05-16 20:35:57 -07:00
Meghan Denny
5caca9cd48
add .bytes() method to various readables ( #11104 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-05-16 19:10:50 -07:00
Meghan Denny
ac6eaac403
test: use resource disposal to ensure servers shutdown even if tests fail ( #11106 )
2024-05-16 17:26:13 -07:00
Jarred Sumner
93abd99202
Downgrade to React 18
2024-05-16 15:53:13 -07:00
Jarred Sumner
013d7c2e9c
Fix flaky test
...
@zackradisic please don't use `^` in tests. It means a package updating in the future can cause the test to fail.
2024-05-16 15:44:28 -07:00
Ishan Anand
ed48b66d42
add guide for drizzle + neon ( #11004 )
2024-05-16 14:25:58 -07:00
Jarred Sumner
d55ac0fa43
Move docs/project/licensing.md to LICENSE so it's easier for people to find it
...
Fixes #241
2024-05-16 03:49:08 -07:00
Jarred Sumner
2fb0a5e311
Fix bug with errname not allowing double numbers as ints ( #11103 )
2024-05-16 02:55:07 -07:00
Jarred Sumner
f7a45b30fd
GitHub actions
2024-05-16 02:29:59 -07:00
Jarred Sumner
b725be7288
GitHub actions
2024-05-16 02:12:09 -07:00
Jarred Sumner
8ed8acd4ae
GitHub actions
2024-05-16 01:59:50 -07:00
Jarred Sumner
87cc3c9898
GitHub actions
2024-05-16 01:51:30 -07:00
Jarred Sumner
c3d4e2729f
Github actions
2024-05-16 01:47:33 -07:00
Jarred Sumner
f00772e98d
GitHub actions
2024-05-16 01:35:28 -07:00
Jarred Sumner
db80f22751
GitHub actions
2024-05-16 01:22:15 -07:00
Jarred Sumner
d51e144344
GitHub actions
2024-05-16 00:59:48 -07:00
Jarred Sumner
f58249e361
Fix loading bun-types in development ( #11110 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-16 00:46:28 -07:00
Jarred Sumner
6098fc5492
GitHub actions
2024-05-16 00:44:55 -07:00
Jarred Sumner
24e195d848
GitHub actions
2024-05-16 00:29:31 -07:00
Jarred Sumner
0cbc5dff7f
Bump Bun version used in format action
2024-05-16 00:20:42 -07:00
Jarred Sumner
2f7e3a9e26
GitHub actions
2024-05-15 22:29:12 -07:00
Jarred Sumner
29f840620c
GitHub actions
2024-05-15 21:38:06 -07:00
Jarred Sumner
6e4b8215ed
GitHub actions
2024-05-15 21:36:17 -07:00
Jarred Sumner
e5e5f98592
Tweak github actions C++ linter ( #11105 )
2024-05-15 21:28:43 -07:00
Jarred Sumner
d90058a522
GitHub actions
2024-05-15 20:48:07 -07:00
Jarred Sumner
1b77efdc52
GitHub actions
2024-05-15 20:44:35 -07:00
Jarred Sumner
e88118972c
GitHub actions
2024-05-15 20:39:48 -07:00
Jarred Sumner
4f93db2c22
GitHub actions
2024-05-15 20:37:58 -07:00
Jarred Sumner
f4679be7fc
Remove unnecessary change
2024-05-15 20:36:22 -07:00
Jarred Sumner
735f5d4b62
Setup clang-tidy (C++ linter) ( #7961 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-05-15 20:35:39 -07:00
Jarred Sumner
9c5d339ccb
5x faster toString("base64url") ( #11087 )
2024-05-15 19:53:25 -03:00
Jarred Sumner
b5dff55ef3
Upgrade SIMDUTF, 8x faster atob ( #11085 )
2024-05-15 03:42:36 -07:00
Jarred Sumner
5389c7ab40
Bump
2024-05-15 00:59:33 -07:00
Meghan Denny
86bcc49bef
node:http: allow setting response.statusCode and statusMessage [v2] ( #11082 )
2024-05-15 00:27:55 -07:00
Meghan Denny
5c8c112c4e
fix corrupted file ( #11081 )
2024-05-14 22:15:20 -07:00
Meghan Denny
4efe026b5f
test: unify how all files create a temp directory ( #11057 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-14 20:19:35 -07:00
阿豪
19f210b085
fix(test): use a real png image instead of Symbolic Link ( #11059 )
2024-05-14 18:41:47 -07:00
Jarred Sumner
c4840f8a58
Fix BUN_CONFIG_NO_CLEAR_TERMINAL_ON_RELOAD env var ( #11078 )
2024-05-14 18:22:21 -07:00
Jarred Sumner
d62cd47885
Update CONTRIBUTING.md
2024-05-14 18:18:59 -07:00
Jarred Sumner
53bf855c18
Update CONTRIBUTING.md
2024-05-14 18:17:08 -07:00
Meghan Denny
1e6fa76637
rework node:net.connect arg parsing ( #10970 )
2024-05-14 17:20:19 -07:00
Dale Seo
301b0fd2e7
Add missing code and reason to WebSocket docs ( #10669 )
2024-05-14 15:42:33 -07:00
Zack Radisic
60482b6e42
Fix backtick escaping and add more tests ( #10980 )
...
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-14 14:23:12 -07:00
Jarred Sumner
8fbdf32d74
Update cluster.md
2024-05-14 02:18:04 -07:00
Jarred Sumner
41569fa369
Update cluster.md
2024-05-14 01:57:43 -07:00
Jarred Sumner
5602b7a352
Update cluster.md
2024-05-14 01:56:55 -07:00
Jarred Sumner
e686c2ed7b
Add guide for reusePort
2024-05-14 01:53:52 -07:00
Dylan Conway
f2cfa15e4e
fix(install): make sure each has_install_script value is updated ( #11051 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-13 21:10:33 -07:00
Dylan Conway
2d5cc719d2
fix coercion to double ( #11056 )
2024-05-13 20:07:00 -07:00
Jarred Sumner
889ec13b32
Fix sorting order of guides
2024-05-13 17:37:18 -07:00
阿豪
d7ba296a20
fix(install.sh): support windows mingw platform ( #11017 )
2024-05-13 16:58:13 -07:00
Georgijs
89d68debde
emit newListener event before new listener is added ( #10993 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-13 16:57:59 -07:00
Jarred Sumner
b079f8d907
fix links
2024-05-13 16:50:54 -07:00
Jarred Sumner
b10a954e99
Link to guides in Readme
2024-05-13 16:48:26 -07:00
Jarred Sumner
17763168c4
Update README nav links + script to update the table of contents
2024-05-13 16:24:16 -07:00
Ashcon Partovi
998c4ca0a7
Change node-http test so it doesn't emit annotation
2024-05-13 14:37:42 -07:00
Ashcon Partovi
c0c6d0fa27
Change issue template to just use "crash" tag
2024-05-13 10:19:40 -07:00
LuisAFK
5d51aa454e
docs: bun upgrade --stable flag in installation docs ( #11000 )
2024-05-13 09:48:36 -07:00
Dylan Conway
88468a2c2c
Snapshot lockfiles in some tests ( #10994 )
2024-05-12 17:27:48 -07:00
dave caruso
dbdc376005
fix(bundler): fix emitting invalid sourcemaps ( #10999 )
2024-05-11 21:58:22 -07:00
Zack Radisic
68cb85a61d
Tilde expansion ( #10981 )
2024-05-10 15:01:17 -07:00
Jarred Sumner
89d25807fb
Do not use always() in github actions
...
@Electroid this causes the tests to never cancel. GitHub has a concurrent actions limit which we easily reach. This causes CI to wait a long time before starting the job, wasting our time.
2024-05-10 06:11:54 -07:00
Jarred Sumner
aa05278d5d
GitHub actions test
2024-05-10 05:53:45 -07:00
Jarred Sumner
1d119b7f87
Avoid loading libm.so.6 as it breaks Vercel ( #10978 )
2024-05-10 05:42:47 -07:00
Jarred Sumner
1fd021e1c4
Bump Webkit again ( #10974 )
2024-05-10 02:07:31 -07:00
Jarred Sumner
f52c17781e
Add to gitignore incase someone still has it locally
2024-05-10 00:54:06 -07:00
Jarred Sumner
1a3f537b3a
Remove unnecessary submodule which should be cloned in the integration test action instead
2024-05-10 00:53:20 -07:00
Jarred Sumner
8c6883d1ba
Disable Node.js test suite until we start using it
2024-05-10 00:35:41 -07:00
Jarred Sumner
ce07eca2a2
Support overriding headers property in Request subclass ( #10969 )
2024-05-10 00:18:48 -07:00
Dylan Conway
1482c9fd65
fix(napi): check result arguments in some functions ( #10972 )
2024-05-10 00:14:08 -07:00
Jarred Sumner
5eb596a9dc
Update json-parse-stringify.mjs
2024-05-09 23:51:53 -07:00
Dylan Conway
589a39d413
upgrade webkit ( #10971 )
2024-05-09 23:06:10 -07:00
Jarred Sumner
abe4fd9bd5
Add extra options to features.json ( #10968 )
2024-05-09 22:01:46 -07:00
Dylan Conway
e2aa36f8a6
fix(install): bug with dist-tags and workspaces with versions ( #10959 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-09 17:22:25 -07:00
Meghan Denny
8528e9c670
make node:fs.ReadableStream and node:stream.NativeReadable constructor functions ( #10943 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-09 17:18:43 -07:00
dave caruso
37006509d9
Update ICU on Linux to 75.1 ( #10960 )
2024-05-09 17:08:46 -07:00
Jarred Sumner
6d717ac852
Revert "Bump"
...
This reverts commit 86820edbf9 .
2024-05-09 15:29:13 -07:00
Jarred Sumner
86820edbf9
Bump
2024-05-09 05:22:01 -07:00
Dylan Conway
159e8bc2a3
fix(install): workspaces without versions ( #10913 )
2024-05-09 03:55:15 -07:00
Jarred Sumner
50fd2b049a
Update nodejs-apis.md
2024-05-08 23:45:01 -07:00
Jarred Sumner
28b5a90823
Fixes missing argument in signal events ( #10940 )
2024-05-08 23:32:11 -07:00
Jarred Sumner
75420ba12a
Implement process.hasUncaughtExceptionCaptureCallback() ( #10937 )
2024-05-08 19:51:39 -07:00
dave caruso
13c6f46b20
feat: add canary to crash handler message ( #10935 )
2024-05-08 18:28:56 -07:00
Meghan Denny
93c0a37ec2
brotli: make sure stream encode on large inputs works as expected ( #10936 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-05-08 18:28:06 -07:00
Georgijs
c378febf5b
Implement process.on("uncaughtException", ...) ( #10902 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-08 17:38:31 -07:00
Zack Radisic
4b581b011c
feat: Add cp builtin to shell for Windows ( #10174 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
2024-05-08 17:01:00 -07:00
dave caruso
f1fbf54b0a
fix(win): do not allow exitcode==1 and signalCode to be set at once ( #10907 )
2024-05-08 16:00:35 -07:00
dave caruso
f60d87b7df
chore: fix the build scripts again ( #10912 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-08 14:57:15 -07:00
Zack Radisic
0d0fe75bec
Fix more glob pattern problems ( #10792 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-08 14:47:09 -07:00
Zack Radisic
656925ec97
Fix workspace packages not being found when they are moved ( #10899 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-08 14:46:05 -07:00
dave caruso
3c082012b7
fix %i formatter with missing argument ( #10910 )
2024-05-07 23:51:10 -07:00
dave caruso
127cb9fd42
fix(crash_handler): add a newline
2024-05-07 23:40:55 -07:00
Meghan Denny
1589a1230d
Revert "Align arguments of connect() in node:tls and node:net to Node ( #10854 )" ( #10908 )
2024-05-07 20:33:42 -07:00
Jarred Sumner
3cb5b2ff1a
Add assertion that count() was called before allocate() in lockfile stringbuilder ( #10901 )
2024-05-07 19:06:11 -07:00
dave caruso
4c0d69af93
fix(windows): build all dependencies with proper cpu target ( #10884 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-07 17:36:19 -07:00
Georgijs
d4db29c164
Fix fd offset handling in ReadStream ( #10883 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-07 16:05:48 -07:00
Henrik Storck
6217d78567
fix: Align arguments of connect() in node:tls and node:net to Node ( #10870 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-05-07 15:03:38 -07:00
rcaselles
c4fa1e38dc
Fix confirm is never true in windows ( #10802 )
...
Co-authored-by: rcaselles <rcaselles@ganaenergia.com >
2024-05-07 14:51:02 -07:00
Dylan Conway
288b540621
fix(node:os): cpus bugfix ( #10879 )
2024-05-07 13:08:25 -07:00
Meghan Denny
4970ffc3a4
node:http: add agent getter to ClientRequest ( #10878 )
2024-05-06 23:05:43 -07:00
Meghan Denny
1da810adc1
node:zlib: Brotli ( #10722 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-06 22:00:04 -07:00
Jarred Sumner
0a54bc0510
Speculative fix for napi_set_property crash ( #10842 )
2024-05-06 20:07:55 -07:00
dave caruso
f9be0bef45
add [Symbol.dispose] in some bun apis ( #10818 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-06 19:49:23 -07:00
Dylan Conway
5cbb1ba96a
console.table bugfix (#10876 )
2024-05-06 19:46:35 -07:00
Artemiy Schukin
16bf341a60
fix: typo in the comment ( #10817 )
2024-05-06 16:35:55 -07:00
Jarred Sumner
b1b91d59d8
Set frame pointers and sigaltstack ( #10847 )
2024-05-06 15:08:43 -07:00
Jarred Sumner
5002a10ef0
Remove references to echo in spawn because it doesn't work on Windows and that confuses people
2024-05-05 23:07:03 -07:00
Jarred Sumner
34c5d083c6
Update http.md
2024-05-05 21:54:25 -07:00
Jarred Sumner
bafa32b39a
Update http.md
2024-05-05 21:51:36 -07:00
Jarred Sumner
07cd586ad6
Update http.md
2024-05-05 20:59:50 -07:00
Jarred Sumner
1a23d95844
Update http.md
2024-05-05 20:51:06 -07:00
Jarred Sumner
b333992640
Add more to the HTTP doc
2024-05-05 20:48:54 -07:00
Jarred Sumner
5e9be3345b
Create git-diff-bun-lockfile.md
2024-05-05 02:38:59 -07:00
Jarred Sumner
b01310c3f6
Update ssr-react.md
2024-05-05 00:53:52 -07:00
Jarred Sumner
9bfeb0a2ae
Workaround https://github.com/facebook/react/issues/28941
2024-05-05 00:51:51 -07:00
Jarred Sumner
72bc2585e3
Fix passing stdout/stderr from Bun.spawn -> Bun.serve()'s Response ( #10840 )
2024-05-04 20:43:57 -07:00
Georgijs
7bfcc2c9e3
support onread in net ( #10753 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-04 20:35:28 -07:00
dave caruso
9ba7d420d5
chore: upload release artifacts by hash so bun.report can remap them ( #10819 )
2024-05-04 20:34:59 -07:00
Dylan Conway
989cb79811
Update comment.yml
2024-05-04 00:54:39 -07:00
e3dio
45842893a4
Update websockets.md ( #10808 )
2024-05-03 20:23:23 -07:00
dave caruso
0ecc49ab7f
fix(bundler): resolve failed assertion when lowering using syntax ( #10814 )
2024-05-03 20:22:25 -07:00
Ashcon Partovi
541744e583
Improve node:inspector stubs ( #10807 )
2024-05-03 19:44:30 -07:00
Eric L. Goldstein
d1eb35dd5d
Update documentation for the [dir] option when customizing bundler naming ( #10804 )
2024-05-03 19:14:25 -07:00
Jarred Sumner
31d3d527f4
Update installation.md
2024-05-03 19:07:47 -07:00
Jarred Sumner
01fade7b1f
Update installation.md
2024-05-03 19:06:13 -07:00
Jarred Sumner
669b47375f
Add JS/TS code field to crash report template
2024-05-03 16:30:05 -07:00
Jared McCannon
d6d1a0bec8
Update solidstart.md ( #10810 )
2024-05-03 14:14:51 -07:00
Jarred Sumner
b0b7db5c06
Add missing $
2024-05-03 01:47:38 -07:00
Jarred Sumner
13a7df1337
Update create-release-build.yml
2024-05-03 01:03:35 -07:00
Zack Radisic
461827902d
Fix bad stack traces ( #10778 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-05-02 23:01:06 -07:00
dave caruso
bbb906c66f
fix(bundler): naming of dynamic import chunks ( #10761 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-02 21:22:36 -07:00
codershiba
b4ae0ed0ca
chore(types): Remove type for parseArgs ( #10777 )
2024-05-02 20:51:48 -07:00
fzn0x
ba3d5e0217
docs(sqlite): fix a small typo in .run() section ( #10784 )
2024-05-02 20:40:14 -07:00
Georgijs
ec6110e7e3
allow connecting a socket again after its connection was closed ( #10781 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-02 20:36:58 -07:00
Dylan Conway
94bf404c41
Print bun version on unhandled errors ( #10760 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-05-02 15:06:14 -07:00
dave caruso
d66a4fc0f4
add jsc to features list ( #10759 )
2024-05-01 22:49:53 -07:00
Dylan Conway
44e09bb7f4
fix(install): catch more errors for bun add/update/remove ( #10758 )
2024-05-01 21:42:06 -07:00
windwiny
2a0746d57e
Update env.ps1, FIX when VS not installed in default path ( #10684 )
2024-05-01 21:13:42 -07:00
Jarred Sumner
56f3a80166
Revert "Make CONTRIBUTING.md a symlink to docs/project/contributing.md instead"
...
This reverts commit ca82b7f86c .
2024-05-01 20:23:55 -07:00
Jarred Sumner
ca82b7f86c
Make CONTRIBUTING.md a symlink to docs/project/contributing.md instead
...
So that CI will pick up changes to it correctly
2024-05-01 20:18:17 -07:00
Jarred Sumner
6fbb32dd97
make contributing.md a symlink
2024-05-01 20:16:26 -07:00
Jarred Sumner
e1fdafd39c
Update CONTRIBUTING.md
2024-05-01 20:09:39 -07:00
Jarred Sumner
f85323c72a
Update docs.yml
2024-05-01 20:09:27 -07:00
Jarred Sumner
3c93a4c0c7
Update CONTRIBUTING.md
2024-05-01 20:09:11 -07:00
Jarred Sumner
f93a31596b
Use CONTRIBUTING.md for visibility
2024-05-01 20:04:13 -07:00
Jonny Burger
c9108d19f9
Re-enable support_jsxs_in_jsx_transform flag ( #10734 )
2024-05-01 19:59:30 -07:00
Dylan Conway
5d7b3ab579
upgrade webkit ( #10757 )
2024-05-01 19:51:45 -07:00
Ciro Spaciari
79c7abe595
fix(server) handle ignored body and node:http destroy ( #10268 )
2024-05-01 16:18:35 -07:00
Ashcon Partovi
23fb8ce07a
Rewrite some tests so they don't use GitHub annotations ( #10748 )
2024-05-01 16:13:20 -07:00
Meghan Denny
e45cd749e5
chore(zig): add a new lint for using bun.FD.cwd() ( #10683 )
2024-05-01 16:12:09 -07:00
Georgijs
5f4c5052d1
fix windows crosscompile to linux and mac ( #10751 )
2024-05-01 16:07:36 -07:00
Jarred Sumner
32120fe920
Cherry-pick https://github.com/WebKit/WebKit/pull/27964 ( #10727 )
2024-05-01 15:28:23 -07:00
Meghan Denny
23e4f609bf
Revert "node:fs.readdir: should not fail even if folder contains self-referential symlinks" ( #10750 )
2024-05-01 14:59:01 -07:00
Meghan Denny
bd632464a0
node:fs.readdir: should not fail even if folder contains self-referential symlinks ( #10679 )
2024-05-01 13:25:47 -07:00
Eric L. Goldstein
2a401486d9
Remove util.styleText type overrides because @types/node has them now ( #10746 )
2024-05-01 12:53:08 -07:00
Georgijs
fd45c67e72
fix flaky jwt test ( #10745 )
2024-05-01 12:00:16 -07:00
Zack Radisic
303f86af41
Glob support for workspace names in bun install ( #10462 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
2024-05-01 11:01:55 -07:00
Jarred Sumner
3fc2e45960
Update proxy.md
2024-05-01 03:19:30 -07:00
Jarred Sumner
50ba690cad
Update proxy.md
2024-05-01 03:17:06 -07:00
Jarred Sumner
2b193095d3
Update proxy.md
2024-05-01 03:16:27 -07:00
Jarred Sumner
e1a7fe55c3
Add guide for proxy
2024-05-01 03:14:25 -07:00
Jarred Sumner
c156a8db09
Fix build
2024-05-01 03:00:04 -07:00
Jarred Sumner
dc99eb69ca
Move some dns code into bun.dns ( #10728 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-01 02:54:32 -07:00
Dylan Conway
a38b3102b6
override std.mem.indexOfSentinel ( #10721 )
2024-05-01 01:28:04 -07:00
Dylan Conway
3106b890ac
Skip threadlocal destructors at exit on Windows ( #10723 )
2024-05-01 01:27:12 -07:00
Georgijs
b48c6736e5
(green ci) fix issue in workers and process deinit ( #10715 )
...
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-04-30 18:12:03 -07:00
Dylan Conway
a5b5a2a725
fix requestCert and rejectUnauthorized option handling ( #10710 )
2024-04-30 17:29:03 -07:00
Ashcon Partovi
32bf5eb444
Support bunx --version ( #10701 )
2024-04-30 11:29:17 -07:00
Jarred Sumner
efd4e15f4c
Deflake http2 tests ( #10682 )
2024-04-30 13:50:30 -03:00
Ashcon Partovi
18261046ee
Run more Node.js tests
2024-04-30 08:44:08 -07:00
Jarred Sumner
ee0e69702e
Fix run URLs in CI comments
2024-04-30 01:03:39 -07:00
Meghan Denny
74c6bd4197
node:fs.fdatasync: include fd in Error when thrown ( #10678 )
2024-04-29 22:35:09 -07:00
Meghan Denny
a78db0b8ae
test: node:http: don't hardcode this value ( #10671 )
2024-04-29 19:18:42 -07:00
Jarred Sumner
b42f5227e3
Deflake fs.watchFile tests ( #10673 )
2024-04-29 19:15:53 -07:00
RanolP
93829420dc
fix: seq, dirname, basename should exit with 0 even when they don't have stdout ( #10590 )
2024-04-29 18:06:43 -07:00
Georgijs
168d50e622
fix cpu model identification on linux aarch64 ( #10653 )
2024-04-29 18:06:04 -07:00
Zack Radisic
558aad5611
Make Windows command line argument parsing more robust ( #10661 )
2024-04-29 17:53:46 -07:00
Eric L. Goldstein
185a4bf90e
Update Bun.serve() types documentation to match the exact values from bun.d.ts ( #10420 )
2024-04-29 17:40:37 -07:00
Jarred Sumner
ce4f85c2c5
Fixes #10624 ( #10625 )
2024-04-29 17:16:48 -07:00
Dylan Conway
cacf97ca0a
fix flaky bun-create.test.ts with git templates ( #10662 )
2024-04-29 16:59:07 -07:00
Dale Seo
72b3045758
no need to open the parentheses ( #10666 )
2024-04-29 15:46:16 -07:00
David Ernst
0f4449d51b
Fix "is" -> "as" typo in comment ( #10664 )
2024-04-29 15:37:11 -07:00
Jarred Sumner
6f15b90e83
Disable these assertions on Windows
2024-04-29 14:25:36 -07:00
Jarred Sumner
2724bd3649
Bump
2024-04-29 14:16:43 -07:00
Jarred Sumner
bca4d0be48
Speculative fix for alignment crash in directory iterator on Windows ( #10628 )
2024-04-29 14:07:00 -07:00
Jarred Sumner
3970339483
Use error handling callback in more places, emit 1015 when WSS TLS handshaking fails, micro-optimize ServerWebSocket, fix bug in util.inspect exceptions ( #10633 )
2024-04-29 13:57:23 -07:00
Georgijs
603588ac8c
fix flaky udp test ( #10650 )
...
Co-authored-by: Georgijs Vilums <=>
2024-04-29 13:03:12 -07:00
Dylan Conway
fbbc20fe83
fix flaky setTimeout test ( #10656 )
2024-04-29 12:47:08 -07:00
Jarred Sumner
7af0ed164a
Fixes #10584 ( #10627 )
2024-04-29 10:43:59 -07:00
Keigo Ando
7062e89d2e
Support asymmetric matchers with equals in expect.extend ( #10602 )
2024-04-29 10:37:35 -07:00
Jarred Sumner
2bf3f32fb8
Update nodejs-apis.md
2024-04-28 22:58:40 -07:00
Dylan Conway
697f37e21f
fix 10610 ( #10618 )
2024-04-28 16:55:20 -07:00
Dylan Conway
c7aed7e0a3
fix node-module-module.test.js on windows ( #10620 )
2024-04-28 16:54:47 -07:00
Jarred Sumner
84d81c3002
Add microbenchmark
2024-04-28 02:31:45 -07:00
Jarred Sumner
e58d67b468
Fixes #10588 & upgrade WebKit ( #10596 )
2024-04-28 01:10:52 -07:00
Jarred Sumner
dfcbe09035
Update create-release-build.yml
2024-04-27 17:44:20 -07:00
Jarred Sumner
cbb0b3113a
Update create-release-build.yml
2024-04-27 16:55:31 -07:00
Yusup Hambali
9ebbe035b9
[docs] Fix scoop command ( #10586 )
2024-04-27 16:44:40 -07:00
João Lucas de Oliveira Lopes
57b529d181
fix: udp docs navbar ( #10579 )
2024-04-27 16:44:24 -07:00
Jarred Sumner
cc8cdf6c51
Fix napi_get_date_value ( #10575 )
2024-04-27 02:59:11 -07:00
Jarred Sumner
4cbd215d55
Fix regression with TOML & JSONC ( #10573 )
2024-04-27 02:58:44 -07:00
Dylan Conway
3b1311a84f
fix 10556 ( #10572 )
2024-04-27 02:03:03 -07:00
Dylan Conway
2f1a3da21b
fix 10567 ( #10570 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-27 01:25:28 -07:00
Meghan Denny
adc631c9ef
fix node:http events regression and add another test ( #10566 )
2024-04-27 00:53:51 -07:00
dave caruso
a52dd7853d
final steps to getting dd-trace to work ( #10568 )
2024-04-27 00:07:44 -07:00
Georgijs
e2c36aabff
add docs for UDP ( #10562 )
...
Co-authored-by: Georgijs Vilums <=>
2024-04-26 21:08:51 -07:00
Meghan Denny
9416ee49b2
windows: patch setTimeout.test.js flakiness ( #10564 )
2024-04-26 21:08:40 -07:00
Meghan Denny
8280defc30
node:http: preserve this value for onListen callback ( #10533 )
2024-04-26 18:42:29 -07:00
Jarred Sumner
609ef6a8ad
Fix DNS lookup not draining microtasks ( #10561 )
2024-04-26 18:42:18 -07:00
Jarred Sumner
829ac49612
Add missing NOT_SAME_DEVICE -> EXDEV error translation
2024-04-26 15:38:25 -07:00
Jarred Sumner
555bd1defd
Bump!
2024-04-26 15:30:38 -07:00
Ashcon Partovi
589f941aea
UDP support ( #7271 )
...
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
2024-04-26 15:25:24 -07:00
Kilian Brachtendorf
a6d39e14fc
Fixes #10551 Search for LLVM 16 during initial setup ( #10552 )
2024-04-26 15:15:09 -07:00
Jarred Sumner
4b87e1a909
Fixes #4718 ( #10543 )
2024-04-26 14:56:22 -07:00
Meghan Denny
181d6a0a83
node:net: stub out [get|set]DefaultAutoSelectFamily[AttemptTimeout] ( #10529 )
2024-04-26 14:35:34 -07:00
Meghan Denny
b257a30977
node:fs: fix arg parsing of readSync ( #10527 )
2024-04-25 20:49:17 -07:00
Jarred Sumner
189aa22845
Support comments & trailing commas in require/import package.json ( #10531 )
2024-04-25 20:48:42 -07:00
Dylan Conway
7f0b810d7a
fix checking no_proxy env variable ( #10530 )
2024-04-25 20:45:10 -07:00
Jarred Sumner
17fc156460
Update create-release-build.yml
2024-04-25 19:45:45 -07:00
dave caruso
7502c9b391
fix: never create more than one stdin tty ( #10528 )
2024-04-25 19:20:37 -07:00
josephjclark
c7773975f6
docs: Remove duplicated content from guides/install/trusted ( #10330 )
2024-04-25 18:53:10 -07:00
dave caruso
006575a0f1
watcher: major refactor to use Maybe types for better error reporting ( #10492 )
2024-04-25 18:44:11 -07:00
Georgijs
9ba1181215
fix child-process-exec test on windows ( #10522 )
...
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-25 17:58:12 -07:00
Dylan Conway
588259fff1
fix flaky jsonwebtoken tests ( #10524 )
2024-04-25 17:57:22 -07:00
Jarred Sumner
c34428d47f
Fix Linux spawn issue ( #10503 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-25 16:05:19 -07:00
Georgijs
78aef2d894
fix some child_process tests ( #10521 )
2024-04-25 16:02:19 -07:00
Jarred Sumner
9eab12f7b8
Support cross-compilation in bun build --compile ( #10477 )
2024-04-25 15:34:40 -07:00
Dylan Conway
196cc2a4cd
fix windows install tests ( #10497 )
2024-04-25 14:27:18 -07:00
Jarred Sumner
49fa21f6dc
Don't error on comments & trailing commas in package.json ( #10287 )
...
* Don't error on comments & trailing commas in package.json
* Fix windows tests
* Fixup
* Update lockfile.zig
* Woopsie
* Woopsie
* Fix workspace path stuff on Windows
* Always decode
* Always decode
* Revert some things
* Update lockfile.zig
2024-04-25 03:16:00 -07:00
Dylan Conway
d966fe6afd
fix flaky and broken test ( #10500 )
...
* add package
* fix test
2024-04-25 01:14:11 -07:00
Meghan Denny
a64554bba6
node:http.request should emit events in the right order ( #10447 )
...
* node:http.request should emit events in the right order
* Apply formatting changes
* remove runOnNextTick alias
* make private event a symbol
* clean test
* fix regressions and add more tests
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-25 00:07:54 -07:00
Dylan Conway
a6714904e4
set length before copy ( #10498 )
2024-04-24 23:39:05 -07:00
dave caruso
e792bbdf5f
fix: overriding self.postMessage should not impact worker_threads.parentPort ( #10496 )
...
* fix a bug in worker
* remove old
2024-04-24 22:14:37 -07:00
Meghan Denny
685dc02142
windows: fix bun-create ci tests ( #10494 )
...
* windows: fix bun-create ci tests
* fix lint
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-24 21:51:05 -07:00
Dylan Conway
ebeae0ff1c
Revert "Fix issue #10376 ( #10421 )"
...
This reverts commit 7bc8456edf .
2024-04-24 19:33:23 -07:00
Uzini
7bc8456edf
Fix issue #10376 ( #10421 )
...
* add: prevent script install to be spawned if bun install is invoked
* add: test for infinite install loop
* add: error message
* fix: error message, exit code, test
---------
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-04-24 19:12:13 -07:00
Dylan Conway
fdff887c0a
file protocol and abs path ( #10493 )
2024-04-24 18:55:13 -07:00
Meghan Denny
d789eb34c9
remove unnecessary use of ReflectApply ( #10482 )
2024-04-24 15:30:15 -07:00
Dylan Conway
b03c6690ba
fix 10474 ( #10478 )
...
* use utf8string
* update
2024-04-24 15:03:12 -07:00
Meghan Denny
e3689e7e83
node:crypto: add blake2b512, sha512-224, sha3-* ( #10383 )
...
* node:crypto: add blake2b512, sha512-224, sha3-*
* update submodule
* flesh out rest of api
* remove new bun.newCatchable
* add SHA512_224 to HashClasses
* remove SHA512_224 js class
* better allocation
* remove memcpy in path where buffer is provided to us
* add back benchmark
* move zig crypto things into specific struct
* Apply formatting changes
* centralize algorithm definitions into one spot
* rsa-256 was deleted
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-23 19:35:27 -07:00
Meghan Denny
2abe6e7c3f
node:child_process: allow passing stdin,stdout,stderr to spawn ( #10451 )
...
* node:child_process: allow passing stdin,stdout,stderr to spawn
* this doesnt actually need to be limited to 0,1,2
* Apply formatting changes
* fix stream guards
* undo process internals change
* wrap check in function for better clarity
* lazy load node:fs more
---------
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-04-23 17:03:11 -07:00
Jarred Sumner
0989f1a575
Add comment
2024-04-23 16:42:45 -07:00
Zack Radisic
528a84d29f
Fix absolute patterns with glob ( #10121 )
...
* Make it work with abs patterns
* add tests
* fixes
* Make all the ported fast-glob tests work for absolute path patterns, fix some stuff
* fix scan test
* remove TestBuilder in scan.test.ts
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-23 15:59:59 -07:00
Jarred Sumner
024c274a3d
Support type import attribute with "text", "json", "toml", and "file" ( #10456 )
...
* Fixes #3449
Fixes https://github.com/oven-sh/bun/issues/10206
Fixes https://github.com/oven-sh/bun/issues/5710
* Apply formatting changes
* Update loaders.md
* Update text-loader-fixture-import.ts
* Add guide
* Update bundler_loader.test.ts
* Address comment
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-23 15:35:34 -07:00
Meghan Denny
ff624147ad
existsSync should never throw ENAMETOOLONG ( #10446 )
...
* existsSync should never throw ENAMETOOLONG
* undo PathLike change and use better guard
* Apply formatting changes
* await promise
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-23 15:33:37 -07:00
Jarred Sumner
c1d7a5ed79
Update define-constant.md
2024-04-23 14:39:15 -07:00
Jarred Sumner
7593790308
Update define-constant.md
2024-04-23 14:37:32 -07:00
Jarred Sumner
3d770c112c
Update define-constant.md
2024-04-23 14:36:27 -07:00
Jarred Sumner
d690504943
Update define-constant.md
2024-04-23 14:26:21 -07:00
Jarred Sumner
1a17d7179c
Update define-constant.md
2024-04-23 14:23:31 -07:00
Jarred Sumner
309c2e3678
Update define-constant.md
2024-04-23 14:22:44 -07:00
Jarred Sumner
90fc629156
Update define-constant.md
2024-04-23 14:21:27 -07:00
Jarred Sumner
dd774c7f8c
Formatting
2024-04-23 14:15:09 -07:00
Jarred Sumner
79a4cfb17d
Fix example
2024-04-23 14:05:35 -07:00
Jarred Sumner
dc5044443f
Add a guide for using --define
2024-04-23 13:58:55 -07:00
Jarred Sumner
68c13f2af5
Format
2024-04-23 01:31:15 -07:00
dave caruso
e6954c440e
ci: make next build test ignore gzipped file sizes ( #10443 )
...
* fix next build
* window
2024-04-22 21:07:32 -07:00
Jarred Sumner
a1c771834c
Fixes #10322 ( #10384 )
...
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-04-22 21:06:53 -07:00
Erik Brinkman
9768d30e6d
check for nested define value identifiers ( #10401 )
...
fixes #10399
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-22 19:37:48 -07:00
Georgijs
9813341cef
fix hang when spawning many processes ( #10448 )
...
* fix hang when spawning many processes
* update comment
2024-04-22 19:37:01 -07:00
Dylan Conway
0f13deb540
Switch to quick_exit ( #10450 )
...
* quick_exit
* remove macos
2024-04-22 19:34:23 -07:00
Meghan Denny
0f8d74e3dc
node:*: fix some typescript errors ( #10310 )
...
* node:*: fix some typescript errors
* add dom to tsconfig
* fix url regression
* fix diagnostics_channel regression
* use $isJSArray instead of ArrayIsArray
* $isArray wasnt actually a real builtin
* Revert "$isArray wasnt actually a real builtin"
This reverts commit 319926b538 .
* Apply formatting changes
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-04-22 18:24:07 -07:00
Ashcon Partovi
c3c1750ec7
Run tests from Node.js ( #10377 )
2024-04-22 15:28:16 -07:00
Dylan Conway
e8fa39f938
update crash handler ( #10442 )
...
* format null line
* single slash
2024-04-22 15:00:39 -07:00
Jarred Sumner
0fb10356f8
Update upload.yml
2024-04-22 13:28:07 -07:00
Jarred Sumner
c405a4bd21
Fixes #10304 ( #10407 )
2024-04-22 13:03:36 -07:00
vico
164b2f610f
docs: update clang/llvm version to 17 ( #10439 )
2024-04-22 10:42:56 -07:00
welfuture
83e4aca269
chore: remove repetitive words ( #10393 )
...
Signed-off-by: welfuture <wellfuture@qq.com >
2024-04-22 08:47:57 -07:00
Johan Wigert
6758046f76
Fix typo in docker.md ( #10430 )
2024-04-22 08:46:51 -07:00
Jarred Sumner
7496299b00
Update CMakeLists.txt
2024-04-22 00:53:14 -07:00
Jarred Sumner
c2ad94aa01
CI actions
2024-04-22 00:51:01 -07:00
Jarred Sumner
a614336157
Tweak actions
2024-04-22 00:19:29 -07:00
Jarred Sumner
7bd305c573
Update upload.yml
2024-04-22 00:02:33 -07:00
Jarred Sumner
cd3b184ba0
Update upload.yml
2024-04-22 00:00:24 -07:00
Jarred Sumner
a010db8eca
Update ci.yml
2024-04-21 23:50:54 -07:00
Jarred Sumner
a3dc94f1e1
Update ci.yml
2024-04-21 23:49:10 -07:00
Jarred Sumner
639f554c9c
Update upload.yml
2024-04-21 23:47:21 -07:00
Jarred Sumner
536379b8ed
Update build-darwin.yml
2024-04-21 23:43:02 -07:00
Jarred Sumner
04a79fa308
Update upload.yml
2024-04-21 23:38:02 -07:00
Jarred Sumner
0bd75cc3c5
Update upload.yml
2024-04-21 23:36:57 -07:00
Jarred Sumner
1f1df6be0c
Update create-release-build.yml
2024-04-21 23:20:53 -07:00
Jarred Sumner
6ff77c978e
Update create-release-build.yml
2024-04-21 23:20:33 -07:00
Jarred Sumner
7433f5a922
Update create-release-build.yml
2024-04-21 23:11:29 -07:00
Jarred Sumner
9c879064fe
Update create-release-build.yml
2024-04-21 22:54:43 -07:00
Jarred Sumner
8168415e5a
Create release build action
2024-04-21 22:43:50 -07:00
Jarred Sumner
22a289e272
Update ci.yml
2024-04-21 21:45:38 -07:00
Jarred Sumner
97efa6f505
Update ci.yml
2024-04-21 21:42:21 -07:00
Jarred Sumner
c604c57a32
Upgrade to LLVM 17, fix linux debug build, upgrade JSC, remove some C API usages ( #10161 )
...
* Upgrade to LLVM 17, JSC, remove more C API usages
* [autofix.ci] apply automated fixes
* Update scripts/setup.sh
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
* more
* update
* bump
* Fix unused variable
* Fix merge conflict
* [autofix.ci] apply automated fixes
* Increase limit
* double the limit
* CI
* Update CMakeLists.txt
* Update CMakeLists.txt
* Upgrade
* Upgrade more things
* Bump
* Remove ld64 flag
* typo
* Update Dockerfile
* update
* Update
* Up
* asd
* up
* Upgrade
* Bump!
* Fix crash
* Remove unnecessary cahnge
* Propagate canary flag + bump macOS 13
* Upgrades
---------
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>
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-04-21 19:03:01 -07:00
LuisAFK
ab79940e6a
Fix typo in workspaces docs "pacakges" ( #10417 )
2024-04-21 18:03:17 -07:00
Jarred Sumner
1a4bad80b7
Bump
2024-04-20 21:30:14 -07:00
Jarred Sumner
30f4090571
Fix flaky test
2024-04-20 21:30:05 -07:00
Jarred Sumner
1191bf0c15
Delete dead test code ( #10405 )
...
* Delete dead test code
* Apply formatting changes
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-20 21:25:10 -07:00
Jarred Sumner
707fd7f1ea
Update mimalloc ( #10408 )
...
* Update mimalloc
* Update runner.node.mjs
2024-04-20 20:48:55 -07:00
Georgijs
df1e9290ae
filter: return with nonzero code if any script fails ( #10374 )
...
* filter: return with nonzero code if any script fails
* propagate exit code
* Update src/cli/filter_run.zig
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-20 17:59:14 -07:00
Jarred Sumner
fc4459991d
Fixes #8697 ( #10378 )
...
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-04-20 17:58:14 -07:00
dave caruso
a062e2d367
fix(bundler): fix --compile with asset files on windows ( #10385 )
...
* fix some bundler things
* buh
* buh
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-20 17:13:50 -07:00
Dylan Conway
ad44949621
fix upgrade crash ( #10387 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-20 16:14:09 -07:00
Arnaud Thomas D
d0a4fd5e80
docs: fix invalid links to other pages ( #10404 )
2024-04-20 16:13:31 -07:00
Dylan Conway
e6d8391e00
fix(windows): revert thread naming code ( #10394 )
2024-04-20 10:56:05 -07:00
dave caruso
5bdc5bebb1
feat: crash reporter followup ( #10365 )
...
* think about the future
* waaaaaaaaaaa
* a
* testing
* make it faster
* fire
* macos and linux
* stuff
* a
* a
* CI
* buh
* disable in debug
* Apply formatting changes
* a
* a
* Apply formatting changes
* more review comment resolution
* a
* a
* oh no i started writing macos code from within windows i should stop and switch devices again
* rookie mistake
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-04-19 20:50:37 -07:00
Ciro Spaciari
e0f583df75
feat(SNI) Bun.serve/tls ( #10364 )
...
* add SNI support
* add some Bun.serve tests
* more tests
* wip move addServername to
* move addServerName
* clean
* fix types
* cleanup
* make TS happy
* opsie revert back
* version this
* internals
* opsie
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-19 17:11:05 -07:00
Ashcon Partovi
131183f747
Likely fix issue with Windows tests [no ci]
2024-04-19 14:56:25 -07:00
Ashcon Partovi
5ccc042cc4
Fix syntax error from workflow [no ci]
2024-04-19 14:05:41 -07:00
Ashcon Partovi
abaa505374
Set git config when running tests on Windows [no ci]
2024-04-19 13:50:23 -07:00
Jarred Sumner
c5270f8121
Fix typo
2024-04-18 22:57:36 -07:00
Jarred Sumner
c4d69146c8
[doc] Disambiguate the title
2024-04-18 22:46:43 -07:00
Jarred Sumner
2ce83953e5
[docs] Add a few more guides
2024-04-18 22:20:29 -07:00
Jarred Sumner
b6aebb58c2
[doc] Add guide for streaming with async iterators
2024-04-18 22:09:09 -07:00
Jarred Sumner
26428d5e1c
[CI] Fixup windows
2024-04-18 20:52:37 -07:00
Jarred Sumner
05ff620d4d
[Ci] Always cancel-in-progress
2024-04-18 19:12:51 -07:00
Jarred Sumner
e134ed253f
[CI] Use bigger windows runners
2024-04-18 18:55:09 -07:00
Jarred Sumner
f663472d5f
[CI] Normalize filepaths relative to cwd in output
2024-04-18 18:52:47 -07:00
Jarred Sumner
6f67c63873
Formatting tweak
2024-04-18 18:44:49 -07:00
Ashcon Partovi
f460d39298
Increase timeout for tests
2024-04-18 17:19:49 -07:00
Dylan Conway
246df1f43e
check without .exe ( #10362 )
2024-04-18 17:03:38 -07:00
Ashcon Partovi
213461adc6
Fix Discord message on test failure
2024-04-18 13:05:23 -07:00
Jarred Sumner
a78668eb4c
fix(bundler): fix a crash while computing character frequencies
...
* Fixes #10344
* Update bundler_compile.test.ts
* Apply formatting changes
* Track comments when bundling
* Fix embedded files and add test
* Make this const
* Update runner.node.mjs
* Prefill process arch/platform in bun build --compile
* nitpick
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-04-18 12:35:59 -07:00
Ashcon Partovi
452dd68253
Fix comment not upserting
2024-04-18 10:56:54 -07:00
Ashcon Partovi
de7985b5a6
Fix unzip location
2024-04-17 19:02:46 -07:00
Ashcon Partovi
a1f86bf3f3
Add temporary SSH into workflow
2024-04-17 19:00:00 -07:00
Ashcon Partovi
df23f18461
Fix glob that unzips bun
2024-04-17 18:58:10 -07:00
Ashcon Partovi
1d7f80c73c
Use always() to maybe fix trigger
2024-04-17 18:54:58 -07:00
Ashcon Partovi
6d6b2e8bc5
Add ability to manually trigger tests
2024-04-17 18:52:10 -07:00
Ashcon Partovi
accfff0271
Attempt to fix download artifact issue
2024-04-17 18:28:28 -07:00
Ashcon Partovi
aa1174df69
Probably fix permissions issues with CI
2024-04-17 17:51:41 -07:00
Jarred Sumner
997f57b97f
Fix generate comment in CI
2024-04-17 17:41:59 -07:00
Jarred Sumner
074205d963
Fix generate comment in CI
2024-04-17 17:37:33 -07:00
Ashcon Partovi
cfce166a9b
Use different GitHub action to download Bun
2024-04-17 17:13:39 -07:00
Ashcon Partovi
13f0188fec
Allow concurrent CI runs on main, but only cancel-in-progress if not-main
2024-04-17 16:29:48 -07:00
Ashcon Partovi
97761cba67
Fix GIT_SHA not being populated in builds
2024-04-17 16:23:50 -07:00
Ashcon Partovi
492211f499
Tweak comment from PRs
2024-04-17 16:08:04 -07:00
Jarred Sumner
192577141b
Update 6-crash-report.yml
2024-04-17 15:53:24 -07:00
Jarred Sumner
6e71dca5c2
Tweak crash report template
2024-04-17 15:52:09 -07:00
dave caruso
c99d7ed331
feat: overhaul the crash handler ( #10203 )
...
* some work
* linux things
* linux things
* feat: tracestrings on Windows
* bwaa
* more work on the crash handler
* okay
* adgadsgbcxcv
* ya
* dsafds
* a
* wuh
* a
* bru h
* ok
* yay
* window
* alright
* oops
* yeah
* a
* a
* OOM handling
* fix on window
2024-04-17 15:32:25 -07:00
Ashcon Partovi
f764c1233b
Fix permissions in workflows, part 2
2024-04-17 15:09:26 -07:00
Ashcon Partovi
20d8261405
Fix permissions in workflows
2024-04-17 15:07:54 -07:00
Ashcon Partovi
a7273802a8
Debug comment workflow
2024-04-17 14:18:25 -07:00
Ashcon Partovi
303bf4d9f1
Fix comment workflow
2024-04-17 11:47:05 -07:00
Ashcon Partovi
d4c31d3c9e
Maybe fix test workflow
2024-04-17 11:36:40 -07:00
Ashcon Partovi
d5e6ff4c97
Fix artifact uploads for canary builds
2024-04-17 10:04:57 -07:00
liudonghua
51bb5f3a04
Update platform.ts to fix isWindowsAVX2 implementation. ( #10313 )
...
The isWindowsAVX2 function is not working as expected due to the stdout endwith `\r\n`. So the simple `stdout == "True"` will never true.
2024-04-17 00:26:57 -07:00
Ashcon Partovi
fdaa01287a
Maybe fix Windows tests
2024-04-16 22:53:42 -07:00
Ashcon Partovi
f8a28ad37e
Probably fix comment workflow
2024-04-16 22:12:48 -07:00
Ashcon Partovi
c18c25f390
Testing workflows ( #10157 )
...
* Testing workflows
* Testing workflows
* Testing workflows
* Testing workflows
* Testing workflows
* Testing workflows
* Update .github/workflows/run-test.yml
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-16 19:39:06 -07:00
Stefano
3df202f91f
Fix(windows) search correct path for esbuild(.exe|.cmd) ( #10302 )
2024-04-16 15:43:47 -07:00
Meghan Denny
df190815df
node: convert remaining js packages to ts ( #10289 )
2024-04-16 15:42:24 -07:00
Meghan Denny
2ae48f3314
lint: ban comparing against undefined in Zig ( #10288 )
2024-04-16 14:37:09 -07:00
Jarred Sumner
291a39bd3f
Do not run shell tests outside test scope ( #10199 )
...
* Do not run tests outside test scope
* Fix tests
* Fix type errors and remove potentially precarious uses of unreachable
* yoops
* Remove all instances of "Ruh roh"
---------
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2024-04-16 14:03:02 -07:00
Jarred Sumner
fbe2fe0c3f
Bump
2024-04-15 21:32:17 -07:00
Dylan Conway
5a81dc8e33
fix(install): fix dependency install order ( #10240 )
...
* packages wait for parent trees before install
* use `directoryExistsAt`
* missing increment
* fix faccessat
* swap destination and target
* update
* force
* only create destination dir before installing package
* fix windows symlink/junction
* increment, false on extracting
* done
2024-04-15 18:29:34 -07:00
Georgijs
24a411f904
Correctly handle duplicate column names in sqlite joins ( #10285 )
...
* add tests
* working
* cleanup
* fix compile
* fix naming and comment
* fix lints in test
* apply suggested fixes
2024-04-15 14:02:28 -07:00
Jarred Sumner
3f10d5250a
[bun:sqlite] Support sqlite3_file_control, better closing behavior, implement Disposable ( #10262 )
...
* [bun:sqlite] Support `sqlite_file_control`, better closing behavior, support `using` statements
* docs+flaky test
* Simplify the implementation
2024-04-15 13:06:30 -07:00
Jarred Sumner
dd6beb66d8
[doc] Simplify this guide slightly
2024-04-15 07:45:07 -07:00
Grigory
233624b6ff
fix(which/windows): ignore file extension case ( #10102 )
...
* fix(which/windows): ignore file extension case
* feat(which): add test for `endsWithExtension` fun
* Revert "feat(which): add test for `endsWithExtension` fun"
This reverts commit fb3ad51de7 .
* add test
---------
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-04-15 05:03:44 -07:00
Georgijs
fdcc844027
fix path resolution for writeFile in nodefs ( #10179 )
...
* fix path resolution for writeFile in nodefs
* add test
* [autofix.ci] apply automated fixes
* use force copy
* fix build
* fix test on windows
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-15 05:02:09 -07:00
Ciro Spaciari
74d91f6b51
feat(SSL_renegociate) ( #10256 )
...
* allow client renegotiation and allow server renegotiation with limits matching nodejs behavior
* wip before the refactoring and context separation
* investigate if BoringSSL can send a SSL_renegotiate request or only accept
* format-off
* option to disable server renegotiation
* allow tls options on https
* dead_socket when connectError
* propagate cert error
* test
* move the logic to the right place
* cleanup
* Update test/js/node/tls/renegotiation.test.ts
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-04-15 05:00:41 -07:00
Jarred Sumner
9f81a6268e
Fixes #10259 ( #10260 )
2024-04-14 03:07:18 -07:00
Jarred Sumner
7b5065c1c9
Use internal setup-bun action
...
We do not want metrics to come from internal usage. CC @Electroid please remember this going forward.
2024-04-13 05:03:37 -07:00
Jarred Sumner
21ad40e86c
Allow SSL negotiation for clients ( #10239 )
...
@lithdew
2024-04-13 02:43:10 -07:00
Jarred Sumner
c59f49385f
Make Command.Context a pointer ( #10237 )
2024-04-13 01:53:31 -07:00
Jarred Sumner
8d49a3ee37
Better way to check if a directory exists ( #10235 )
...
* Better way to check if a directory exists
* Update sys.zig
* Fix windows build
* Add missing file
2024-04-12 22:19:29 -07:00
Ciro Spaciari
f6b9c0c909
fix(socket) fix error in case of failure/returning a error in the open handler ( #10154 )
...
* fix socket
* one more test
* always clean callback on deinit
* Update src/bun.js/api/bun/socket.zig
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* make context close private
* keep old logic
* move clean step to SocketContext.close
* add comment
* wait for close on stop
* cleanup
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-12 20:58:45 -07:00
Jarred Sumner
65d8288d81
Revert "fix create with github URL on windows ( #10231 )" ( #10236 )
...
This reverts commit 1820d08d25 .
2024-04-12 20:55:51 -07:00
Ciro Spaciari
4627af5893
fix(stream) fix http body-stream sending duplicate data ( #10221 )
...
* some fixes
* cleanup
* more complete test
* fix test + use same server
* opsie
* incremental steps
2024-04-12 19:58:13 -07:00
Dylan Conway
176af5cf58
reachable errors ( #10190 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-12 19:02:45 -07:00
Georgijs
1820d08d25
fix create with github URL on windows ( #10231 )
...
* correctly ignore error on windows to match posix behavior
* replace zig accessat with bun.sys.existsAt
* fix posix build
2024-04-12 17:12:44 -07:00
Georgijs
472bd6c7de
Allow fs.close with no callback ( #10229 )
...
* allow fs.close to only take one argument
* add test
* fix tests on windows
2024-04-12 17:11:58 -07:00
Georgijs Vilums
d785d30eaf
return correct error code on overlong paths
2024-04-12 15:52:06 -07:00
Georgijs
22d6227a3a
fix wrong truncation on fs.writeFileSync with fd argument ( #10225 )
...
* fix wrong truncate
* close fd in test
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-12 13:02:24 -07:00
Meghan Denny
70023bc4ed
linter: ergonomics and new rules ( #10197 )
...
* linter: allow a trailing field
* linter: dont fail if no matches are found
* lint: only import 'bun' once
* lint: ban std.mem.indexOfAny
* linter: ignore commented out code and ignore benchmarks
* this was testing nothing
* lint: ban std.debug.print
* this wasnt testing anything either
2024-04-11 22:26:23 -07:00
Jarred Sumner
19da72fe34
Truncate failing output in internal test runner
2024-04-11 21:30:07 -07:00
Meghan Denny
7d673dd7d8
node:child_process: fix propagation of windowsHide and windowsVerbatimArguments option ( #10193 )
2024-04-11 20:24:47 -07:00
Meghan Denny
ca98138936
add 'build:windows' package.json script for easier local dev ( #10194 )
2024-04-11 20:24:03 -07:00
Jarred Sumner
d00b5b94ea
Make receiving data over TCP faster on Windows ( #10191 )
2024-04-11 20:10:09 -07:00
Georgijs
ff5ef512c7
correctly handle --cwd flag ( #10187 )
...
* actually change cwd on posix
* add test
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-11 19:22:29 -07:00
Georgijs
545cb546cc
feat(cli): --filter flag ( #8185 )
...
* Skeleton code for `bun run --workspace`
* Update run_command.zig
* implement directory traversal to find workspace root
* finish --workspace implementation
* clean up changes in run_command.zig
* add workspace tests, update harness to handle nested dirs
* [autofix.ci] apply automated fixes
* basic filtering
* [autofix.ci] apply automated fixes
* working filter without patterns
* update tests, filter mostly working
* simplify package name parsing, commit tests
* support filter even without workspace setup
* move filter arg handling to separate source file
* use bun.sys.chdir, match root package for scripts
* fix exit code handling
* ignore node_modules and directories starting with . in --filter
* progress converting --filter to use iterators
* convert filtering to use iterators
* cleanup
* implement DirEntry access method for glob (currently crashing)
* cleanup and fixes
* run js files in subprocess when filter flag passed
* clean up dead code
* fix fd leak in run_command.zig
* [autofix.ci] apply automated fixes
* fix issues after merge
* use posix-spawn in runBinary, fix resource PATH variable resource leak
* move filter argument to runtime category
* fix test harness
* add js and binary tests to filter-workspace
* [autofix.ci] apply automated fixes
* fix compile after merge
* [autofix.ci] apply automated fixes
* clean up filter-workspace test
* [autofix.ci] apply automated fixes
* fixes to running binaries
* fix actually setting cwd_override
* windows fixes
* address some review comments
* handle malformed JSON
* add various tests
* [autofix.ci] apply automated fixes
* update docs for filter
* [autofix.ci] apply automated fixes
* reset tinycc commit
* filtered run prototype
* make pretty
* implement abort handler (not working)
* make prettier
* prep for windows
* windows path and printing fixes
* implement log-style output (not tui)
* fix issues when logging to file
* revert a bunch of unecessary changes
* cleanup
* implement dependency order execution
* detect circular dependencies, fix cancel hang
* Fix `$PATH`
* ignore dep order on loop, stream on linux, sort pkgs
* support pre and post scripts
* add more filter tests, print elapsed time
* enable 'bun --filter' without run
* fix harness after merge
* [autofix.ci] apply automated fixes
* print number of scripts we're waiting for
* update docs, fix windows build
* fix tests on windows
* [autofix.ci] apply automated fixes
* fix uninitialized memory
* use terminal synchronized update sequences
* Add skip list
* Preallocate
* Use current bun in tests
---------
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>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-11 19:06:50 -07:00
Jarred Sumner
688844b472
refactor: ban std.debug.assert ( #10168 )
...
* Ban `std.debug.assert`
* Create .clangd
* Update lint.yml
* Update linter.ts
* update
* lint
* Update linter.ts
* Update linter.ts
* update
* Update linter.ts
* update
* Update linter.ts
* more
* Update install.zig
* words
* Remove UB
2024-04-11 17:52:29 -07:00
Georgijs
0f10d4f1be
correctly ignore error on windows to match posix behavior ( #10186 )
2024-04-11 15:10:52 -07:00
Georgijs
c2ac5d4d18
fix example in bun add help text ( #10185 )
2024-04-11 15:10:33 -07:00
David Ferguson
edeb75a84a
Reference .exists() in File-IO Docs ( #9957 )
...
* add mention of .exists()
* show that the exists method returns a promise in the docs
* remove unnecessary white space
* update type ref to show that exists returns a promise
2024-04-11 13:24:49 -07:00
Dale Seo
57208cb02e
fix typos ( #10131 )
2024-04-10 12:32:47 -07:00
Evan Shortiss
5b4b6931c4
docs: add guide for neon serverless postgres driver ( #10126 )
2024-04-10 05:25:27 -07:00
Jarred Sumner
257f4c1b3e
Bump zig std lib
2024-04-10 05:21:05 -07:00
Jarred Sumner
459bcdc5ac
Concurrent uninstalls ( #10111 )
...
* Concurrent uninstalls
* Try disabling concurrency
* Get `rm` tests to pass on Windows
* Fix more things
* Undisable concurrency
* handle error
* Deflake
* [autofix.ci] apply automated fixes
* Undo
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-10 05:09:14 -07:00
Jarred Sumner
f5c8914c8a
Re-sync URL from WebKit + set ERR_MISSING_ARGS ( #10129 )
...
* Update URL from WebKit
* Set `ERR_MISSING_ARGS` code on all Error objects from C++
* Fix the `code`
* [autofix.ci] apply automated fixes
* Micro optimize URL
* [autofix.ci] apply automated fixes
* Update url.mjs
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-09 23:21:11 -07:00
Jarred Sumner
1e20f618c9
[bundler] Do not generate sourceContents for non-javascript assets ( #10140 )
2024-04-09 23:18:09 -07:00
Meghan Denny
cd52f42148
windows: fs/promises: fix when writing to file opened in append mode ( #10134 )
...
* windows: fs/promises: fix when writing to file opened in append mode
* add default values since we're using one now
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-09 22:57:10 -07:00
Jarred Sumner
21fc1f7295
Add test for #10132 ( #10136 )
...
* Add test for #10132
* Update 010132.test.ts
* Update 010132.test.ts
2024-04-09 22:51:22 -07:00
Meghan Denny
e209ae81dd
meta: ensure there's a single 'bun' import per file in zig ( #10137 )
...
* meta: ensure there's a single 'bun' import per file in zig
* undo this change in codegen
2024-04-09 22:41:07 -07:00
Meghan Denny
698d0f7c87
fix vscode json handling in prettier ( #10133 )
2024-04-09 20:42:42 -07:00
Zack Radisic
baf0d7c40f
shell: Fix escaped newlines and add more tests ( #10122 )
...
* Fix multiline args and add more tests
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-09 17:25:10 -07:00
Dale Seo
81d021794e
stdout and sterr are in err ( #10130 )
2024-04-09 16:42:23 -07:00
John-David Dalton
769d7a1680
fix: null is not an object at readableStreamCancel ( #10091 )
...
* fix: null is not an object at readableStreamCancel
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-09 14:02:23 -07:00
Jarred Sumner
df49a5a8e4
Upgrade AbortSignal & AbortController to latest from WebKit ( #10106 )
...
Fixes https://github.com/oven-sh/bun/issues/9977
Closes https://github.com/oven-sh/bun/pull/10086
Thank you @lithdew for investigating and most of the fixes. This adds more of the changes we missed from WebKit into Bun like the ability to follow other signals
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
2024-04-09 00:49:13 -07:00
Meghan Denny
0dc0919119
vscode: dont hide submodules from file tree ( #10104 )
2024-04-08 23:54:53 -07:00
Meghan Denny
e30a848c4c
vscode/settings: force prettier to use workspace config file
2024-04-08 19:02:40 -07:00
Dylan Conway
c739c4adeb
unset ENABLE_VIRTUAL_TERMINAL_INPUT ( #10089 )
2024-04-08 18:19:52 -07:00
Grigory
00933d597a
docs(contributing): add link to guide for windows ( #10095 )
...
* docs(contributing): add link to guide for windows
* fix broken link
---------
Co-authored-by: dave caruso <me@paperdave.net >
2024-04-08 15:43:40 -07:00
Jarred Sumner
5baa2fbb87
Use a different cache dir in each test file
2024-04-08 07:39:21 -07:00
Jarred Sumner
2615dc742e
Partial fix for #10028 ( #10030 )
...
* Partial fix for #10028
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-08 07:32:43 -07:00
Jarred Sumner
a4e8534779
Use a separate cache dir for this test
2024-04-08 07:31:05 -07:00
Jarred Sumner
9380e99e2b
Fixes #9952 ( #10069 )
...
* Fixes #9952
* Update CMakeLists.txt
* Update CMakeLists.txt
* linux
* isolate this test
2024-04-08 07:27:07 -07:00
Yoav Balasiano
9898e0a731
Improve bun shell docs examples ( #10052 )
2024-04-08 06:48:21 -07:00
Juan Pablo Rinaldi
ad6aadf7b2
Fix coverage documentation ( #10059 )
2024-04-08 06:47:43 -07:00
Jarred Sumner
ee05bae2be
Make bun install 60% faster on Windows, improve reliability, reduce memory usage ( #10037 )
...
* [bundows] Make bun install 60% faster
* [autofix.ci] apply automated fixes
* Do not keep node_modules folder open between async tasks. Make sure we call runTasks on every event loop wakeup.
* Update install.zig
* Fix deadlock
* Make that deadlock impossible
* a little less repetitive
* Fix test failure with local tarball
* Get those tests to pass
* Normalize absolutely
* lets see how many times we call GetFinalPathNameByHandle
* Workaround https://github.com/ziglang/zig/issues/19586
https://github.com/ziglang/zig/issues/19586
* Is the dev-server-100 test failure a hash table collision?
* Give it its own cache dir
* We cannot change the git task ids
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-08 06:25:24 -07:00
Jarred Sumner
d615c11a57
Force non-zero exit code whenever bun install has any packages which failed to install ( #10041 )
...
* If any failed to install, always exit with non-zero
* [autofix.ci] apply automated fixes
* This test should fail
* Update bun-link.test.ts
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-07 16:12:16 -07:00
Jarred Sumner
3679f69b70
Disable assertion on Windows
2024-04-06 15:19:52 -07:00
Tomer Horowitz
0b0bf353fa
docs: Updated Bun.nanoseconds documentation ( #9986 )
2024-04-06 02:47:47 -07:00
Giorgio Bellisario
c4847f464e
fix typo: missing "v" prefix on installed Bun version ( #9941 )
2024-04-05 19:17:32 -07:00
Jarred Sumner
c8d072c2a9
Fixes #9978 ( #9995 )
2024-04-05 17:42:34 -07:00
dave caruso
f014f35531
fix(windows): use bun.spawnSync for bun upgrade + different check for bun ( #10006 )
...
* small changes
* [autofix.ci] apply automated fixes
* fxifsdahjfkdsahjk
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-05 17:30:32 -07:00
Meghan Denny
fd3cd05647
shell: more builtin commands ( #9908 )
...
* remove asString and improve fromString
* make writeNoIO return Maybe
* shell: add builtin command 'yes'
* shell: add builtin command 'seq'
* shell: yes+seq: fix usage string
* shell: add builtin command 'dirname'
* shell: add builtin command 'basename'
* add more tests
* update shell docs with list of commands
* add 'bun exec' launch configurations
* fix AsyncDeinitReader name
* fix 'yes' command IO
* shell: rewrite 'bun' to 'bun-debug' when self is bun-debug
* make the docs not lie about bun being a shell builtin
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-05 16:29:50 -07:00
Jarred Sumner
20085d8ddc
Merge conflict fix
2024-04-05 15:41:45 -07:00
Jarred Sumner
5735feac5d
Redo file watcher + Fix EBUSY when saving lockfile on Windows ( #9972 )
...
* Fix `EBUSY` when saving lockfile on Windows
* Redo file watcher wrapper on Windows
* Update lockfile.zig
* Update win_watcher.zig
* Update src/bun.js/node/node_fs.zig
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
* Add retry logic
* Comments
* more careful
* smaller
* Fix garbage
* Normalize the paths
* hmmm
* [autofix.ci] apply automated fixes
* try
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-05 15:40:05 -07:00
dave caruso
4ba993be7e
fix(install.ps1): change cpu check ( #9921 )
2024-04-05 15:35:46 -07:00
sitiom
0b2bb1fdc1
docs: add scoop installation method ( #9818 )
...
* docs: add scoop installation method
* Update installation.md
* Add upgrade and uninstall instructions
* Update installation.md
* add ps prompt to code blocks
---------
Co-authored-by: dave caruso <me@paperdave.net >
2024-04-05 14:55:19 -07:00
Dylan Conway
b29cf75a24
fix(install): allow installing without lockfile with --production ( #9923 )
...
* check for not_found lockfile load result
* Fix tests
* update tests
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-05 14:54:57 -07:00
Eric L. Goldstein
05fb044577
Add types for node:util styleText() ( #9945 )
2024-04-05 13:31:50 -07:00
Jarred Sumner
8825b29529
bump webkit ( #9997 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-05 12:09:27 -07:00
Dylan Conway
182b90896f
fix(parser): handle empty type parameters and conditional union/intersection bugfix ( #9964 )
...
* tests
* allow_empty_type_parameters
* pass options through unions and intersections
2024-04-05 00:45:43 -07:00
Zack Radisic
40e33da4b4
Fixes ( #9940 )
2024-04-04 19:46:53 -07:00
Jarred Sumner
f393f8a065
bun install launch.json
2024-04-04 19:31:10 -07:00
Jarred Sumner
a09c421f2a
```sh-diff doesn't work
2024-04-04 08:48:51 -07:00
Jarred Sumner
ca1dbb4eb2
Revert "remove ENABLE_VIRTUAL_TERMINAL_INPUT ( #9913 )" ( #9935 )
...
This reverts commit 06ec233ebe .
2024-04-04 07:34:33 -07:00
Jarred Sumner
8a3b6f0439
Fixes #6730 ( #9930 )
...
* Fixes #6730
* Fix test
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-04 07:26:53 -07:00
Jarred Sumner
e7d8abb263
Don't recommend something that doesn't work on windows
2024-04-04 04:51:53 -07:00
Dylan Conway
013bc79f62
ignore EndOfStream error ( #9926 )
2024-04-04 04:31:47 -07:00
Jarred Sumner
8326235ecc
Ask for fewer permissions when opening directories ( #9928 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-04 04:18:15 -07:00
Jarred Sumner
7543bf936a
Add missing HasStaticPropertyTable structure flag
2024-04-04 01:36:18 -07:00
Dylan Conway
06ec233ebe
remove ENABLE_VIRTUAL_TERMINAL_INPUT ( #9913 )
2024-04-04 00:30:20 -07:00
dave caruso
0cdad4bebb
fix(bun-release): support windows in npm package ( #9873 )
...
* fix npm install on windows
* try again
* again
* copy less file
* revert changes
* remove package.json from git
* okay
* now?
2024-04-03 23:16:48 -07:00
Ashcon Partovi
14c23cc429
Define BUN_INSTALL_BIN in Dockerfiles
...
Fixes #8753
2024-04-04 13:24:53 +09:00
Ashcon Partovi
0dfbdc711a
Remove python3 from slim and alpine Dockerfiles to match Node.js
2024-04-04 13:22:41 +09:00
Ashcon Partovi
3cde2365ea
Do not format Dockerfiles
2024-04-04 13:22:11 +09:00
dave caruso
3cfb2816ac
docs
2024-04-03 21:11:15 -07:00
Jarred Sumner
c8f5c9f29c
Fixes #9851 ( #9886 )
...
* Fixes #9851
* Fix
* Fix
2024-04-03 21:02:02 -07:00
Jarred Sumner
00f27fbeec
Get bunx tests to pass on Windows ( #9729 )
...
* Get bunx tests to pass on Windows
* wip
* WIP
* wip
* wip
* ads
* asdf
* makeOpenPath
* almost revert
* fix build
* enoent
* fix bun install git repos
* cleanup
* use custom zig stdlib from submodule
* update dockerfile to copy zig stdlib sources
* fix dockerfile, update gitmodules
* fix dockerfile
* fix build
* fix build
* fix symlinkat
* fix build
* fix build
* Remove usages of unreachable
* Fixup
* Fixup
* wip
* fixup
* Fix one of the bugs
* asd
* Normalize BUN_INSTALL_CACHE_DIR var
* Set iterable to false when we're about to delete
* Update bun.zig
* I still can't repro this outside CI
* i think that fixes it?
* fix posix compile
* factor out directory creation
* update all install methods to use InstallDirState
* move walker creation to init function
* fix error cleanup
* fix posix compile
* all install tests pass locally
* cleanup
* [autofix.ci] apply automated fixes
* Fix posix regressions
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
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-04-03 20:53:28 -07:00
Jarred Sumner
76795af695
Fixes https://github.com/oven-sh/bun/issues/9807 ( #9875 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-03 20:27:50 -07:00
Zack Radisic
a4b151962a
feat: Support subshells in Bun shell ( #9905 )
...
* fix #9823
* subshell
* Refactor a bit and add a lot of tests
* delete random code
* make tests pass on windows
* Cleanup
* add sharp test
* Resolve comments
---------
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-03 20:27:20 -07:00
Ciro Spaciari
1cde9bcdac
fix(server) fix body-stream ( #9898 )
...
* some fixes
* WIP
* wip wip
* more debug
* closer
* sending a really big payload at once is still broken
* now we need to avoid segfault happening inside onWritable after destroy
* opsie
* cleanup
* more cleanup
* more WIP, closer need to fix cork
* fix cork actually not writing non-optional data
* make onWritable return actually do something
* actually clean the on writable handler
* remove unreachable condition
* we are not looping anymore
* little revert
* fix possible fault
* inform backpressure on chunked encoding
* just queue when tryEnd
* remove unreachable code
2024-04-03 20:25:05 -07:00
Eric L. Goldstein
0bd7265e8f
Remove documentation references to environment variable inlining because the bundler does not do so ( #9901 )
2024-04-03 18:14:20 -07:00
Dylan Conway
c831dd8db8
Upgrade webkit ( #9885 )
...
* span
* remove JSStringIsEqualToString
* bump webkit tag
* span literal
* undo
* fix windows build
* Update JSStringDecoder.cpp
* Update JSStringDecoder.cpp
* Update JSStringDecoder.cpp
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-03 17:10:39 -07:00
Jarred Sumner
390441327f
Fixes #9778 ( #9834 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-03 02:47:31 -07:00
Jarred Sumner
2e0e9f135b
Fixes #9878 ( #9883 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-03 02:47:13 -07:00
Jarred Sumner
36f1bd3694
Truncate source lines in error messages ( #9832 )
...
* Truncate source lines in error messages
* Update .prettierignore
* trim
* fix
* try
* fix
* 1 more time
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-03 02:46:10 -07:00
Ciro Spaciari
289d23b377
fix(uws) uWS uintmax_t > uint64_t ( #9866 )
...
* wip check this on Posix, probably better to used fixed types on uWS instead of uintmax_t here
* uintmax_t > u64
2024-04-03 01:57:33 -07:00
Meghan Denny
bb483e8479
shell: implement $0, $1, argv accessors ( #9740 )
...
* shell: organize imports
* shell: dont allocate when printing errors
* shell: implement $0, $1, argv accessors
* add more tests
* oops need this commit too
* make these logs listen to silencing logs
* expand switch else statements
* align behavior with bash
* this isnt referenced anywhere
* add missing test file
* add another test
* revert this change
* cache utf8 converted version of positionals
* rebase fixes
---------
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
2024-04-02 23:07:27 -07:00
Meghan Denny
268f13765c
ci: windows: use bun install ( #9730 )
...
* ci: windows: use bun install
* run the workflow
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-02 17:57:44 -07:00
Georgijs Vilums
801e475c72
update readme again
2024-04-01 09:37:48 -07:00
Georgijs Vilums
a073c85fdb
update readme to include windows install command
2024-04-01 09:35:03 -07:00
dave caruso
8cb9f59753
update installation docs
2024-04-01 09:30:47 -07:00
dave caruso
5903a61410
Bun 1.1
2024-04-01 08:57:05 -07:00
dave caruso
b4941cdb0c
not canary
2024-04-01 08:55:21 -07:00
Jarred Sumner
58417217d6
Tweak cleanup code in PipeReader for files ( #9746 )
...
* WIP: some fixes and improvements
* cleanup
* WIP: some fixes and improvements
* cleanup
* dont pause
---------
Co-authored-by: cirospaciari <ciro.spaciari@gmail.com >
2024-04-01 08:53:39 -07:00
Jarred Sumner
2d57f25637
Bump
2024-04-01 08:52:24 -07:00
cirospaciari
83a99bf190
revert
2024-04-01 12:14:47 -03:00
cirospaciari
e2ffa66bf7
dont pause
2024-04-01 12:12:44 -03:00
Meghan Denny
8980dc026d
shell: fix crash in 'ls' and other misc improvements ( #9772 )
...
* shell: ls: fix crash when passing argument
* shell: pwd: output was missing newline
* shell: exit: output was missing newline
* shell: pwd: make sure output goes to proper stdout/stderr
* add test ensuring all those work
* fix build error
* fix
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-04-01 07:54:42 -07:00
Jarred Sumner
4192728592
fix build ( #9773 )
...
Co-authored-by: cirospaciari <ciro.spaciari@gmail.com >
2024-04-01 07:11:02 -07:00
Meghan Denny
bdfbcb1898
use bun shell for lifecycle scripts on windows [v3] ( #9771 )
...
* these comments were redundant
* better windows support here
* slightly better error message
* didnt realize this variable already existed
* fix node-gyp shim script
* move 'windows bin linking shim should work' to its own file
* run all lifecycle scripts on windows with bun shell
* tidy
* clean imports
* this seemed missing
* remove these comments
* fix the shim again
* fix posix release ensureTempNodeGypScript
* revert this change, it was correct before
2024-04-01 06:48:44 -07:00
Dylan Conway
6e07f9477c
fix(streams): don't lose bytes on drain ( #9768 )
...
* fix
* clear
* update
* test
* fix test
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-01 05:23:47 -07:00
dave caruso
2dd2fc6ed0
install script
2024-04-01 04:02:26 -07:00
dave caruso
9e6e8b0234
feat(runtime): align import.meta.resolve with node.js's implementation ( #5827 )
...
* works
* works
* a
* fix zig compiler error
* fix things
* [autofix.ci] apply automated fixes
* a
* not done
* finish this
* [autofix.ci] apply automated fixes
* self check
* delete committed generated file (#9717 )
* Fix bug with PipeWriter (#9714 )
* fix!: do not lookup cwd in which (#9691 )
* do not lookup cwd in which
* fix webkit submodule
* fix compilation on linux
* feedback
* default process.env.NODE_ENV to undefined (#9695 )
* small changes
* [autofix.ci] apply automated fixes
* fix(windows) fix node-stream tests/ windows file reader/writer (#9718 )
* fix canceled onFileRead
* report continue errors and fix closing
* also fix pipe writer
* avoid possible memory leaks
* Propagate errors in open
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* posix failures
* windows fixes
* avoid using c++ labels
* add a resolver
* fix compile test AGAIN
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-04-01 02:21:34 -07:00
Zack Radisic
d53e6d6323
feat: Shell if-else, conditional expressions, running commands in background ( #9631 )
...
* rename conditional -> binary
* Parse if clauses
* `if` works
* Conditional expressions
* Support If clause condition and branches multi-statements
* cond expr tests
* more
* Fix parse tests
* `&` commands
* clean up
* Make it compile for windows
* Fix test
* Remove If/Else/Elif/Then/Fi tokens
* Fix parsing ambiguities
* Resolve some comments
* More tests fix bugs
* Fix parsing and add more tests ported from GNU bash
* Fix `&`on left side of `&&` error message
* leak test fix hopefully
* todo some tests because `wait` is not implemented
* Disable background commands for now
* Resolve additional comments
* Fix merge conflicts
* Fix broken tests from merge
* Add `==` and `!=` and fix parsing bug
* wow
* fix 09401 test failing... forgot to update `this.inlined.len`
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-01 02:07:52 -07:00
Ashcon Partovi
1edacc6e49
Prepare npm i -g bun for Windows
2024-04-01 18:00:16 +09:00
dave caruso
81badbac4c
fix(ipc): add json ipc type + buffer incoming messages until a listener is attached. ( #8733 )
...
* fix a few ipc issues
* a
* my own revisions
* remove none as a valid type
* a
* fix windows build
* remove comment
* make it work !!!!!!!!
* a
* formatter nonsense
* blah
* huge update refactor
* awa
* wow
* okay
2024-04-01 01:51:15 -07:00
Zack Radisic
7531bfbfe0
add bun exec ( #9762 )
...
* add `bun exec`
* Add tests for writing a lot of data for bun exec
* Resolve some comments
* fix on windows
2024-04-01 00:57:19 -07:00
Georgijs
1a989c9ad2
ref tls socket on upgrade ( #9766 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-03-31 21:32:25 -07:00
Chawye Hsu
ab7825cca5
windows: fix bun pm bin -g path not added complaining ( #9763 )
...
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com >
2024-03-31 17:55:36 -07:00
dave caruso
f02752577b
fix: which should use cwd if given a relative filepath ( #9761 )
...
* Revert "fix!: do not lookup cwd in which (#9691 )"
This reverts commit 4869ebff24 .
* fix which implementation to be more accurate
* t
* which tests windows
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-31 16:50:16 -07:00
dave caruso
c177e054f5
feat!: shell will now throw on error by default ( #9720 )
...
* make the shell throw by default
* make shell default to throws(true)
* ok
* mv tests
* a
* a
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-31 16:13:59 -07:00
dave caruso
a01b01ae72
chore!: enable 1.1's breaking changes ( #9724 )
...
* root scripts in foreground
* ignore if silent
* test for breaking changes
* move back to installPackages
* [autofix.ci] apply automated fixes
* boolean variable, comptime, 1_1_0
* flip the 1.1 flag
* add for the next batch of breakings
* make it buidl
* enable breaking changes tests
* fix version fmt
* silent node-gyp
* comment change
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-03-31 16:12:59 -07:00
dave caruso
456a32344e
windows: skip cleaning up old binary ( #9696 )
2024-03-31 16:12:21 -07:00
Jarred Sumner
6164fac256
Revert "pipe.signal.ptr == subprocess.stdin, not subprocess"
...
This reverts commit 4bbcc39d2f .
2024-03-30 22:55:28 -07:00
Jarred Sumner
4bbcc39d2f
pipe.signal.ptr == subprocess.stdin, not subprocess
2024-03-30 22:10:26 -07:00
Meghan Denny
62c8c97e24
add test.todoIf and fix bun-install-registry.test.ts on windows ( #9723 )
...
* bun:test: implement test.todoIf and describe.todoIf
* fix bun-install-registry.test.ts and mark some as todo
* add even more tests
* remove todoIf from this file
* [autofix.ci] apply automated fixes
* fix regression
* this extra expect was incorrect
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-30 21:25:05 -07:00
Jarred Sumner
eb708d34ae
Fixes #9748 ( #9751 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-30 21:23:34 -07:00
Jarred Sumner
c3ba60eef5
Fixes #9739 ( #9752 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-30 20:57:40 -07:00
Meghan Denny
7f71f10ad1
import-meta.test.js: isolate the query param test into separate cases for esm and cjs ( #9750 )
...
* import-meta.test.js: isolate the query param test into separate cases for esm and cos
* make name more accurate
2024-03-30 20:09:01 -07:00
Jarred Sumner
9939049b85
Fixes #5319 ( #9745 )
...
* Fixes #5319
* Make this test better
* another test
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-30 20:08:34 -07:00
Meghan Denny
a5c5b5dc61
console-iterator.test.ts: add a case that only uses latin1 characters ( #9749 )
2024-03-30 18:16:10 -07:00
Ciro Spaciari
a2835ef098
fix(websockets) fix socket/websockets ( #9645 )
...
* repro
* cleanup
* avoid shutdownRead on SSL
* still dont fix
* more
* some ssl
* cleanup
* handle shutdown
* make actually pass the tests
* fix STATUS_STACK_BUFFER_OVERRUN?
* revert some, cleanup fetch.tls.test
* make clear why we need on_handshake when closing
* more
* revert
* cleanup
* cleanup + less Bun.gc
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-30 16:32:19 -07:00
Jarred Sumner
31c4c59740
Make duplicate simultaneous bun install work better ( #9738 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-30 14:06:37 -07:00
Jarred Sumner
0248e3c2b7
Add NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT=1 ( #9742 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-30 14:03:52 -07:00
Jarred Sumner
d869fcee21
Fixes #7896 ( #9712 )
...
* Fixes #7896
* Update ws.test.ts
* Delete the old one
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-30 04:27:00 -07:00
dave caruso
55f8ae5aea
feat(windows): properly implement setRawMode ( #9734 )
...
* setRawMode rewrite for Windows
* work on posix using old approach
* [autofix.ci] apply automated fixes
* no print
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-30 04:06:23 -07:00
Meghan Denny
e414d107e6
ci: windows: show all failing files ( #9736 )
...
* ci: windows: show all failing files
* fix workflow variables
* fix workflow v2
2024-03-30 02:00:24 -07:00
Meghan Denny
0103e2df73
windows: pass bunshell.test.ts ( #9733 )
2024-03-30 01:58:28 -07:00
Jarred Sumner
02ad501f9e
Add missing globs
2024-03-29 23:40:13 -07:00
saklani
d433a1ada0
fix: Define missing crypto.constants defined on Node ( #9511 )
...
* define crypto.constants
* requested changes
* fix: missing jsNumber wrap
---------
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-03-29 21:53:52 -07:00
dave caruso
d712254128
internal: remove secret hidden internals and introduce new way to call native code from js ( #8166 )
...
* oooooh magic
* stuff
* run format
* ok
* yippee
* run the formatter back
* finish things up
* fix webkit
* more
* [autofix.ci] apply automated fixes
* fix compile
* fix compilation on windows, it seems to not work though :(
* update
* a
* v
* ok
* [autofix.ci] apply automated fixes
* OOPS
* bump bun to reduce ci bugs
* a
* js2native is done!
* improve array binding
* rebase
* some final stuff
* wasi fixes
* os
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-29 21:47:11 -07:00
Meghan Denny
a500c69728
shell: implement 'true' and 'false' builtin commands ( #9728 )
2024-03-29 21:36:13 -07:00
Dylan Conway
d30b53591f
fix(napi): fix finalizer callback ( #9732 )
...
* fix finalize callback
* fix test
2024-03-29 21:33:48 -07:00
Meghan Denny
b8389f32ce
shell: add 'exit' builtin command ( #9705 )
...
* shell: add 'exit' builtin command
* remove loop here
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-29 18:20:44 -07:00
Dylan Conway
7172013a72
fix(windows): use extended max path prefix for hardlinks during install ( #9721 )
...
* uncomment code
* use GetFinalPathNameByHandleW
* add packages with large names
* delete
* test large package name
2024-03-29 18:13:39 -07:00
Jarred Sumner
8ff7ee03d2
stdio tweaks ( #9726 )
2024-03-29 18:11:47 -07:00
dave caruso
5296c26dab
fix bunx-bins verdaccio package ( #9697 )
...
* fix bunx-bins verdaccio package
* env suck
* [autofix.ci] apply automated fixes
* ugh
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-29 17:55:06 -07:00
Jarred Sumner
da6826e2b7
Unmark known failing
2024-03-29 17:49:29 -07:00
Jarred Sumner
a637b4c880
Unmark known failing
2024-03-29 17:49:03 -07:00
Ciro Spaciari
d9074dfa5d
fix(windows) fix node-stream tests/ windows file reader/writer ( #9718 )
...
* fix canceled onFileRead
* report continue errors and fix closing
* also fix pipe writer
* avoid possible memory leaks
* Propagate errors in open
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-29 16:58:55 -07:00
dave caruso
ba9834d746
default process.env.NODE_ENV to undefined ( #9695 )
2024-03-29 16:42:50 -07:00
dave caruso
4869ebff24
fix!: do not lookup cwd in which ( #9691 )
...
* do not lookup cwd in which
* fix webkit submodule
* fix compilation on linux
* feedback
2024-03-29 16:42:17 -07:00
Jarred Sumner
a9804a3a11
Fix bug with PipeWriter ( #9714 )
2024-03-29 16:11:24 -07:00
Meghan Denny
6bedc23992
delete committed generated file ( #9717 )
2024-03-29 15:53:11 -07:00
dave caruso
093e9c2499
ci: does this fix the windows build ( #9715 )
...
* does this fix the windows build
* [autofix.ci] apply automated fixes
* a
* enable tar oop
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-29 15:20:13 -07:00
dave caruso
3047c9005e
fix: add a better error message for fetch when it fails with an unknown code ( #9663 )
...
* add a better error message for fetch when it fails with an unknown code
* Update src/bun.js/webcore/response.zig
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* [autofix.ci] apply automated fixes
* fix compilation
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-29 14:18:11 -07:00
Jarred Sumner
e80e61c9a3
Allow 0-length ArrayBuffer & Blob in Bun.spawn stdio ( #9557 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-03-29 13:51:45 -07:00
Meghan Denny
e3bf906127
memoize all calls to selfExePath ( #9703 )
...
* memoize all calls to selfExePath
* Fix threadsafety issue
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-29 13:29:42 -07:00
Walter
4e7ed173ef
fix!: remove worker from default conditions ( #9256 )
...
Co-authored-by: Walter Blacke <walter.blacke@vegabyte.studio >
2024-03-29 13:22:42 -07:00
Jarred Sumner
31befad163
Workaround for #9041 ( #9580 )
...
* Workaround for #9041
* Fix crash with auto install
* Fixup this test
* Update 09041.test.ts
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-29 13:17:12 -07:00
Meghan Denny
94b01b2f45
test: pm: don't delete temporary directories ( #9649 )
2024-03-29 12:29:50 -07:00
PondWader
9ecb691380
Fix URL.canParse.length ( #9710 )
...
* Fix URL.canParse.length
* Add URL.canParse.length test
---------
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
2024-03-29 12:21:49 -07:00
Meghan Denny
fb8a299765
shell: windows: make EnvMap case-insensitive ( #9704 )
...
* shell: windows: make EnvMap case-insensitive
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-29 12:21:09 -07:00