Commit Graph

9266 Commits

Author SHA1 Message Date
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
Zack Radisic
335c957a4f initialize env map with capacity 2024-03-06 12:39:03 -06:00
cirospaciari
f280a69c50 make it compile again cc @zackradisic 2024-03-06 15:28:24 -03:00
Zack Radisic
7c7d5f0e16 shell: bring back redirect stdin 2024-03-06 01:39:28 -06:00
Jarred Sumner
746b3f7398 Bring back test concurrency 2024-03-05 22:47:13 -08:00
Jarred Sumner
0eadf40ab4 Add some assertions 2024-03-05 22:47:13 -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
f64b1cf4c8 Print which test is taking awhile in the runner 2024-03-05 19:25:00 -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
fed091f361 Log the test name 2024-03-05 16:36:02 -08:00
Ryan Dsouza
b55e62b634 Update cache.md (#9260)
Specify `bunfig.toml` to make it easy to check where this option needs to be added.
2024-03-05 16:28:08 -08:00
Cameron Haley
2b8fc7a9a8 Running absolute/relative path shouldn't rely on the existence of package.json script (#9265) 2024-03-05 16:27:57 -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
133c8099b4 Make these the same 2024-03-05 14:09:43 -08:00
Jarred Sumner
1c9d2bec1c Merge branch 'main' into jarred/process-change 2024-03-05 13:54:25 -08:00
Jarred Sumner
c37afe0d2c Add assertion 2024-03-05 13:54:07 -08:00
Jarred Sumner
12c257a012 Fix out of bounds memcpy in crypto 2024-03-05 13:52:27 -08:00
Jarred Sumner
a96a744629 Make this test less flaky on Windows 2024-03-05 13:45:28 -08:00
cirospaciari
247d82d51c fix child-process on win32 2024-03-05 17:58:42 -03:00
cirospaciari
d1f799c3d7 fix stdout.write 2024-03-05 17:22:03 -03:00
cirospaciari
e532014602 fix writer.end 2024-03-05 16:06:18 -03:00
Jarred Sumner
9a17dcb196 Disable uv_unref on uv_process_t on Windows, for now. 2024-03-04 23:10:57 -08:00
Jarred Sumner
ef9c800e77 Fix some tests 2024-03-04 23:10:57 -08:00
Jarred Sumner
32310ed702 Fix writer.flush() when there's no data 2024-03-04 23:10:57 -08:00
Jarred Sumner
d69398d3fa Handle edgecase in is_atty 2024-03-04 23:10:56 -08:00
Zack Radisic
719c2f18fb Fix ls not giving non-zero exit code on error 2024-03-04 17:56:28 -08:00
Zack Radisic
f79f0d01b9 move close_handle to flags in PipeWriter and fix shell hanging 2024-03-04 17:47:45 -08:00
Yash Singh
bd2176ffb0 fix: format specifier without characters in between (#9209)
* fix: format specifier without spaces in between, resolves #9208

* chore: test in console-log.test.ts
2024-03-04 17:46:19 -08:00
Jarred Sumner
f47a59b056 again 2024-03-04 17:42:37 -08:00
Jarred Sumner
8fc9f32c7d fix windows ci 2024-03-04 16:59:43 -08:00
Jarred Sumner
3234d522bb Merge branch 'main' into jarred/process-change 2024-03-04 16:49:58 -08:00
ErikOnBike
4f0a497660 Fix lost constructors in Node.js module classes (#9245) 2024-03-04 16:12:22 -08:00
dave caruso
472a0b482d feat: signal handling on windows (#9129)
* start some signal handling

* ok

* work on this from friday

* ok

* ref stuff

* threadsafety

* fix the buikld

* alright

* ok

* fix posix compilation error

* header fix

* revisions

---------

Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Zack Radisic <zack@theradisic.com>
2024-03-04 15:37:08 -08:00
Brook Jeynes [SSW]
fa08ac34c9 Fixes #7767: Updated bun upgrade to return error when used with cmd arguments (#7784)
* Updated `upgrade` to return error when used with cmd arguments
- Updated `upgrade` command to check for command-line arguments and return an error if so providing a suggested `update` command.

* added test

* updated condition to allow

* Upgrade argument check now only checks if all arguments contain `--`
- Added more tests

* Using `cpSync` in the following context results in an "Is a directory" error

* Update message displayed back to user

Co-authored-by: dave caruso <me@paperdave.net>

* moved args check to upgrade_command.zig

* fixed broken tests

* changing string interpolation to join() for paths

* [autofix.ci] apply automated fixes

* Fixed build errors
- Removed call to `std.mem.span`
- Added conditional to only run if there's more than 2 arguments (ignores the exec and `upgrade`)
- Added new test to ensure `upgrade` runs with 0 arguments passed

---------

Co-authored-by: dave caruso <me@paperdave.net>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-04 15:30:20 -08:00
Yash Singh
51466ff1a2 fix: sep state for assertions and hasAssertions (#9210) 2024-03-04 12:01:50 -08:00
cyfung1031
b14c7aa0b5 docs: Correct Incorrect Information (#9214)
`URL.createObjectURL` is not yet implemented.
See https://github.com/oven-sh/bun/issues/3925
2024-03-04 08:27:18 -08:00
cirospaciari
d6ad653aeb fix dns tests to match behavior on windows (same as nodejs) 2024-03-04 11:13:04 -03:00
cirospaciari
c57afe9bfe fix windows kill on subprocess/process 2024-03-04 10:17:51 -03:00
autofix-ci[bot]
3edb6329d9 [autofix.ci] apply automated fixes 2024-03-04 08:28:37 +00:00
Jarred Sumner
24c44c6309 Merge branch 'main' into jarred/process-change 2024-03-04 00:27:27 -08:00
Jarred Sumner
1424a196ff Support "conditions" in Bun.build (#9234)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
bun-v1.0.30
2024-03-03 23:52:24 -08:00