jhmaster2000
aa606b23df
polyfills: fix which options.cwd handling
2023-12-08 15:46:29 -03:00
jhmaster2000
6f01ddc38d
polyfills: fix unsafe.arrayBufferToString
2023-12-08 15:31:40 -03:00
jhmaster2000
b63fc096bf
polyfills: sleep/Sync fix
2023-12-08 06:16:50 -03:00
jhmaster2000
93b32aef29
polyfills: impl reportError + spawnSync fix
2023-12-08 06:09:28 -03:00
jhmaster2000
e7019186cd
polyfills: fix FileBlob.exists() + more tests
2023-12-08 04:40:42 -03:00
jhmaster2000
b55994b059
polyfills: test runner adjustments
2023-12-08 03:47:39 -03:00
jhmaster2000
57b5e00e64
polyfills: more spawn/Sync fixes
2023-12-08 03:46:56 -03:00
jhmaster2000
db7cb6fa98
polyfills: fix spawn/Sync stdout/stdin io handling
2023-12-07 19:55:13 -03:00
jhmaster2000
9342cf2080
polyfills: Bun/import.meta resolve(Sync) fixes
2023-12-07 15:44:52 -03:00
jhmaster2000
ce129594a6
polyfills: minor test runner fixes
2023-12-07 14:42:08 -03:00
jhmaster2000
666c13f964
polyfills: refactor FileBlob & Bun.write
2023-12-07 14:41:32 -03:00
jhmaster2000
71d99f5658
polyfills: stub out gc error in test runner
2023-12-06 18:34:15 -03:00
jhmaster2000
798ca1ff8c
polyfills: 1.0.15 fixes
2023-12-06 18:05:39 -03:00
jhmaster2000
989a670682
bun-polyfills: bun:jsc tweaks
2023-12-02 02:29:54 -03:00
jhmaster2000
62cdc58acf
polyfills: Bun.file fix & --expose-gc
2023-12-02 01:52:41 -03:00
jhmaster2000
7c841d1aa3
polyfills: bun:ffi bugfixes
2023-12-02 01:30:45 -03:00
jhmaster2000
47ee87d7e0
polyfills: fix off-by-2 error lines in test runner
2023-12-01 20:55:50 -03:00
jhmaster2000
9f0faf48db
polyfills: load Bun global into test runner
2023-12-01 19:48:05 -03:00
jhmaster2000
519d53a16b
polyfills: Bun.dns improvements
2023-12-01 19:26:21 -03:00
jhmaster2000
ee72c14957
polyfills: load test fns into global scope (fix*)
2023-12-01 01:13:11 -03:00
jhmaster2000
5062c2bc3a
polyfills: node's --input-type flag is something
2023-12-01 00:19:47 -03:00
jhmaster2000
2d002297ce
polyfills: fix Bun.spawn stdin cleanup
2023-11-30 23:57:10 -03:00
jhmaster2000
19cee77e8b
polyfills: add jest-extended matchers to bun:test
2023-11-30 23:55:46 -03:00
jhmaster2000
fbdbf297e1
polyfills: fix console async iterator
2023-11-30 23:54:51 -03:00
jhmaster2000
3550d4e94c
polyfills: load globals into test runner
2023-11-30 21:27:08 -03:00
jhmaster2000
f82c6013b1
polyfills: bun:sqlite
2023-11-30 21:15:41 -03:00
jhmaster2000
ee14093325
polyfills: bun:test
2023-11-30 20:42:45 -03:00
jhmaster2000
694f679817
polyfills: rework test runner
2023-11-30 20:36:17 -03:00
jhmaster2000
000c0a2109
polyfills: semver & TOML
2023-11-30 12:31:56 -03:00
jhmaster2000
10f4a4e73c
polyfills: full process.versions & build fixes
2023-11-17 18:56:29 -03:00
jhmaster2000
222bfda9cc
temp fix for wasm build (see desc)
...
src/api/schema.zig is an autogen'd file by peechy, it is currently
impossible to generate this correct file with current peechy version
a manually patched peechy was used for this version of the file commited
until peechy is properly updated, please avoid running `make wasm`
otherwise you will break the wasm build compilation
2023-11-17 17:03:27 -03:00
jhmaster2000
6b5f2b3442
Merge branch 'main' into bun-polyfills
2023-11-17 16:45:28 -03:00
DidaS
fbff18a723
fix(types): Change Bun.serve types to allow void when using websockets ( #7160 )
...
* `Response` -> `any`
* Revert previous commit & allow void in ws fetch
* Added type test to check if you can upgrade connection without returning
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-17 05:34:05 -08:00
Olivier Guimbal
6e7014c91b
Fix napi_get_value_string_utf8 to match node ( #7175 )
...
* fix napi_get_value_string_utf8 to match node
closes #6949
* [autofix.ci] apply automated fixes
* Update test/napi/napi.test.ts
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* Update test/napi/napi.test.ts
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* [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 >
2023-11-17 05:27:58 -08:00
Jarred Sumner
711ea1604b
Set umask once ( #7176 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-17 05:08:25 -08:00
Jarred Sumner
538a243453
Bump!
2023-11-17 04:12:08 -08:00
Dylan Conway
8be492c080
fix require transpile ( #7170 )
...
* bounds checks
* do this all the time
cc @paperdave
* use length of string
* ttest
* min
* can't prefix if length isn't at least equal
* substring
* Update pretty_format.zig
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-11-17 04:10:50 -08:00
jhmaster
6c7a0e5a79
node:util core-js compat. fix ( #7101 )
...
* node:util: fix compatibility issue with corejs
2023-11-17 09:10:32 -03:00
Jarred Sumner
f4d14c02c7
Implement process.report.getReport() ( #7171 )
...
* Prevent assertion failure
* Implement process.report.getReport()
* Update process.test.js
* }
* Update BunProcess.cpp
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-17 03:35:35 -08:00
Dylan Conway
3ca2d8ae5e
ensure .bin folder is created before linking binaries ( #7166 )
...
* bin might need to be created after iterating node_modules
* Update bun-install-registry.test.ts
* test this functionality in a few more tests
* fix a test
* another test
* revert
* more test
2023-11-16 23:54:49 -08:00
Jarred Sumner
c23aed993f
Update pull_request_template.md
2023-11-16 23:52:27 -08:00
Jarred Sumner
11e07caaa4
Update pull_request_template.md
2023-11-16 23:52:19 -08:00
Jarred Sumner
e4de49df2a
Update pull_request_template.md
2023-11-16 23:51:28 -08:00
Jarred Sumner
47e1fbe468
Update pull_request_template.md
2023-11-16 23:50:09 -08:00
Jarred Sumner
8353ba7857
Update pull_request_template.md
2023-11-16 23:50:02 -08:00
HK-SHAO
606c80b049
Fix the TypeError of isValidTLSArray for http ( https://github.com/oven-sh/bun/issues/7153 ) ( #7154 )
2023-11-16 23:41:19 -08:00
Jarred Sumner
d1436e3ecc
Support Object.create in Stats within node:fs ( #7168 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-16 23:39:10 -08:00
Jarred Sumner
7e0e007e3e
Fix bug where with statements do not trigger CommonJS ( #7167 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-16 23:37:22 -08:00
Ashcon Partovi
2e74f7f079
Properly handle errors from posix_spawn ( #7163 )
2023-11-16 21:02:13 -08:00
Jarred Sumner
2c81c2a13f
Fix crash due to isEmpty check checking only size and not capacity
2023-11-16 19:37:14 -08:00