dave caruso
53982084a3
Merge remote-tracking branch 'origin/main' into jarred/process-change
2024-03-07 15:23:36 -08:00
dave caruso
3b13f7f998
fix: large bunx changes, mostly for better windows support ( #9143 )
...
* make bun-debug properly override `bun` in path
* windows path
* fix more issues with bunx
* sync
* stuff
* stuff
* f
* stuff
* further work
* a
* [autofix.ci] apply automated fixes
* okay
* fix building on posix systems
* ok
* make it so bun create cant crash + review
* docuemnt why return false is ok
* .
* cache bust
* merge
* yeah
* yea
* Update src/install/install.zig
* review results
* this will probably fix hardlink issue on windwo
* okay
* how did that work before
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-07 14:20:39 -08:00
Jarred Sumner
ee4602b4ca
Merge branch 'main' into jarred/process-change
2024-03-07 13:19:58 -08:00
cirospaciari
3300e9de65
less flaky test
2024-03-07 15:47:51 -03:00
Ashcon Partovi
806dec7a35
fix: child_process.spawn({ timeout }) exiting too early ( #9280 )
2024-03-07 09:36:54 -08:00
Jarred Sumner
f8aceb1e8d
always
2024-03-07 04:59:48 -08:00
Jarred Sumner
76e6141235
Deflake
2024-03-07 13:09:53 +01:00
Jarred Sumner
7367d76105
Update
2024-03-07 12:51:13 +01:00
Meghan Denny
5a8830fdcc
NODE_ENV=test should load .env.test even when .env.production exists ( #9291 )
2024-03-07 03:36:09 -08:00
dave caruso
e8374ebd82
feat: implement util.styleText ( #9287 )
...
* feat: implement util.styleText
* i forgot to test
2024-03-07 03:20:08 -08:00
Jarred Sumner
3106aefbd3
Cleanup test
2024-03-07 03:15:14 -08:00
Jarred Sumner
28259ca903
windows
2024-03-07 03:11:05 -08:00
Jarred Sumner
53792f3c05
Skip test on windows
2024-03-07 03:10:43 -08:00
Jarred Sumner
ad13b044cc
Merge and hopefully don't breka things along teh way
2024-03-07 03:07:48 -08:00
Jarred Sumner
73890cb708
Make it bigger
2024-03-07 02:35:32 -08:00
Jarred Sumner
1ef987998c
Make this take less time
2024-03-07 02:35:24 -08:00
Jarred Sumner
d2968eeb80
Parallelize this test
2024-03-07 02:28:06 -08:00
Jarred Sumner
5027877714
Make this test better
2024-03-07 00:58:58 -08:00
Dylan Conway
ea6bf1257a
fix(install): auto node-gyp script bugfix ( #9289 )
...
* preinstall and install
* comment
2024-03-06 23:05:23 -08:00
Jarred Sumner
b2cc1a9039
Fix this test
2024-03-06 21:01:21 -08:00
Jarred Sumner
12ed874f8c
Make this test not hang in development
2024-03-06 21:00:42 -08:00
Jarred Sumner
3e5f6b1a8b
Move this to the harness
2024-03-06 21:00:06 -08:00
Meghan Denny
3f12d71fdd
install: dont crash in debug mode when a semver has a build tag and multiple hyphens in the pre-release tag ( #9288 )
2024-03-06 20:38:49 -08:00
Jarred Sumner
7cd350718e
Update serve.test.ts
2024-03-06 19:49:36 -08:00
Jarred Sumner
e067d99d02
Won't really fix it but slightly cleaner
2024-03-06 19:45:01 -08:00
Jarred Sumner
2236f15890
Make these comparisons easier
2024-03-06 19:45:01 -08:00
Jarred Sumner
2f766197da
Deflake this test
2024-03-06 19:45:01 -08:00
Jarred Sumner
20bb1c2bca
Fix a test
2024-03-06 19:45:01 -08:00
dave caruso
0584306589
fix reading special files
2024-03-06 18:22:24 -08:00
Jarred Sumner
f601c39020
Update child_process.test.ts
2024-03-06 17:42:58 -08:00
Jarred Sumner
2c0e8c99a9
Merge branch 'main' into jarred/process-change
2024-03-06 17:39:48 -08:00
cirospaciari
0f223cb72c
always run expect
2024-03-06 21:42:43 -03:00
Jarred Sumner
f6d5325daa
Support socketPath in node:http request ( #9284 )
...
* Support `socketPath` in node:http request
* fix dashes
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-03-06 15:28:35 -08:00
cirospaciari
ce82aeccc6
oops
2024-03-06 19:43:02 -03:00
cirospaciari
dd50fe5347
cleanup
2024-03-06 19:37:43 -03:00
cirospaciari
b113490a7d
some fixes
2024-03-06 19:36:03 -03:00
Jarred Sumner
a66926243d
Support unix domain sockets in fetch() ( #9097 )
...
* Support unix domain sockets in fetch()
* rename to 'socket' to 'unix', add test
* enable keepalive on unix socket fetch
* make ownership of unix_socket_path clear, refactor http.zig a bit
* [autofix.ci] apply automated fixes
* add fetch unix redirect test, fix crash
* [autofix.ci] apply automated fixes
* fix fetch redirect from unix to non-unix
* disable keepalive for unix sockets (for now) so we don't leak them
* Update test/js/web/fetch/fetch.unix.test.ts
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-03-06 14:12:03 -08:00
Zack Radisic
335c957a4f
initialize env map with capacity
2024-03-06 12:39:03 -06:00
Meghan Denny
8fc08752e5
node:http: emit 'socket' event after calling http.request() ( #9270 )
...
* node:http: emit 'socket' event after calling http.request()
* add reference links for why this is how it is
* add guards to not waste time
* add a regression test
* use test harness port number
2024-03-05 23:01:32 -08:00
Jarred Sumner
09e7aaa17d
Fixups
2024-03-05 22:47:13 -08:00
Jarred Sumner
b9ceca7e30
fixups
2024-03-05 22:47:13 -08:00
Jarred Sumner
b8a2ef88f1
Merge branch 'main' into jarred/process-change
2024-03-05 20:17:53 -08:00
Meghan Denny
bb3295ba84
node:url implement domainToASCII and domainToUnicode ( #9257 )
...
* node:url implement domainToASCII and domainToUnicode
* fix arg checks
* remove unneeded use of WTF::Vector
* tidy
* throw a js error if icu fails
* add a ton more tests, fix ascii guard, upconvert latin1
* even more tests
* add a comment for this guard
* use ASSERT_NOT_REACHED() instead of raise(SIGABRT)
2024-03-05 19:46:38 -08:00
Jarred Sumner
76ed3256cf
Make this test less flaky on windows
2024-03-05 19:24:21 -08:00
Jarred Sumner
4ce5506463
Make this test less flaky on windows
2024-03-05 19:23:47 -08:00
Ashcon Partovi
c837903e4e
Fix new Request("/") not working with node-fetch ( #9246 )
...
* Fix `new Request("/")` not working with `node-fetch`
* Address review
* Address review 2
* Fix bad test
2024-03-05 16:51:52 -08:00
Jarred Sumner
edeeffc74c
Fixes #9263 ( #9266 )
...
* Fixes #9283
* Update URLSearchParams.test.ts
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-05 16:27:33 -08:00
Jarred Sumner
c5f6f26e5b
Don't commit
2024-03-05 15:34:01 -08:00
Jarred Sumner
a9345921df
Make it pass on windows
2024-03-05 15:32:41 -08:00
Jarred Sumner
1c9d2bec1c
Merge branch 'main' into jarred/process-change
2024-03-05 13:54:25 -08:00